Twinkle (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-red-button-tools-tch into 
lp:~openerp-dev/openobject-addons/trunk-red-button.

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

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-red-button-tools-tch/+merge/110060

Added Active flow and Return flow button classes for:
   - Lunch Module
   - Survey Module
   - Subscription Module 

Kindly review this.

Thank you.


  
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-red-button-tools-tch/+merge/110060
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-red-button.
=== modified file 'lunch/lunch_view.xml'
--- lunch/lunch_view.xml	2012-06-09 14:39:04 +0000
+++ lunch/lunch_view.xml	2012-06-13 12:32:20 +0000
@@ -25,8 +25,8 @@
             <field name="arch" type="xml">
                 <form version="7.0">
                 <header>
-                    <button name="%(action_lunch_order_confirm)d" string="Confirm Order" type="action" attrs="{'invisible':[('state','=','confirmed')]}"/>
-                    <button name="%(action_lunch_order_cancel)d" string="Cancel Order" type="action"/>
+                    <button name="%(action_lunch_order_confirm)d" string="Confirm Order" type="action" attrs="{'invisible':[('state','=','confirmed')]}" class="oe_form_button_active_flow "/>
+                    <button name="%(action_lunch_order_cancel)d" string="Cancel Order" type="action" class="oe_form_button_return_flow "/>
                     <field name="state" widget="statusbar" statusbar_visible="draft,confirmed"/>
                 </header>
                 <sheet string="Order">

=== modified file 'subscription/subscription_view.xml'
--- subscription/subscription_view.xml	2012-06-09 21:56:28 +0000
+++ subscription/subscription_view.xml	2012-06-13 12:32:20 +0000
@@ -15,9 +15,9 @@
             <field name="arch" type="xml">
                 <form string="Subscriptions" version="7.0">
                 <header>
-                    <button name="set_process" states="draft" string="Process" type="object"/>
-                    <button name="set_done" states="running" string="Stop" type="object"/>
-                    <button name="set_draft" states="done" string="Set to Draft" type="object"/>
+                    <button name="set_process" states="draft" string="Process" type="object" class="oe_form_button_active_flow"/>
+                    <button name="set_done" states="running" string="Stop" type="object" class="oe_form_button_active_flow"/>
+                    <button name="set_draft" states="done" string="Set to Draft" type="object" class="oe_form_button_return_flow"/>
                     <field name="state" widget="statusbar" statusbar_visible="draft,running"/>
                 </header>
                 <sheet>

=== modified file 'survey/survey_view.xml'
--- survey/survey_view.xml	2012-06-11 16:10:14 +0000
+++ survey/survey_view.xml	2012-06-13 12:32:20 +0000
@@ -21,8 +21,8 @@
                 <form string="Survey" version="7.0">
                 <header>
                     <button name="survey_open" string="Open" states="cancel,close" type="object"/>
-                    <button name="survey_close" string="Close" states="open" type="object"/>
-                    <button name="survey_cancel" string="Cancel" states="open" type="object"/>
+                    <button name="survey_close" string="Close" states="open" type="object" class="oe_form_button_active_flow"/>
+                    <button name="survey_cancel" string="Cancel" states="open" type="object" class="oe_form_button_return_flow"/>
                     <field name="state" widget="statusbar" statusbar_visible="open,close"/>
                 </header>
                 <sheet>
@@ -1058,9 +1058,9 @@
             <field name="arch" type="xml">
                 <form version="7.0">
                 <header>
-                    <button name="survey_req_draft" string="Set to Draft" states="cancel,done" type="object"/>
-                    <button name="survey_req_waiting_answer" string="Waiting Answer" states="draft" type="object"/>
-                    <button name="survey_req_done" string="Done" states="waiting_answer" type="object"/>
+                    <button name="survey_req_draft" string="Set to Draft" states="cancel,done" type="object" class="oe_form_button_return_flow"/>
+                    <button name="survey_req_waiting_answer" string="Waiting Answer" states="draft" type="object" class="oe_form_button_active_flow"/>
+                    <button name="survey_req_done" string="Done" states="waiting_answer" type="object" class="oe_form_button_active_flow"/>
                     <button name="survey_req_cancel" string="Cancel" states="waiting_answer" type="object"/>
                     <field name="state" widget="statusbar" statusbar_visible="draft,waiting_answer"/>
                 </header>

_______________________________________________
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