[IMP] account_statement_base: Add statement form view
parent
8e1bda86ff
commit
a820d79d33
|
@ -28,7 +28,11 @@ Bank Statement Base
|
|||
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||
|
||||
This is a technical module that adds the views of the **Bank Statement Lines** (since Odoo 16.0, these views are not part of the *account* module any more).
|
||||
This is a technical module that adds the next views (since Odoo 16.0, these views are not part of the *account* module any more):
|
||||
- **Bank Statement**
|
||||
- **Bank Statement Lines**
|
||||
|
||||
|
||||
|
||||
**Table of contents**
|
||||
|
||||
|
@ -56,7 +60,14 @@ Authors
|
|||
Contributors
|
||||
~~~~~~~~~~~~
|
||||
|
||||
* Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
* `Akretion <https://www.akretion.com>`_:
|
||||
|
||||
* Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
|
||||
* `Tecnativa <https://www.tecnativa.com>`_:
|
||||
|
||||
* Carlos Dauden
|
||||
* Sergio Teruel
|
||||
|
||||
Maintainers
|
||||
~~~~~~~~~~~
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
"website": "https://github.com/OCA/account-reconcile",
|
||||
"depends": ["account"],
|
||||
"data": [
|
||||
"views/account_bank_statement.xml",
|
||||
"views/account_bank_statement_line.xml",
|
||||
"views/account_bank_statement.xml", # Keep order
|
||||
],
|
||||
"installable": True,
|
||||
}
|
||||
|
|
|
@ -1 +1,8 @@
|
|||
* Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
* `Akretion <https://www.akretion.com>`_:
|
||||
|
||||
* Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
|
||||
* `Tecnativa <https://www.tecnativa.com>`_:
|
||||
|
||||
* Carlos Dauden
|
||||
* Sergio Teruel
|
||||
|
|
|
@ -1 +1,5 @@
|
|||
This is a technical module that adds the views of the **Bank Statement Lines** (since Odoo 16.0, these views are not part of the *account* module any more).
|
||||
This is a technical module that adds the next views (since Odoo 16.0, these views are not part of the *account* module any more):
|
||||
- **Bank Statement**
|
||||
- **Bank Statement Lines**
|
||||
|
||||
|
||||
|
|
|
@ -369,7 +369,14 @@ ul.auto-toc {
|
|||
!! source digest: sha256:9a858f447676a3776013f766b07795f4826c669e6834584e8d2a2e031a552d34
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Mature" src="https://img.shields.io/badge/maturity-Mature-brightgreen.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-reconcile/tree/16.0/account_statement_base"><img alt="OCA/account-reconcile" src="https://img.shields.io/badge/github-OCA%2Faccount--reconcile-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-reconcile-16-0/account-reconcile-16-0-account_statement_base"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-reconcile&target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
||||
<p>This is a technical module that adds the views of the <strong>Bank Statement Lines</strong> (since Odoo 16.0, these views are not part of the <em>account</em> module any more).</p>
|
||||
<dl class="docutils">
|
||||
<dt>This is a technical module that adds the next views (since Odoo 16.0, these views are not part of the <em>account</em> module any more):</dt>
|
||||
<dd><ul class="first last simple">
|
||||
<li><strong>Bank Statement</strong></li>
|
||||
<li><strong>Bank Statement Lines</strong></li>
|
||||
</ul>
|
||||
</dd>
|
||||
</dl>
|
||||
<p><strong>Table of contents</strong></p>
|
||||
<div class="contents local topic" id="contents">
|
||||
<ul class="simple">
|
||||
|
@ -401,8 +408,16 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|||
<div class="section" id="contributors">
|
||||
<h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
|
||||
<ul class="simple">
|
||||
<li><a class="reference external" href="https://www.akretion.com">Akretion</a>:<ul>
|
||||
<li>Alexis de Lattre <<a class="reference external" href="mailto:alexis.delattre@akretion.com">alexis.delattre@akretion.com</a>></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a class="reference external" href="https://www.tecnativa.com">Tecnativa</a>:<ul>
|
||||
<li>Carlos Dauden</li>
|
||||
<li>Sergio Teruel</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="maintainers">
|
||||
<h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
|
||||
|
|
|
@ -5,6 +5,81 @@
|
|||
-->
|
||||
<odoo>
|
||||
|
||||
<record id="view_bank_statement_form" model="ir.ui.view">
|
||||
<field name="name">account.bank.statement.form</field>
|
||||
<field name="model">account.bank.statement</field>
|
||||
<field name="priority">1</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Bank Statement">
|
||||
<div
|
||||
class="alert alert-warning"
|
||||
role="alert"
|
||||
attrs="{'invisible': [('problem_description', '=', False)]}"
|
||||
>
|
||||
<field name="problem_description" />
|
||||
</div>
|
||||
<sheet>
|
||||
<div name="button_box" position="inside">
|
||||
<button
|
||||
class="oe_stat_button"
|
||||
type="action"
|
||||
name="%(account_bank_statement_line_action)d"
|
||||
icon="fa-bars"
|
||||
context="{'search_default_statement_id': id}"
|
||||
string="Transactions"
|
||||
/>
|
||||
</div>
|
||||
<div class="oe_title oe_inline">
|
||||
<label for="name" />
|
||||
<h1><field
|
||||
name="name"
|
||||
placeholder="e.g. BNK/2021/0001"
|
||||
/></h1>
|
||||
</div>
|
||||
<group>
|
||||
<group>
|
||||
<field name="date" />
|
||||
<field
|
||||
name='company_id'
|
||||
options="{'no_create': True}"
|
||||
groups="base.group_multi_company"
|
||||
/>
|
||||
<field name="currency_id" invisible="1" />
|
||||
<field name="journal_id" invisible="1" />
|
||||
</group>
|
||||
<group>
|
||||
<label for="balance_start" />
|
||||
<div>
|
||||
<field name="balance_start" class="oe_inline" />
|
||||
</div>
|
||||
<label for="balance_end_real" />
|
||||
<div>
|
||||
<field name="balance_end_real" class="oe_inline" />
|
||||
</div>
|
||||
</group>
|
||||
</group>
|
||||
<field
|
||||
name="line_ids"
|
||||
context="{'default_journal_id': journal_id}"
|
||||
/>
|
||||
<group
|
||||
class="oe_subtotal_footer oe_right"
|
||||
name="sale_total"
|
||||
col="1"
|
||||
>
|
||||
<field
|
||||
name="balance_end"
|
||||
class="oe_subtotal_footer_separator"
|
||||
/>
|
||||
</group>
|
||||
<field name="attachment_ids" widget="many2many_binary" />
|
||||
<div class="oe_clear" />
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
<!-- Add form to view mode. -->
|
||||
<record id="account.action_bank_statement_tree" model="ir.actions.act_window">
|
||||
<field name="res_model">account.bank.statement</field>
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
<field name="model">account.bank.statement.line</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree editable="top" multi_edit="1" decoration-muted="is_reconciled">
|
||||
<field name="sequence" widget="handle" />
|
||||
<field name="sequence" />
|
||||
<field name="date" attrs="{'readonly': [('is_reconciled', '=', True)]}" />
|
||||
<field
|
||||
name="payment_ref"
|
||||
|
@ -133,6 +133,7 @@
|
|||
/>
|
||||
<field name="partner_id" />
|
||||
<field name="date" />
|
||||
<field name="statement_id" />
|
||||
<field name="journal_id" domain="[('type', 'in', ('bank', 'cash'))]" />
|
||||
<field name="amount" />
|
||||
<separator />
|
||||
|
|
Loading…
Reference in New Issue