Twinkle Christian(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-server/trunk-wizard-remove-cancel-editable-tch into 
lp:~openerp-dev/openobject-server/trunk-red-button.

Requested reviews:
  Jigar Amin  (OpenERP) (jam-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-server/trunk-wizard-remove-cancel-editable-tch/+merge/111815

Improve Wizard buttons from server side.


Kindly Review this.

Thanks.
TCH


-- 
https://code.launchpad.net/~openerp-dev/openobject-server/trunk-wizard-remove-cancel-editable-tch/+merge/111815
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-server/trunk-red-button.
=== modified file 'openerp/addons/base/ir/wizard/wizard_menu_view.xml'
--- openerp/addons/base/ir/wizard/wizard_menu_view.xml	2012-06-20 12:11:08 +0000
+++ openerp/addons/base/ir/wizard/wizard_menu_view.xml	2012-06-25 10:41:38 +0000
@@ -8,7 +8,7 @@
             <field name="arch" type="xml">
                 <form string="Create Menu" version="7.0">
                     <header>
-                        <button name="menu_create" string="Create _Menu" type="object" class="oe_highlight"/>
+                        <button name="menu_create" string="Create _Menu" type="object" class="oe_highlight_editable" />
                     </header>
                     <group>
                         <field name="name"/>

=== modified file 'openerp/addons/base/module/module_view.xml'
--- openerp/addons/base/module/module_view.xml	2012-06-25 04:09:28 +0000
+++ openerp/addons/base/module/module_view.xml	2012-06-25 10:41:38 +0000
@@ -114,8 +114,8 @@
             <field name="arch" type="xml">
                 <form string="Module" version="7.0">
                 <header>
-                    <button name="button_install" states="uninstalled" string="Install" icon="terp-gtk-jump-to-ltr" type="object" class="oe_highlight"/>
-                    <button name="button_upgrade" states="installed" string="Upgrade" icon="terp-gtk-go-back-rtl" type="object" class="oe_highlight"/>
+                    <button name="button_install" states="uninstalled" string="Install" icon="terp-gtk-jump-to-ltr" type="object" class="oe_highlight_editable" />
+                    <button name="button_upgrade" states="installed" string="Upgrade" icon="terp-gtk-go-back-rtl" type="object" class="oe_highlight_editable" />
                     <button name="button_uninstall" states="installed" string="Uninstall (beta)" icon="terp-dialog-close" type="object"
                         confirm="Do you confirm the uninstallation of this module? This will permanently erase all data currently stored by the module!"/>
                     <button name="button_uninstall_cancel" states="to remove" string="Cancel Uninstall" icon="gtk-cancel" type="object"/>

=== modified file 'openerp/addons/base/module/wizard/base_export_language_view.xml'
--- openerp/addons/base/module/wizard/base_export_language_view.xml	2012-06-20 12:11:08 +0000
+++ openerp/addons/base/module/wizard/base_export_language_view.xml	2012-06-25 10:41:38 +0000
@@ -9,7 +9,7 @@
             <field name="arch" type="xml">
                 <form string="Export Translations" version="7.0">
                     <header>
-                        <button icon="gtk-ok" name="act_getfile" string="_Export" type="object" states="choose" class="oe_highlight"/>
+                        <button icon="gtk-ok" name="act_getfile" string="_Export" type="object" states="choose" class="oe_highlight_editable" />
                     </header>
                     <group col="8">
                         <group colspan="3">

=== modified file 'openerp/addons/base/module/wizard/base_import_language_view.xml'
--- openerp/addons/base/module/wizard/base_import_language_view.xml	2012-06-20 12:11:08 +0000
+++ openerp/addons/base/module/wizard/base_import_language_view.xml	2012-06-25 10:41:38 +0000
@@ -9,7 +9,7 @@
             <field name="arch" type="xml">
                 <form string="Import Translation" version="7.0">
                     <header>
-                        <button name="import_lang" string="_Import" type="object" icon="gtk-ok" class="oe_highlight"/>
+                        <button name="import_lang" string="_Import" type="object" icon="gtk-ok" class="oe_highlight_editable" />
                     </header>
                     <group>
                         <separator string="Import Translation" colspan="2"/>

=== modified file 'openerp/addons/base/module/wizard/base_language_install_view.xml'
--- openerp/addons/base/module/wizard/base_language_install_view.xml	2012-06-21 04:42:20 +0000
+++ openerp/addons/base/module/wizard/base_language_install_view.xml	2012-06-25 10:41:38 +0000
@@ -9,7 +9,7 @@
             <field name="arch" type="xml">
                 <form string="Load Official Translation" version="7.0">
                     <header>
-                        <button name="lang_install" string="Load" type="object" icon="gtk-ok" states="init" class="oe_highlight"/>
+                        <button name="lang_install" string="Load" type="object" icon="gtk-ok" states="init" class="oe_highlight_editable" />
                     </header>
                     <group colspan="4" col="8">
                         <group colspan="1">

=== modified file 'openerp/addons/base/module/wizard/base_module_import_view.xml'
--- openerp/addons/base/module/wizard/base_module_import_view.xml	2012-06-20 12:11:08 +0000
+++ openerp/addons/base/module/wizard/base_module_import_view.xml	2012-06-25 10:41:38 +0000
@@ -9,8 +9,8 @@
             <field name="arch" type="xml">
                 <form string="Import module" version="7.0">
                     <header>
-                        <button name="importzip" string="Import module" type="object" icon="gtk-apply" states="init" class="oe_highlight"/>
-                        <button name="action_module_open" string="Open Modules" type="object" icon="gtk-go-forward" states="done" class="oe_highlight"/>
+                        <button name="importzip" string="Import module" type="object" icon="gtk-apply" states="init" class="oe_highlight_editable" />
+                        <button name="action_module_open" string="Open Modules" type="object" icon="gtk-go-forward" states="done" class="oe_highlight_editable" />
                     </header>
                     <group col="8">
                         <group colspan="3" col="1">

=== modified file 'openerp/addons/base/module/wizard/base_module_scan_view.xml'
--- openerp/addons/base/module/wizard/base_module_scan_view.xml	2012-06-20 12:11:08 +0000
+++ openerp/addons/base/module/wizard/base_module_scan_view.xml	2012-06-25 10:41:38 +0000
@@ -9,7 +9,7 @@
             <field name="arch" type="xml">
             <form string="Scan for new modules" version="7.0">
                 <header>
-                    <button name="watch_dir" string="Check new modules" type="object" icon="gtk-ok" class="oe_highlight"/>
+                    <button name="watch_dir" string="Check new modules" type="object" icon="gtk-ok" class="oe_highlight_editable" />
                 </header>
                 <label string="This function will check if you installed new modules in the 'addons' path of your server installation."/>
              </form>

=== modified file 'openerp/addons/base/module/wizard/base_module_update_view.xml'
--- openerp/addons/base/module/wizard/base_module_update_view.xml	2012-06-20 12:11:08 +0000
+++ openerp/addons/base/module/wizard/base_module_update_view.xml	2012-06-25 10:41:38 +0000
@@ -9,8 +9,8 @@
             <field name="arch" type="xml">
                 <form string="Update Module List" version="7.0">
                     <header>
-                        <button name="update_module" string="Update" type="object" icon="gtk-ok" states="init" class="oe_highlight"/>
-                        <button name="action_module_open" string="Open Modules" type="object" icon="gtk-go-forward" states="done" class="oe_highlight"/>
+                        <button name="update_module" string="Update" type="object" icon="gtk-ok" states="init" class="oe_highlight_editable" />
+                        <button name="action_module_open" string="Open Modules" type="object" icon="gtk-go-forward" states="done" class="oe_highlight_editable" />
                     </header>
                     <group col="8">
                         <group colspan="3">

=== modified file 'openerp/addons/base/module/wizard/base_module_upgrade.py'
--- openerp/addons/base/module/wizard/base_module_upgrade.py	2012-06-20 12:11:08 +0000
+++ openerp/addons/base/module/wizard/base_module_upgrade.py	2012-06-25 10:41:38 +0000
@@ -48,7 +48,7 @@
         if not ids:
             res['arch'] = '''<form string="Apply Scheduled Upgrades" version="7.0">
                                 <header>
-                                    <button name="config" string="Start configuration" type="object" icon="gtk-ok" class="oe_highlight"/>
+                                    <button name="config" string="Start configuration" type="object" icon="gtk-ok" class="oe_highlight_editable"/>
                                 </header>
                                 <group>
                                     <separator string="System update completed" colspan="4"/>

=== modified file 'openerp/addons/base/module/wizard/base_module_upgrade_view.xml'
--- openerp/addons/base/module/wizard/base_module_upgrade_view.xml	2012-06-20 12:11:08 +0000
+++ openerp/addons/base/module/wizard/base_module_upgrade_view.xml	2012-06-25 10:41:38 +0000
@@ -9,7 +9,7 @@
             <field name="arch" type="xml">
                 <form string="System Update" version="7.0">
                     <header>
-                        <button name="upgrade_module" string="Update" type="object" icon="gtk-go-forward" class="oe_highlight"/>
+                        <button name="upgrade_module" string="Update" type="object" icon="gtk-go-forward" class="oe_highlight_editable" />
                     </header>
                     <group>
 	                    <label string="Your system will be updated."/>
@@ -46,7 +46,7 @@
             <field name="arch" type="xml">
                 <form string="Apply Scheduled Upgrades" version="7.0">
                     <header>
-                        <button name="config" string="Start configuration" type="object" icon="gtk-ok" class="oe_highlight"/>
+                        <button name="config" string="Start configuration" type="object" icon="gtk-ok" class="oe_highlight_editable" />
                     </header>
                     <group>
 	                    <label string="The selected modules have been updated / installed !"/>

=== modified file 'openerp/addons/base/module/wizard/base_update_translations_view.xml'
--- openerp/addons/base/module/wizard/base_update_translations_view.xml	2012-06-20 12:11:08 +0000
+++ openerp/addons/base/module/wizard/base_update_translations_view.xml	2012-06-25 10:41:38 +0000
@@ -8,7 +8,7 @@
             <field name="arch" type="xml">
                 <form string="Synchronize Terms" version="7.0">
                     <header>
-                        <button icon="gtk-ok" name="act_update" string="Update" type="object" class="oe_highlight"/>
+                        <button icon="gtk-ok" name="act_update" string="Update" type="object" class="oe_highlight_editable" />
                     </header>
                     <group col="8">
                         <group colspan="3">

=== modified file 'openerp/addons/base/publisher_warranty/publisher_warranty_view.xml'
--- openerp/addons/base/publisher_warranty/publisher_warranty_view.xml	2012-06-25 04:09:28 +0000
+++ openerp/addons/base/publisher_warranty/publisher_warranty_view.xml	2012-06-25 10:41:38 +0000
@@ -95,7 +95,7 @@
             <field name="arch" type="xml">
                 <form string="Register a Contract" version="7.0">
                     <header>
-                        <button name="action_validate" string="Register" type="object" icon="gtk-apply" states="draft" class="oe_highlight"/>
+                        <button name="action_validate" string="Register" type="object" icon="gtk-apply" states="draft" class="oe_highlight_editable" />
                     </header>
                     <group colspan="4" col="8">
                         <group colspan="1">

=== modified file 'openerp/addons/base/res/res_config.xml'
--- openerp/addons/base/res/res_config.xml	2012-06-21 05:52:31 +0000
+++ openerp/addons/base/res/res_config.xml	2012-06-25 10:41:38 +0000
@@ -8,7 +8,7 @@
           <form version="7.0">
              <header>
                <button name="action_next" type="object"
-                       string="Apply" icon="gtk-go-forward" class="oe_highlight"/>
+                       string="Apply" icon="gtk-go-forward" class="oe_highlight_editable" />
              </header>
              <group string="res_config_contents"/>
           </form>
@@ -23,7 +23,7 @@
         <form string="Next Configuration Step" version="7.0">
             <header>
                 <button name="action_next" type="object"
-                        string="Continue" icon="gtk-go-forward" class="oe_highlight"/>
+                        string="Continue" icon="gtk-go-forward" class="oe_highlight_editable" />
             </header>
             <group>
                 <field name="note"/>
@@ -39,7 +39,7 @@
       <field name="arch" type="xml">
         <form version="7.0">
             <header>
-                <button name="action_next" icon="gtk-go-forward" type="object" string="Install Modules"  class="oe_highlight"/>
+                <button name="action_next" icon="gtk-go-forward" type="object" string="Install Modules"  class="oe_highlight_editable" />
             </header>
             <group>
                 <separator string="title" colspan="4"/>

=== modified file 'openerp/addons/base/res/res_widget_view.xml'
--- openerp/addons/base/res/res_widget_view.xml	2012-06-25 04:09:28 +0000
+++ openerp/addons/base/res/res_widget_view.xml	2012-06-25 10:41:38 +0000
@@ -89,7 +89,7 @@
             <field name="arch" type="xml">
                 <form string="Widget Wizard" col="4" version="7.0">
                     <header>
-                        <button name="res_widget_add" string="Add" type="object" class="oe_highlight"/>
+                        <button name="res_widget_add" string="Add" type="object" class="oe_highlight_editable" />
                     </header>
                     <group>
                         <field name="widgets_list"/>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to