[IMP] Added the missing cancel in install wozard

bzr revid: jam@tinyerp.com-20120628100555-42rbew2arpfk7j2s
This commit is contained in:
Jigar Amin - OpenERP 2012-06-28 15:35:55 +05:30
parent 30fa85448a
commit 0a797c6ffd
3 changed files with 7 additions and 2 deletions

View File

@ -48,7 +48,9 @@ class base_module_upgrade(osv.osv_memory):
if not ids:
res['arch'] = '''<form string="Apply Scheduled Upgrades" version="7.0">
<header>
<button name="config" string="Start configuration" type="object" icon="gtk-ok" class="oe_highlight_on_dirty"/>
<button name="config" string="Start configuration" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel"/>
</header>
<group>
<separator string="System update completed" colspan="4"/>

View File

@ -48,7 +48,9 @@
<field name="arch" type="xml">
<form string="Apply Scheduled Upgrades" version="7.0">
<header>
<button name="config" string="Start configuration" type="object" icon="gtk-ok" class="oe_highlight_on_dirty" />
<button name="config" string="Start configuration" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel"/>
</header>
<group>
<label string="The selected modules have been updated / installed !"/>

View File

@ -9,6 +9,7 @@
<header>
<button name="action_next" type="object"
string="Apply" class="oe_highlight_on_dirty" />
or
<button name="action_skip" type="object" special="cancel"
string="Cancel" class="oe_link"/>
</header>