[IMP] remove cancel button from wizard and improved view.
[odoo/odoo.git] / addons / account / wizard / account_tax_chart_view.xml
old mode 100755 (executable)
new mode 100644 (file)
index a4f5860..eb27df6
@@ -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>