[IMP] account_asset,account_bank_statement_extensions: remove cancel button from...
authorTurkesh Patel (Open ERP) <tpa@tinyerp.com>
Fri, 15 Jun 2012 12:13:46 +0000 (17:43 +0530)
committerTurkesh Patel (Open ERP) <tpa@tinyerp.com>
Fri, 15 Jun 2012 12:13:46 +0000 (17:43 +0530)
bzr revid: tpa@tinyerp.com-20120615121346-mzayk2ihz6ip6zg0

addons/account_asset/wizard/account_asset_change_duration_view.xml
addons/account_asset/wizard/wizard_asset_compute_view.xml

index a68d28a..0016f2b 100644 (file)
@@ -9,8 +9,7 @@
             <field name="arch" type="xml">
                 <form string="Modify Asset" version="7.0">
                     <header>
-                        <button name="modify" string="Modify" type="object" icon="terp-camera_test"/>
-                        <button special="cancel" string="Cancel" icon="gtk-cancel"/>
+                        <button name="modify" string="Modify" type="object" icon="terp-camera_test" class="oe_form_button_active_flow"/>
                     </header>
                     <group string="Asset Durations to Modify" col="4">
                         <field name="name" colspan="4"/>
index 5d2bc39..8055ab6 100644 (file)
@@ -8,8 +8,7 @@
             <field name="arch" type="xml">
                 <form string="Compute Asset" version="7.0">
                     <header>
-                        <button icon="gtk-execute" string="Compute" name="asset_compute" type="object"/>
-                        <button icon="gtk-cancel" special="cancel" string="Cancel"/>
+                        <button icon="gtk-execute" string="Compute" name="asset_compute" type="object" class="oe_form_button_active_flow"/>
                     </header>
                     <separator string="Post Depreciation Lines"/>
                     <label string="This wizard will post the depreciation lines of running assets that belong to the selected period."/>