[REM]: Remove cancel button on wizard

bzr revid: aja@tinyerp.com-20120618095828-2j3l2ygehu6j3nlo
This commit is contained in:
ajay javiya (OpenERP) 2012-06-18 15:28:28 +05:30
parent 0b9a0f3de5
commit 564c8e0580
15 changed files with 20 additions and 34 deletions

View File

@ -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">

View File

@ -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"/>

View File

@ -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."/>

View File

@ -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."/>

View File

@ -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"/>

View File

@ -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>

View File

@ -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."/>

View File

@ -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"/>

View File

@ -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>

View File

@ -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>

View File

@ -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"/>

View File

@ -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>

View File

@ -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>

View File

@ -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"/>

View File

@ -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"/>