ajay javiya (OpenERP) has proposed merging
lp:~openerp-commiter/openobject-addons/trunk-wiz-remove-btn-pos-aja into
lp:~openerp-dev/openobject-addons/trunk-wiz-remove-btn.
Requested reviews:
Jigar Amin (OpenERP) (jam-openerp)
For more details, see:
https://code.launchpad.net/~openerp-commiter/openobject-addons/trunk-wiz-remove-btn-pos-aja/+merge/110764
Hello
Remove close button on wizard from pos module and add css class for color on
button.
Thank You
--
https://code.launchpad.net/~openerp-commiter/openobject-addons/trunk-wiz-remove-btn-pos-aja/+merge/110764
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-wiz-remove-btn.
=== modified file 'point_of_sale/wizard/pos_box_entries.xml'
--- point_of_sale/wizard/pos_box_entries.xml 2012-06-09 15:19:20 +0000
+++ point_of_sale/wizard/pos_box_entries.xml 2012-06-18 10:08:19 +0000
@@ -10,8 +10,7 @@
<field name="arch" type="xml">
<form string="Put Money" version="7.0">
<header>
- <button name="get_in" string="Put Money" type="object" icon="gtk-apply" />
- <button icon="gtk-stop" special="cancel" string="Cancel" />
+ <button name="get_in" string="Put Money" type="object" icon="gtk-apply" class="oe_form_button_active_flow" />
</header>
<separator string="Fill in this form if you put money in the cash register:"/>
<group col="4">
=== modified file 'point_of_sale/wizard/pos_box_out.xml'
--- point_of_sale/wizard/pos_box_out.xml 2012-06-09 15:19:20 +0000
+++ point_of_sale/wizard/pos_box_out.xml 2012-06-18 10:08:19 +0000
@@ -10,8 +10,7 @@
<field name="arch" type="xml">
<form string="Output Operation" version="7.0">
<header>
- <button name="get_out" string="Take Money" type="object" icon="gtk-apply" />
- <button icon="gtk-stop" special="cancel" string="Cancel" />
+ <button name="get_out" string="Take Money" type="object" icon="gtk-apply" class="oe_form_button_active_flow" />
</header>
<group col="4" string="Describe why you take money from the cash register:">
<field name="name"/>
=== modified file 'point_of_sale/wizard/pos_close_statement.xml'
--- point_of_sale/wizard/pos_close_statement.xml 2012-06-09 15:19:20 +0000
+++ point_of_sale/wizard/pos_close_statement.xml 2012-06-18 10:08:19 +0000
@@ -11,11 +11,9 @@
<form string="Close Cash Registers" version="7.0">
<header>
<button name="close_statement" string="Yes"
- type="object" icon="gtk-ok"/>
- <button icon='gtk-stop' special="cancel"
- string="No" invisible="context.get('cancel_action')"/>
+ type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
<button icon='gtk-stop' type="object" name="cancel_wizard"
- string="No" invisible="not context.get('cancel_action')"/>
+ string="No" invisible="not context.get('cancel_action')" class="oe_form_button_active_flow"/>
</header>
<separator string="Do you want to close your cash registers?"/>
<label string="OpenERP will close all cash registers he can close automatically without validation. He will also open all cash registers for which you have to control the ending balance before closing manually."/>
=== modified file 'point_of_sale/wizard/pos_confirm.xml'
--- point_of_sale/wizard/pos_confirm.xml 2012-06-09 15:19:20 +0000
+++ point_of_sale/wizard/pos_confirm.xml 2012-06-18 10:08:19 +0000
@@ -9,8 +9,7 @@
<field name="arch" type="xml">
<form string="Post All Orders" version="7.0">
<header>
- <button name="action_confirm" string="Generate Entries" type="object" icon="gtk-ok"/>
- <button icon='gtk-cancel' special="cancel" string="Cancel" />
+ <button name="action_confirm" string="Generate Entries" type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<separator string="Generate Journal Entries"/>
<label string="Generate all sale journal entries for non invoiced orders linked to a closed cash register or statement."/>
=== modified file 'point_of_sale/wizard/pos_details.xml'
--- point_of_sale/wizard/pos_details.xml 2012-06-09 15:19:20 +0000
+++ point_of_sale/wizard/pos_details.xml 2012-06-18 10:08:19 +0000
@@ -10,10 +10,8 @@
<field name="arch" type="xml">
<form string="POS Details" version="7.0">
<header>
- <button icon='gtk-cancel' special="cancel"
- string="Close" />
<button name="print_report" string="Print Report"
- colspan="1" type="object" icon="gtk-print" />
+ colspan="1" type="object" icon="gtk-print" class="oe_form_button_active_flow"/>
</header>
<group col="4" string="Dates">
<field name="date_start"/>
=== modified file 'point_of_sale/wizard/pos_discount.xml'
--- point_of_sale/wizard/pos_discount.xml 2012-06-09 15:19:20 +0000
+++ point_of_sale/wizard/pos_discount.xml 2012-06-18 10:08:19 +0000
@@ -10,8 +10,7 @@
<field name="arch" type="xml">
<form string="Apply Discount" version="7.0">
<header>
- <button icon='gtk-cancel' special="cancel" string="Close" />
- <button name="apply_discount" string="Apply Discount" type="object" icon="gtk-ok" />
+ <button name="apply_discount" string="Apply Discount" type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<field name="discount"/>
</form>
=== modified file 'point_of_sale/wizard/pos_open_statement.xml'
--- point_of_sale/wizard/pos_open_statement.xml 2012-06-09 15:19:20 +0000
+++ point_of_sale/wizard/pos_open_statement.xml 2012-06-18 10:08:19 +0000
@@ -11,8 +11,7 @@
<form string="Open Statements" version="7.0">
<header>
<button name="open_statement" string="Open Registers"
- type="object" icon="gtk-ok"/>
- <button icon='gtk-stop' special="cancel" string="Cancel"/>
+ type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<separator string="Do you want to open cash registers?"/>
<label string="The system will open all cash registers, so that you can start recording payments. We suggest you to control the opening balance of each register, using their CashBox tab."/>
=== modified file 'point_of_sale/wizard/pos_payment.xml'
--- point_of_sale/wizard/pos_payment.xml 2012-06-09 15:19:20 +0000
+++ point_of_sale/wizard/pos_payment.xml 2012-06-18 10:08:19 +0000
@@ -9,8 +9,7 @@
<field name="arch" type="xml">
<form string="Add payment :" version="7.0">
<header>
- <button name="check" string="Make Payment" colspan="1" type="object" icon="gtk-apply"/>
- <button icon="gtk-stop" special="cancel" string="Cancel"/>
+ <button name="check" string="Make Payment" colspan="1" type="object" icon="gtk-apply" class="oe_form_button_active_flow"/>
</header>
<group col="4">
<field name="journal"/>
=== modified file 'point_of_sale/wizard/pos_payment_report.xml'
--- point_of_sale/wizard/pos_payment_report.xml 2012-06-09 15:19:20 +0000
+++ point_of_sale/wizard/pos_payment_report.xml 2012-06-18 10:08:19 +0000
@@ -9,8 +9,9 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Payment Report" version="7.0">
- <button name="print_report" string="Print Report" type="object" icon="gtk-print" />
- <button icon='gtk-cancel' special="cancel" string="Close" />
+ <header>
+ <button name="print_report" string="Print Report" type="object" icon="gtk-print" class="oe_form_button_active_flow"/>
+ </header>
</form>
</field>
</record>
=== modified file 'point_of_sale/wizard/pos_payment_report_user.xml'
--- point_of_sale/wizard/pos_payment_report_user.xml 2012-06-09 15:19:20 +0000
+++ point_of_sale/wizard/pos_payment_report_user.xml 2012-06-18 10:08:19 +0000
@@ -10,8 +10,7 @@
<field name="arch" type="xml">
<form string="Pyament Report " version="7.0">
<header>
- <button name="print_report" string="Print Report" type="object" icon="gtk-print" />
- <button icon='gtk-cancel' special="cancel" string="Close" />
+ <button name="print_report" string="Print Report" type="object" icon="gtk-print" class="oe_form_button_active_flow"/>
</header>
</form>
</field>
=== modified file 'point_of_sale/wizard/pos_payment_report_user_view.xml'
--- point_of_sale/wizard/pos_payment_report_user_view.xml 2012-06-09 15:19:20 +0000
+++ point_of_sale/wizard/pos_payment_report_user_view.xml 2012-06-18 10:08:19 +0000
@@ -8,8 +8,7 @@
<field name="arch" type="xml">
<form string="Sale by User" version="7.0">
<header>
- <button name="print_report" string="Print Report" colspan="1" type="object" icon="gtk-print" />
- <button icon='gtk-cancel' special="cancel" string="Close" />
+ <button name="print_report" string="Print Report" colspan="1" type="object" icon="gtk-print" class="oe_form_button_active_flow"/>
</header>
<group>
<field name="user_id"/>
=== modified file 'point_of_sale/wizard/pos_receipt_view.xml'
--- point_of_sale/wizard/pos_receipt_view.xml 2012-06-09 15:19:20 +0000
+++ point_of_sale/wizard/pos_receipt_view.xml 2012-06-18 10:08:19 +0000
@@ -11,8 +11,7 @@
<field name="arch" type="xml">
<form string="Receipt :" version="7.0">
<header>
- <button icon='gtk-cancel' special="cancel" string="Cancel" />
- <button name="print_report" string="Print Receipt" type="object" icon="gtk-print" />
+ <button name="print_report" string="Print Receipt" type="object" icon="gtk-print" class="oe_form_button_active_flow"/>
</header>
<label string="Print the Receipt of the Sale"/>
</form>
=== modified file 'point_of_sale/wizard/pos_return_view.xml'
--- point_of_sale/wizard/pos_return_view.xml 2012-06-09 15:19:20 +0000
+++ point_of_sale/wizard/pos_return_view.xml 2012-06-18 10:08:19 +0000
@@ -7,8 +7,9 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Return lines" version="7.0">
- <button icon='gtk-ok' name= "create_returns" string="Return Products" type="object"/>
- <button icon='gtk-cancel' special="cancel" string="Cancel" />
+ <header>
+ <button icon='gtk-ok' name= "create_returns" string="Return Products" type="object" class="oe_form_button_active_flow"/>
+ </header>
</form>
</field>
</record>
=== modified file 'point_of_sale/wizard/pos_sales_user.xml'
--- point_of_sale/wizard/pos_sales_user.xml 2012-06-09 15:19:20 +0000
+++ point_of_sale/wizard/pos_sales_user.xml 2012-06-18 10:08:19 +0000
@@ -10,10 +10,8 @@
<field name="arch" type="xml">
<form string="Sale By User" version="7.0">
<header>
- <button icon='gtk-cancel' special="cancel"
- string="Close" />
<button name="print_report" string="Print Report"
- type="object" icon="gtk-ok" />
+ type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<group col="4">
<field name="date_start"/>
=== modified file 'portal/wizard/portal_wizard_view.xml'
--- portal/wizard/portal_wizard_view.xml 2012-06-09 15:19:20 +0000
+++ portal/wizard/portal_wizard_view.xml 2012-06-18 10:08:19 +0000
@@ -18,9 +18,8 @@
<field name="arch" type="xml">
<form string="Add Portal Access" version="7.0">
<header>
- <button string="Cancel" special="cancel" icon="gtk-cancel"/>
<button string="Send Invitations"
- name="action_create" type="object" icon="gtk-ok"/>
+ name="action_create" type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<group col="4">
<field name="portal_id" widget="selection"/>
_______________________________________________
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