[IMP] account_voucher: remove cancel button from wizard.

bzr revid: tpa@tinyerp.com-20120615122608-vhpmfdoz5y2gs5d7
This commit is contained in:
Turkesh Patel (Open ERP) 2012-06-15 17:56:08 +05:30
parent 697f66abb1
commit 3acfd51f80
2 changed files with 9 additions and 14 deletions

View File

@ -6,17 +6,15 @@
<field name="model">account.statement.from.invoice</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Import Invoices in Statement">
<form string="Import Invoices in Statement" version="7.0">
<header>
<button icon="terp-gtk-go-back-rtl" string="Go" name="search_invoices" type="object" class="oe_form_button_active_flow"/>
</header>
<group colspan="4" >
<field name="date"/>
<newline/>
<field name="journal_ids" domain="[('type','in',['sale','purchase','cash'])]"/>
</group>
<group colspan="4" col="6">
<label string ="" colspan="2"/>
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
<button icon="terp-gtk-go-back-rtl" string="Go" name="search_invoices" type="object"/>
</group>
</form>
</field>
</record>
@ -35,16 +33,14 @@
<field name="model">account.statement.from.invoice.lines</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Import Entries">
<form string="Import Entries" version="7.0">
<header>
<button icon="gtk-execute" string="Ok" name="populate_statement" type="object" class="oe_form_button_active_flow"/>
</header>
<group colspan="4" expand="1">
<separator string="Payable and Receivables" colspan="4"/>
<field height="300" width="700" name="line_ids" colspan="4" nolabel="1" domain="[('account_id.type','in',['receivable','payable']),('reconcile_id','=',False), ('reconcile_partial_id','=',False), ('state', '=', 'valid')]"/>
</group>
<group colspan="4" col="6">
<label string ="" colspan="2"/>
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
<button icon="gtk-execute" string="Ok" name="populate_statement" type="object"/>
</group>
</form>
</field>
</record>

View File

@ -9,8 +9,7 @@
<field name="arch" type="xml">
<form string="Unreconciliation" version="7.0">
<header>
<button special="cancel" string="Cancel" icon="gtk-cancel"/>
<button name="trans_unrec" default_focus="1" string="Unreconcile" type="object" icon="gtk-ok"/>
<button name="trans_unrec" default_focus="1" string="Unreconcile" type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<separator string="Unreconciliation Transactions" />
<label string="If you unreconciliate transactions, you must also verify all the actions that are linked to those transactions because they will not be disable"/>