|
@ -3,7 +3,6 @@ |
|
|
Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com> |
|
|
Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com> |
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> |
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> |
|
|
<odoo> |
|
|
<odoo> |
|
|
|
|
|
|
|
|
<record id="view_tax_tree_balance" model="ir.ui.view"> |
|
|
<record id="view_tax_tree_balance" model="ir.ui.view"> |
|
|
<field name="name">account.tax.tree.balance</field> |
|
|
<field name="name">account.tax.tree.balance</field> |
|
|
<field name="model">account.tax</field> |
|
|
<field name="model">account.tax</field> |
|
@ -13,27 +12,50 @@ |
|
|
<field name="name" /> |
|
|
<field name="name" /> |
|
|
<field name="description" string="Short Name" /> |
|
|
<field name="description" string="Short Name" /> |
|
|
<field name="balance_regular" sum="Total" /> |
|
|
<field name="balance_regular" sum="Total" /> |
|
|
<button type="object" name="view_tax_regular_lines" |
|
|
|
|
|
string="View tax regular lines" icon="fa-search-plus"/> |
|
|
|
|
|
|
|
|
<button |
|
|
|
|
|
type="object" |
|
|
|
|
|
name="view_tax_regular_lines" |
|
|
|
|
|
string="View tax regular lines" |
|
|
|
|
|
icon="fa-search-plus" |
|
|
|
|
|
/> |
|
|
<field name="base_balance_regular" sum="Base Total" /> |
|
|
<field name="base_balance_regular" sum="Base Total" /> |
|
|
<button type="object" name="view_base_regular_lines" |
|
|
|
|
|
string="View base regular lines" icon="fa-search-plus"/> |
|
|
|
|
|
|
|
|
<button |
|
|
|
|
|
type="object" |
|
|
|
|
|
name="view_base_regular_lines" |
|
|
|
|
|
string="View base regular lines" |
|
|
|
|
|
icon="fa-search-plus" |
|
|
|
|
|
/> |
|
|
<field name="balance_refund" sum="Total" /> |
|
|
<field name="balance_refund" sum="Total" /> |
|
|
<button type="object" name="view_tax_refund_lines" |
|
|
|
|
|
string="View tax refund lines" icon="fa-search-plus"/> |
|
|
|
|
|
|
|
|
<button |
|
|
|
|
|
type="object" |
|
|
|
|
|
name="view_tax_refund_lines" |
|
|
|
|
|
string="View tax refund lines" |
|
|
|
|
|
icon="fa-search-plus" |
|
|
|
|
|
/> |
|
|
<field name="base_balance_refund" sum="Base Total" /> |
|
|
<field name="base_balance_refund" sum="Base Total" /> |
|
|
<button type="object" name="view_base_refund_lines" |
|
|
|
|
|
string="View base refund lines" icon="fa-search-plus"/> |
|
|
|
|
|
|
|
|
<button |
|
|
|
|
|
type="object" |
|
|
|
|
|
name="view_base_refund_lines" |
|
|
|
|
|
string="View base refund lines" |
|
|
|
|
|
icon="fa-search-plus" |
|
|
|
|
|
/> |
|
|
<field name="balance" sum="Total" /> |
|
|
<field name="balance" sum="Total" /> |
|
|
<button type="object" name="view_tax_lines" |
|
|
|
|
|
string="View tax lines" icon="fa-search-plus"/> |
|
|
|
|
|
|
|
|
<button |
|
|
|
|
|
type="object" |
|
|
|
|
|
name="view_tax_lines" |
|
|
|
|
|
string="View tax lines" |
|
|
|
|
|
icon="fa-search-plus" |
|
|
|
|
|
/> |
|
|
<field name="base_balance" sum="Base Total" /> |
|
|
<field name="base_balance" sum="Base Total" /> |
|
|
<button type="object" name="view_base_lines" |
|
|
|
|
|
string="View base lines" icon="fa-search-plus"/> |
|
|
|
|
|
|
|
|
<button |
|
|
|
|
|
type="object" |
|
|
|
|
|
name="view_base_lines" |
|
|
|
|
|
string="View base lines" |
|
|
|
|
|
icon="fa-search-plus" |
|
|
|
|
|
/> |
|
|
</tree> |
|
|
</tree> |
|
|
</field> |
|
|
</field> |
|
|
</record> |
|
|
</record> |
|
|
|
|
|
|
|
|
<record id="view_tax_search_balance" model="ir.ui.view"> |
|
|
<record id="view_tax_search_balance" model="ir.ui.view"> |
|
|
<field name="name">account.tax.search.balance</field> |
|
|
<field name="name">account.tax.search.balance</field> |
|
|
<field name="model">account.tax</field> |
|
|
<field name="model">account.tax</field> |
|
@ -44,13 +66,22 @@ |
|
|
<field name="description" string="Short Name" /> |
|
|
<field name="description" string="Short Name" /> |
|
|
<field name="type_tax_use" /> |
|
|
<field name="type_tax_use" /> |
|
|
<group expand="0" string="Group By"> |
|
|
<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_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'}" |
|
|
|
|
|
/> |
|
|
</group> |
|
|
</group> |
|
|
</search> |
|
|
</search> |
|
|
</field> |
|
|
</field> |
|
|
</record> |
|
|
</record> |
|
|
|
|
|
|
|
|
<record id="action_tax_balances_tree" model="ir.actions.act_window"> |
|
|
<record id="action_tax_balances_tree" model="ir.actions.act_window"> |
|
|
<field name="name">Taxes Balance</field> |
|
|
<field name="name">Taxes Balance</field> |
|
|
<field name="res_model">account.tax</field> |
|
|
<field name="res_model">account.tax</field> |
|
@ -59,5 +90,4 @@ |
|
|
<field name="view_id" ref="view_tax_tree_balance" /> |
|
|
<field name="view_id" ref="view_tax_tree_balance" /> |
|
|
<field name="search_view_id" ref="view_tax_search_balance" /> |
|
|
<field name="search_view_id" ref="view_tax_search_balance" /> |
|
|
</record> |
|
|
</record> |
|
|
|
|
|
|
|
|
</odoo> |
|
|
</odoo> |