[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"> <field name="arch" type="xml">
<form string="Put Money" version="7.0"> <form string="Put Money" version="7.0">
<header> <header>
<button name="get_in" string="Put Money" type="object" icon="gtk-apply" /> <button name="get_in" string="Put Money" type="object" icon="gtk-apply" class="oe_form_button_active_flow" />
<button icon="gtk-stop" special="cancel" string="Cancel" />
</header> </header>
<separator string="Fill in this form if you put money in the cash register:"/> <separator string="Fill in this form if you put money in the cash register:"/>
<group col="4"> <group col="4">

View File

@ -10,8 +10,7 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Output Operation" version="7.0"> <form string="Output Operation" version="7.0">
<header> <header>
<button name="get_out" string="Take Money" type="object" icon="gtk-apply" /> <button name="get_out" string="Take Money" type="object" icon="gtk-apply" class="oe_form_button_active_flow" />
<button icon="gtk-stop" special="cancel" string="Cancel" />
</header> </header>
<group col="4" string="Describe why you take money from the cash register:"> <group col="4" string="Describe why you take money from the cash register:">
<field name="name"/> <field name="name"/>

View File

@ -11,11 +11,9 @@
<form string="Close Cash Registers" version="7.0"> <form string="Close Cash Registers" version="7.0">
<header> <header>
<button name="close_statement" string="Yes" <button name="close_statement" string="Yes"
type="object" icon="gtk-ok"/> type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
<button icon='gtk-stop' special="cancel"
string="No" invisible="context.get('cancel_action')"/>
<button icon='gtk-stop' type="object" name="cancel_wizard" <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> </header>
<separator string="Do you want to close your cash registers?"/> <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."/> <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"> <field name="arch" type="xml">
<form string="Post All Orders" version="7.0"> <form string="Post All Orders" version="7.0">
<header> <header>
<button name="action_confirm" string="Generate Entries" type="object" icon="gtk-ok"/> <button name="action_confirm" string="Generate Entries" type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
<button icon='gtk-cancel' special="cancel" string="Cancel" />
</header> </header>
<separator string="Generate Journal Entries"/> <separator string="Generate Journal Entries"/>
<label string="Generate all sale journal entries for non invoiced orders linked to a closed cash register or statement."/> <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"> <field name="arch" type="xml">
<form string="POS Details" version="7.0"> <form string="POS Details" version="7.0">
<header> <header>
<button icon='gtk-cancel' special="cancel"
string="Close" />
<button name="print_report" string="Print Report" <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> </header>
<group col="4" string="Dates"> <group col="4" string="Dates">
<field name="date_start"/> <field name="date_start"/>

View File

@ -10,8 +10,7 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Apply Discount" version="7.0"> <form string="Apply Discount" version="7.0">
<header> <header>
<button icon='gtk-cancel' special="cancel" string="Close" /> <button name="apply_discount" string="Apply Discount" type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
<button name="apply_discount" string="Apply Discount" type="object" icon="gtk-ok" />
</header> </header>
<field name="discount"/> <field name="discount"/>
</form> </form>

View File

@ -11,8 +11,7 @@
<form string="Open Statements" version="7.0"> <form string="Open Statements" version="7.0">
<header> <header>
<button name="open_statement" string="Open Registers" <button name="open_statement" string="Open Registers"
type="object" icon="gtk-ok"/> type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
<button icon='gtk-stop' special="cancel" string="Cancel"/>
</header> </header>
<separator string="Do you want to open cash registers?"/> <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."/> <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"> <field name="arch" type="xml">
<form string="Add payment :" version="7.0"> <form string="Add payment :" version="7.0">
<header> <header>
<button name="check" string="Make Payment" colspan="1" type="object" icon="gtk-apply"/> <button name="check" string="Make Payment" colspan="1" type="object" icon="gtk-apply" class="oe_form_button_active_flow"/>
<button icon="gtk-stop" special="cancel" string="Cancel"/>
</header> </header>
<group col="4"> <group col="4">
<field name="journal"/> <field name="journal"/>

View File

@ -9,8 +9,9 @@
<field name="type">form</field> <field name="type">form</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Payment Report" version="7.0"> <form string="Payment Report" version="7.0">
<button name="print_report" string="Print Report" type="object" icon="gtk-print" /> <header>
<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> </form>
</field> </field>
</record> </record>

View File

@ -10,8 +10,7 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Pyament Report " version="7.0"> <form string="Pyament Report " version="7.0">
<header> <header>
<button name="print_report" string="Print Report" type="object" icon="gtk-print" /> <button name="print_report" string="Print Report" type="object" icon="gtk-print" class="oe_form_button_active_flow"/>
<button icon='gtk-cancel' special="cancel" string="Close" />
</header> </header>
</form> </form>
</field> </field>

View File

@ -8,8 +8,7 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Sale by User" version="7.0"> <form string="Sale by User" version="7.0">
<header> <header>
<button name="print_report" string="Print Report" colspan="1" type="object" icon="gtk-print" /> <button name="print_report" string="Print Report" colspan="1" type="object" icon="gtk-print" class="oe_form_button_active_flow"/>
<button icon='gtk-cancel' special="cancel" string="Close" />
</header> </header>
<group> <group>
<field name="user_id"/> <field name="user_id"/>

View File

@ -11,8 +11,7 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Receipt :" version="7.0"> <form string="Receipt :" version="7.0">
<header> <header>
<button icon='gtk-cancel' special="cancel" string="Cancel" /> <button name="print_report" string="Print Receipt" type="object" icon="gtk-print" class="oe_form_button_active_flow"/>
<button name="print_report" string="Print Receipt" type="object" icon="gtk-print" />
</header> </header>
<label string="Print the Receipt of the Sale"/> <label string="Print the Receipt of the Sale"/>
</form> </form>

View File

@ -7,8 +7,9 @@
<field name="type">form</field> <field name="type">form</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Return lines" version="7.0"> <form string="Return lines" version="7.0">
<button icon='gtk-ok' name= "create_returns" string="Return Products" type="object"/> <header>
<button icon='gtk-cancel' special="cancel" string="Cancel" /> <button icon='gtk-ok' name= "create_returns" string="Return Products" type="object" class="oe_form_button_active_flow"/>
</header>
</form> </form>
</field> </field>
</record> </record>

View File

@ -10,10 +10,8 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Sale By User" version="7.0"> <form string="Sale By User" version="7.0">
<header> <header>
<button icon='gtk-cancel' special="cancel"
string="Close" />
<button name="print_report" string="Print Report" <button name="print_report" string="Print Report"
type="object" icon="gtk-ok" /> type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header> </header>
<group col="4"> <group col="4">
<field name="date_start"/> <field name="date_start"/>

View File

@ -18,9 +18,8 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Add Portal Access" version="7.0"> <form string="Add Portal Access" version="7.0">
<header> <header>
<button string="Cancel" special="cancel" icon="gtk-cancel"/>
<button string="Send Invitations" <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> </header>
<group col="4"> <group col="4">
<field name="portal_id" widget="selection"/> <field name="portal_id" widget="selection"/>