[IMP] config wizards: add an action on button 'Cancel' to get the expected behavior

bzr revid: rco@openerp.com-20120626074946-a1tzebh85ta6v75l
This commit is contained in:
Raphael Collet 2012-06-26 09:49:46 +02:00
parent 12ae053fba
commit 0806d443e8
9 changed files with 10 additions and 10 deletions

View File

@ -18,7 +18,7 @@
<form string="Configure Accounting" version="7.0">
<header>
<button string="Apply" type="object" name="execute" class="oe_highlight_on_dirty"/>
<button string="Cancel" special="cancel"/>
<button string="Cancel" type="object" name="cancel"/>
</header>
<sheet>
<field name="has_default_company" invisible="1" />

View File

@ -9,7 +9,7 @@
<form string="General Settings" version="7.0">
<header>
<button string="Apply" type="object" name="execute" class="oe_highlight_on_dirty"/>
<button string="Cancel" special="cancel"/>
<button string="Cancel" type="object" name="cancel"/>
</header>
<sheet>
<group string="Company Settings">
@ -56,7 +56,7 @@
<form string="Configure Sales" version="7.0">
<header>
<button string="Apply" type="object" name="execute" class="oe_highlight_on_dirty"/>
<button string="Cancel" special="cancel"/>
<button string="Cancel" type="object" name="cancel"/>
</header>
<sheet>
<field name="module_crm" invisible="1"/>

View File

@ -17,7 +17,7 @@
<form string="Configure Human Resources" version="7.0">
<header>
<button string="Apply" type="object" name="execute" class="oe_highlight_on_dirty"/>
<button string="Cancel" special="cancel"/>
<button string="Cancel" type="object" name="cancel"/>
</header>
<sheet>
<group string="Additional Features">

View File

@ -9,7 +9,7 @@
<form string="Configure Knowledge" version="7.0">
<header>
<button string="Apply" type="object" name="execute" class="oe_highlight_on_dirty"/>
<button string="Cancel" special="cancel"/>
<button string="Cancel" type="object" name="cancel"/>
</header>
<sheet>
<group>

View File

@ -9,7 +9,7 @@
<form string="Configure Marketing" version="7.0">
<header>
<button string="Apply" type="object" name="execute" class="oe_highlight_on_dirty"/>
<button string="Cancel" special="cancel"/>
<button string="Cancel" type="object" name="cancel"/>
</header>
<group string="Campaigns">
<field name="module_marketing_campaign"/>

View File

@ -9,7 +9,7 @@
<form string="Configure Manufacturing" version="7.0">
<header>
<button string="Apply" type="object" name="execute" class="oe_highlight_on_dirty"/>
<button string="Cancel" special="cancel"/>
<button string="Cancel" type="object" name="cancel"/>
</header>
<sheet>
<group string="Manufacturing Order">

View File

@ -9,7 +9,7 @@
<form string="Configure Project" version="7.0">
<header>
<button string="Apply" type="object" name="execute" class="oe_highlight_on_dirty"/>
<button string="Cancel" special="cancel"/>
<button string="Cancel" type="object" name="cancel"/>
</header>
<sheet>
<group string="Project">

View File

@ -9,7 +9,7 @@
<form string="Configure Purchases" version="7.0">
<header>
<button string="Apply" type="object" name="execute" class="oe_highlight_on_dirty"/>
<button string="Cancel" special="cancel"/>
<button string="Cancel" type="object" name="cancel"/>
</header>
<sheet>
<group string="Invoicing">

View File

@ -10,7 +10,7 @@
<form string="Configure Warehouse" version="7.0">
<header>
<button string="Apply" type="object" name="execute" class="oe_highlight_on_dirty"/>
<button string="Cancel" special="cancel"/>
<button string="Cancel" type="object" name="cancel"/>
</header>
<sheet>
<group string="Traceability">