Twinkle (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-red-button-pos-backend-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-pos-backend-tch/+merge/110240

POS Backend :
Added Active button flow in POS Orders and Cash Register.
Kindly Review this.

Thank You.
TCH.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-red-button-pos-backend-tch/+merge/110240
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-red-button.
=== modified file 'account/account_view.xml'
--- account/account_view.xml	2012-06-11 16:10:14 +0000
+++ account/account_view.xml	2012-06-14 06:30:28 +0000
@@ -2531,8 +2531,8 @@
             <field name="arch" type="xml">
                 <form version="7.0">
                 <header>
-                    <button name="button_confirm_cash" states="open" string="Close CashBox" type="object"/>
-                    <button name="button_open" states="draft" string="Open CashBox" type="object"/>
+                    <button name="button_confirm_cash" states="open" string="Close CashBox" type="object" class="oe_form_button_active_flow"/>
+                    <button name="button_open" states="draft" string="Open CashBox" type="object" class="oe_form_button_active_flow"/>
                     <button name="button_cancel" states="confirm,open" string="Cancel" type="object" groups="base.group_extended"/>
                     <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,confirm"/>
                 </header>

=== modified file 'point_of_sale/point_of_sale_view.xml'
--- point_of_sale/point_of_sale_view.xml	2012-06-10 00:12:52 +0000
+++ point_of_sale/point_of_sale_view.xml	2012-06-14 06:30:28 +0000
@@ -18,12 +18,12 @@
             <field name="arch" type="xml">
                 <form string="PoS Orders" version="7.0">
                 <header>
-                    <button name="%(action_pos_payment)d" string="Payment" type="action" states="draft"/>
+                    <button name="%(action_pos_payment)d" string="Payment" type="action" states="draft" class="oe_form_button_active_flow"/>
                     <button name="%(action_report_pos_receipt)d" string="Reprint" type="action" states="paid,done,invoiced"/>
-                    <button name="action_invoice" string="Invoice" icon="gtk-apply" type="object" states="paid" attrs="{'readonly': [('partner_id','=',False)]}"/>
-                    <button name="done" string="Post Entries" icon="gtk-apply" type="workflow" states="paid"/>
+                    <button name="action_invoice" string="Invoice" icon="gtk-apply" type="object" states="paid" attrs="{'readonly': [('partner_id','=',False)]}" class="oe_form_button_active_flow"/>
+                    <button name="done" string="Post Entries" icon="gtk-apply" type="workflow" states="paid" class="oe_form_button_active_flow"/>
                     <button name="refund" string="Return Products" type="object"
-                        attrs="{'invisible':[('state','=','draft')]}"/>
+                        attrs="{'invisible':[('state','=','draft')]}" class="oe_form_button_return_flow"/>
                     <field name="state" widget="statusbar" statusbar_visible="draft,paid,done" statusbar_colors='{"cancel":"red"}'/>
                 </header>
                 <sheet>

_______________________________________________
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