[13.0][MIG] account_tax_balance

This commit is contained in:
Andrea
2019-09-30 11:57:59 +02:00
committed by Borruso
parent c4a0f593df
commit b8e91371e1
8 changed files with 44 additions and 58 deletions

View File

@@ -12,7 +12,6 @@
<tree string="Account Tax" create="false" delete="false">
<field name="name"/>
<field name="description" string="Short Name"/>
<field name="account_id"/>
<field name="balance_regular" sum="Total"/>
<button type="object" name="view_tax_regular_lines"
string="View tax regular lines" icon="fa-search-plus"/>
@@ -42,14 +41,11 @@
<field name="arch" type="xml">
<search string="Account Tax">
<field name="name"/>
<field name="tag_ids"/>
<field name="description" string="Short Name"/>
<field name="type_tax_use"/>
<field name="account_id"/>
<group expand="0" string="Group By">
<filter name="tax_group" string="Tax Group" domain="[]" context="{'group_by':'tax_group_id'}"/>
<filter name="tax_scope" string="Tax Scope" domain="[]" context="{'group_by':'type_tax_use'}"/>
<filter name="tax_account" string="Account" domain="[]" context="{'group_by':'account_id'}"/>
</group>
</search>
</field>
@@ -58,7 +54,6 @@
<record id="action_tax_balances_tree" model="ir.actions.act_window">
<field name="name">Taxes Balance</field>
<field name="res_model">account.tax</field>
<field name="view_type">form</field>
<field name="view_mode">tree</field>
<field name="domain">[('has_moves', '=', True)]</field>
<field name="view_id" ref="view_tax_tree_balance"/>