mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[IMP] add defaut group by account / tax code + add form view + add invoice in tree view
Conflicts: account_tax_analysis/account_tax_analysis_view.xml
This commit is contained in:
@@ -25,21 +25,31 @@
|
||||
<newline/>
|
||||
<group expand="1" string="Group By...">
|
||||
<filter string="Partner" icon="terp-partner"
|
||||
name="group_by_partner"
|
||||
domain="[]"
|
||||
context="{'group_by': 'partner_id'}"/>
|
||||
<separator orientation="vertical"/>
|
||||
<filter string="Account"
|
||||
name="group_by_account"
|
||||
icon="terp-folder-green"
|
||||
context="{'group_by': 'account_id'}"/>
|
||||
<separator orientation="vertical"/>
|
||||
<filter string="Period"
|
||||
name="group_by_period"
|
||||
icon="terp-go-month"
|
||||
domain="[]"
|
||||
context="{'group_by': 'period_id'}"/>
|
||||
<filter string="Journal"
|
||||
name="group_by_journal"
|
||||
domain="[]"
|
||||
context="{'group_by': 'journal_id'}"/>
|
||||
<filter string="Account / Tax"
|
||||
name="group_by_account_tax"
|
||||
icon="terp-folder-green"
|
||||
domain="[]"
|
||||
context="{'group_by': ['tax_code_id', 'account_id'] }"/>
|
||||
<filter string="Tax account"
|
||||
name="group_by_tax"
|
||||
icon="terp-go-month"
|
||||
domain="[]"
|
||||
context="{'group_by': 'tax_code_id'}"/>
|
||||
@@ -65,6 +75,7 @@
|
||||
<field name="debit" sum="Total debit"/>
|
||||
<field name="credit" sum="Total credit"/>
|
||||
<field name="tax_amount" sum="Total Taxe"/>
|
||||
<field name="invoice"/>
|
||||
<field name="amount_currency" />
|
||||
<field name="currency_id" />
|
||||
|
||||
@@ -77,7 +88,8 @@
|
||||
<field name="name">Taxes Analysis</field>
|
||||
<field name="res_model">account.move.line</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="context">{'search_default_group_by_account_tax': 1}</field>
|
||||
<field name="search_view_id" ref="view_account_move_line_filter_vat_analysis"/>
|
||||
<field name="view_id" ref="view_move_line_tree_tax_analysis"/>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user