account-financial-reporting/account_tax_balance/wizard/open_tax_balances_view.xml
2021-03-23 20:28:22 +01:00

49 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2016 Lorenzo Battistini - Agile Business Group
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<flectra>
<record id="wizard_open_tax_balances" model="ir.ui.view">
<field name="name">wizard_open_tax_balances</field>
<field name="model">wizard.open.tax.balances</field>
<field name="arch" type="xml">
<form string="Taxes Balance">
<group>
<field name="company_id"/>
<field name="date_range_id"/>
<field name="from_date"></field>
<field name="to_date"></field>
<field name="target_move"></field>
</group>
<footer>
<button string="Open Taxes" name="open_taxes" type="object" class="oe_highlight"/>
or
<button string="Cancel" class="oe_link" special="cancel"/>
</footer>
</form>
</field>
</record>
<record id="action_open_tax_balances" model="ir.actions.act_window">
<field name="name">Taxes Balance</field>
<field name="res_model">wizard.open.tax.balances</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="view_id" ref="wizard_open_tax_balances"/>
<field name="target">new</field>
</record>
<menuitem
id="menu_tax_balances"
name="Taxes Balance"
parent="account.menu_finance_reports"
groups="account.group_account_user,account.group_account_manager"/>
<menuitem
action="action_open_tax_balances"
id="menu_action_open_tax_balances"
parent="menu_tax_balances"
groups="account.group_account_user,account.group_account_manager"/>
</flectra>