Skip to content

Commit

Permalink
[IMP] account_statement_base: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviedoanhduy committed Nov 20, 2024
1 parent a644726 commit 35e8057
Show file tree
Hide file tree
Showing 2 changed files with 150 additions and 153 deletions.
96 changes: 46 additions & 50 deletions account_statement_base/views/account_bank_statement.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,22 @@
Licence LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0).
-->
<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
<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"
invisible="not problem_description"
>
<field name="problem_description" />
</div>
<sheet>
<div name="button_box" position="inside">
<button
<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"
Expand All @@ -38,62 +37,60 @@
<span class="o_stat_text">Journal Items</span>
</div>
</button>
</div>
<div class="oe_title oe_inline">
<label for="name" />
<h1><field
name="name"
placeholder="e.g. BNK/2021/0001"
/></h1>
</div>
</div>
<div class="oe_title oe_inline">
<label for="name" />
<h1>
<field name="name" placeholder="e.g. BNK/2021/0001" />
</h1>
</div>
<group>
<group>
<group>
<field name="date" />
<field
<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>
<field name="currency_id" invisible="1" />
<field name="journal_id" invisible="1" />
</group>
<field
<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
<group
class="oe_subtotal_footer oe_right"
name="sale_total"
col="1"
>
<field
<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>

</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>
<field name="view_mode">tree,form,pivot,graph</field>
<field name="res_model">account.bank.statement</field>
<field name="view_mode">tree,form,pivot,graph</field>
</record>
<record id="account.action_view_bank_statement_tree" model="ir.actions.act_window">
<field name="view_mode">tree,form,pivot,graph</field>
Expand All @@ -117,5 +114,4 @@
</field>
</field>
</record>

</odoo>
Loading

0 comments on commit 35e8057

Please sign in to comment.