[IMP] remove cancel button from wizard and improved view.
[odoo/odoo.git] / addons / account / wizard / account_tax_chart_view.xml
index c630633..eb27df6 100644 (file)
@@ -7,18 +7,15 @@
             <field name="model">account.tax.chart</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
-                <form string="Account tax charts">
-                    <group colspan="4" >
+                <form string="Account tax charts" version="7.0">
+                    <header>
+                        <button icon="terp-gtk-go-back-rtl" string="Open Charts" name="account_tax_chart_open_window" type="object" class="oe_form_button_active_flow"/>
+                    </header>
+                    <group>
                         <field name="period_id"/>
-                        <label align="0.7" colspan="6" string="(If you do not select period it will take all open periods)"/>
+                        <label colspan="4" string="(If you do not select period it will take all open periods)"/>
                         <field name="target_move"/>
                     </group>
-                    <separator string="" colspan="4" />
-                    <group colspan="4" col="6">
-                        <label string ="" colspan="2"/>
-                        <button icon="gtk-cancel" special="cancel" string="Cancel" />
-                        <button icon="terp-gtk-go-back-rtl" string="Open Charts" name="account_tax_chart_open_window" type="object" />
-                    </group>
                 </form>
             </field>
         </record>
@@ -28,7 +25,7 @@
             <field name="res_model">account.tax.chart</field>
             <field name="view_type">form</field>
             <field name="view_mode">tree,form</field>
-            <field name="domain">[('parent_id','=',False)]</field>
+            <field name="domain">[]</field>
             <field name="view_id" ref="view_account_tax_chart"/>
             <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>
             <field name="target">new</field>