[IMP] account: remove cancel button from wizard.
[odoo/odoo.git] / addons / account / wizard / account_tax_chart_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4
5         <record id="view_account_tax_chart" model="ir.ui.view">
6             <field name="name">account.tax.chart.form</field>
7             <field name="model">account.tax.chart</field>
8             <field name="type">form</field>
9             <field name="arch" type="xml">
10                 <form string="Account tax charts" version="7.0">
11                     <header>
12                         <button icon="terp-gtk-go-back-rtl" string="Open Charts" name="account_tax_chart_open_window" type="object" class="oe_form_button_active_flow"/>
13                     </header>
14                     <group>
15                         <field name="period_id"/>
16                         <label colspan="4" string="(If you do not select period it will take all open periods)"/>
17                         <field name="target_move"/>
18                     </group>
19                 </form>
20             </field>
21         </record>
22
23         <record id="action_account_tax_chart" model="ir.actions.act_window">
24             <field name="name">Chart of Taxes</field>
25             <field name="res_model">account.tax.chart</field>
26             <field name="view_type">form</field>
27             <field name="view_mode">tree,form</field>
28             <field name="domain">[]</field>
29             <field name="view_id" ref="view_account_tax_chart"/>
30             <field name="help">Chart of Taxes is a tree view reflecting the structure of the Tax Cases (or tax codes) and shows the current tax situation. The tax chart represents the amount of each area of the tax declaration for your country. It’s presented in a hierarchical structure, which can be modified to fit your needs.</field>
31             <field name="target">new</field>
32         </record>
33
34         <menuitem
35             icon="STOCK_INDENT"
36             action="action_account_tax_chart"
37             id="menu_action_tax_code_tree"
38             parent="menu_finance_charts"
39             groups="group_account_user,group_account_manager"
40             sequence="12"/>
41
42     </data>
43 </openerp>