[IMP] add cancel button in wizards.

bzr revid: nco@tinyerp.com-20120628094010-z4dlxcnt5tlt1cwq
This commit is contained in:
Nimesh (Open ERP) 2012-06-28 15:10:10 +05:30
parent af763c0e63
commit d1188ef84d
10 changed files with 11 additions and 0 deletions

View File

@ -9,6 +9,7 @@
<form string="Account charts" version="7.0">
<header>
<button icon="terp-gtk-go-back-rtl" string="Open Charts" name="account_chart_open_window" type="object"/>
<button special="cancel" string="_Cancel" icon="gtk-cancel"/>
</header>
<group col="4">
<field name="fiscalyear" on_change="onchange_fiscalyear(fiscalyear)"/>

View File

@ -9,6 +9,7 @@
<form string="Close states of Fiscal year and periods" version="7.0">
<header>
<button icon="terp-locked" string="Close Fiscal Year" name="data_save" type="object"/>
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
</header>
<label string ="If no additional entries should be recorded on a fiscal year, you can close it from here. It will close all opened periods in this year that will make impossible any new entry record. Close a fiscal year when you need to finalize your end of year results definitive "/>
<group>

View File

@ -9,6 +9,7 @@
<form string="Generate Fiscal Year Opening Entries" version="7.0">
<header>
<button icon="gtk-execute" string="Create" name="data_save" type="object"/>
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
</header>
<label string="This wizard will generate the end of year journal entries of selected fiscal year. Note that you can run this wizard many times for the same fiscal year: it will simply replace the old opening entries with the new ones."/>
<newline/>

View File

@ -9,6 +9,7 @@
<form string="Choose Fiscal Year " version="7.0">
<header>
<button icon="terp-gtk-go-back-rtl" string="Open" name="remove_entries" type="object"/>
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
</header>
<group>
<field name="fyear_id" domain="[('state','=','draft')]"/>

View File

@ -11,6 +11,7 @@
<header>
<button icon="gtk-execute" string="Generate Entries"
name="action_generate" type="object" />
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
</header>
<group>
<field name="date"/>

View File

@ -10,6 +10,7 @@
<form string="Account tax charts" version="7.0">
<header>
<button icon="terp-gtk-go-back-rtl" string="Open Charts" name="account_tax_chart_open_window" type="object" />
<button special="cancel" string="_Cancel" icon="gtk-cancel"/>
</header>
<group col="4">
<field name="period_id"/>

View File

@ -10,6 +10,7 @@
<form string="Create Entries From Models" version="7.0">
<header>
<button icon="gtk-execute" string="Create Entries" name="create_entries" type="object"/>
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
</header>
<label string="Create manual recurring entries in a chosen journal."/>
<group>

View File

@ -11,6 +11,7 @@
<form string="Post Journal Entries" version="7.0">
<header>
<button icon="terp-camera_test" string="Approve" name="validate_move" type="object"/>
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
</header>
<label string="All draft account entries in this journal and period will be validated. It means you won't be able to modify their accounting fields anymore."/>
<group>

View File

@ -9,6 +9,7 @@
<form string="Compute Asset" version="7.0">
<header>
<button icon="gtk-execute" string="Compute" name="asset_compute" type="object"/>
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
</header>
<group>
<field name="period_id"/>

View File

@ -10,6 +10,7 @@
<form string="Send Follow-Ups" version="7.0">
<header>
<button name="do_continue" string="Continue" colspan="1" type="object" icon="gtk-ok"/>
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
</header>
<group col="4">
<field name="followup_id"/>
@ -76,6 +77,7 @@
<header>
<button name="do_mail" string="Send Mails" colspan="1" type="object" icon="gtk-execute"/>
<button name="do_print" string="Print Follow-Ups" colspan="1" type="object" icon="gtk-print"/>
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
</header>
<notebook>
<page string="Partner Selection">