[REV] Undo header template extraction
bzr revid: odo@openerp.com-20121003161641-9zodo9ks2bqjjjfd
This commit is contained in:
parent
3744f5c402
commit
d2f3bbf4bc
|
@ -1170,9 +1170,9 @@
|
|||
<field name="model">ir.translation</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Translations" version="7.0">
|
||||
<t t-call="ui.Header">
|
||||
<header>
|
||||
<field name="state" widget="statusbar" nolabel="1"/>
|
||||
</t>
|
||||
</header>
|
||||
<sheet>
|
||||
<group>
|
||||
<group>
|
||||
|
@ -1733,30 +1733,26 @@
|
|||
<field name="name">Config Wizard Steps</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Config Wizard Steps" version="7.0">
|
||||
<t t-call="ui.Header">
|
||||
<header>
|
||||
<button name="action_launch"
|
||||
states="open" string="Launch"
|
||||
type="object" icon="gtk-execute"
|
||||
class="oe_highlight"
|
||||
help="Launch Configuration Wizard"/>
|
||||
states="open" string="Launch"
|
||||
type="object" icon="gtk-execute" class="oe_highlight"
|
||||
help="Launch Configuration Wizard"/>
|
||||
<button name="action_open" states="done"
|
||||
string="Set as Todo" type="object"
|
||||
icon="gtk-convert" class="oe_highlight"/>
|
||||
<field name="state" widget="statusbar"
|
||||
statusbar_visible="open,done" nolabel="1"
|
||||
readonly="1"
|
||||
statusbar_colors='{"open":"red","done":"blue"}'/>
|
||||
</t>
|
||||
<sheet>
|
||||
<group col="4">
|
||||
<field name="action_id"/>
|
||||
<field name="type"/>
|
||||
<field name="sequence"/>
|
||||
</group>
|
||||
<group string="Groups">
|
||||
<field name="groups_id" nolabel="1" colspan="4"/>
|
||||
</group>
|
||||
</sheet>
|
||||
string="Set as Todo" type="object"
|
||||
icon="gtk-convert" class="oe_highlight"/>
|
||||
<field name="state" widget="statusbar" statusbar_visible="open,done" nolabel="1" readonly="1" statusbar_colors='{"open":"red","done":"blue"}'/>
|
||||
</header>
|
||||
<sheet>
|
||||
<group col="4">
|
||||
<field name="action_id"/>
|
||||
<field name="type"/>
|
||||
<field name="sequence"/>
|
||||
</group>
|
||||
<group string="Groups">
|
||||
<field name="groups_id" nolabel="1" colspan="4"/>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
@ -47,10 +47,10 @@ class base_module_upgrade(osv.osv_memory):
|
|||
ids = self.get_module_list(cr, uid, context=context)
|
||||
if not ids:
|
||||
res['arch'] = '''<form string="Apply Schedule Upgrade" version="7.0">
|
||||
<t t-call="ui.Header">
|
||||
<header>
|
||||
<button name="config" string="Start configuration" type="object" icon="gtk-ok"/>
|
||||
<button special="cancel" string="Close" icon="gtk-cancel"/>
|
||||
</t>
|
||||
</header>
|
||||
<separator string="Apply Schedule Upgrade" colspan="4"/>
|
||||
</form>'''
|
||||
|
||||
|
|
|
@ -82,11 +82,11 @@
|
|||
<field name="model">res.widget.wizard</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Widget Wizard" col="4" version="7.0">
|
||||
<t t-call="ui.Header">
|
||||
<header>
|
||||
<button name="res_widget_add" string="Add" type="object" class="oe_highlight"/>
|
||||
or
|
||||
<button string="Cancel" class="oe_link" special="cancel" />
|
||||
</t>
|
||||
</header>
|
||||
<group>
|
||||
<field name="widgets_list"/>
|
||||
</group>
|
||||
|
|
Loading…
Reference in New Issue