[IMP] base module: improve form views (mostly wizard buttons)
bzr revid: rco@openerp.com-20120628134438-cradi38peku5mai1
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<form string="Export Translations" version="7.0">
|
||||
<header>
|
||||
<button name="act_getfile" string="_Export" type="object" states="choose" class="oe_highlight_on_dirty"/>
|
||||
or
|
||||
<label string="or" states="choose"/>
|
||||
<button string="Cancel" class="oe_link" special="cancel" />
|
||||
</header>
|
||||
<group col="8">
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
<field name="model">base.language.install</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Load Official Translation" version="7.0">
|
||||
<form string="Load a Translation" version="7.0">
|
||||
<header>
|
||||
<button name="lang_install" string="Load" type="object" states="init" class="oe_highlight_on_dirty" />
|
||||
or
|
||||
<button string="Cancel" class="oe_link" special="cancel" />
|
||||
<button name="lang_install" string="Load" type="object" states="init" class="oe_highlight_on_dirty"/>
|
||||
<label string="or" states="init"/>
|
||||
<button string="Cancel" class="oe_link" special="cancel"/>
|
||||
</header>
|
||||
<group colspan="4" col="8">
|
||||
<group colspan="1">
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
<form string="Import module" version="7.0">
|
||||
<header>
|
||||
<button name="importzip" string="Import module" type="object" states="init" class="oe_highlight_on_dirty"/>
|
||||
or
|
||||
<label string="or" states="init"/>
|
||||
<button name="action_module_open" string="Open Modules" type="object" states="done" class="oe_highlight_on_dirty"/>
|
||||
or
|
||||
<label string="or" states="done"/>
|
||||
<button string="Cancel" class="oe_link" special="cancel"/>
|
||||
</header>
|
||||
<group col="8">
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
<form string="Update Module List" version="7.0">
|
||||
<header>
|
||||
<button name="update_module" string="Update" type="object" states="init" class="oe_highlight_on_dirty"/>
|
||||
or
|
||||
<label string="or" states="init"/>
|
||||
<button name="action_module_open" string="Open Modules" type="object" states="done" class="oe_highlight_on_dirty"/>
|
||||
or
|
||||
<label string="or" states="done"/>
|
||||
<button string="Cancel" class="oe_link" special="cancel" />
|
||||
</header>
|
||||
<group col="8">
|
||||
|
||||
@@ -55,7 +55,7 @@ class base_module_upgrade(osv.osv_memory):
|
||||
<group>
|
||||
<separator string="System update completed" colspan="4"/>
|
||||
<label align="0.0" string="The selected modules have been updated / installed !" colspan="4"/>
|
||||
<label align="0.0" string="We suggest to reload the menu tab to see the new menus (Ctrl+T then Ctrl+R)." colspan="4"/>
|
||||
<label align="0.0" string="We suggest to reload the page to see the new menus." colspan="4"/>
|
||||
</group>
|
||||
</form>'''
|
||||
|
||||
|
||||
@@ -24,29 +24,29 @@
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Publisher Warranty Contract" version="7.0">
|
||||
<header>
|
||||
<button name="check_validity" string="Validate" type="object"
|
||||
attrs="{'invisible':[('state','in',['valid', 'terminated', 'canceled'])]}"/>
|
||||
<button name="check_validity" string="Refresh Validation Dates" type="object"
|
||||
attrs="{'invisible':[('state','in',['unvalidated'])]}"/>
|
||||
or
|
||||
<button string="Cancel" class="oe_link" special="cancel" />
|
||||
</header>
|
||||
<sheet>
|
||||
<group col="3" colspan="4">
|
||||
<group col="2">
|
||||
<group col="3">
|
||||
<group>
|
||||
<field name="name"/>
|
||||
</group>
|
||||
<group col="2">
|
||||
<group>
|
||||
<field name="date_start"/>
|
||||
<field name="date_stop"/>
|
||||
<field name="check_support"/>
|
||||
</group>
|
||||
<group col="2">
|
||||
<group>
|
||||
<field name="state"/>
|
||||
<field name="kind"/>
|
||||
<field name="check_opw"/>
|
||||
</group>
|
||||
<group col="2" colspan="3">
|
||||
<button name="check_validity" string="Validate" type="object"
|
||||
attrs="{'invisible':[('state','in',['valid', 'terminated', 'canceled'])]}"/>
|
||||
<button name="check_validity" string="Refresh Validation Dates" type="object"
|
||||
attrs="{'invisible':[('state','in',['unvalidated'])]}"/>
|
||||
or
|
||||
<button string="Cancel" class="oe_link" special="cancel" />
|
||||
</group>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
@@ -97,7 +97,7 @@
|
||||
<form string="Register a Contract" version="7.0">
|
||||
<header>
|
||||
<button name="action_validate" string="Register" type="object" states="draft" class="oe_highlight_on_dirty" />
|
||||
or
|
||||
<label string="or" states="draft"/>
|
||||
<button string="Cancel" class="oe_link" special="cancel" />
|
||||
</header>
|
||||
<group colspan="4" col="8">
|
||||
|
||||
@@ -7,11 +7,9 @@
|
||||
<field name="arch" type="xml">
|
||||
<form version="7.0">
|
||||
<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"/>
|
||||
<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>
|
||||
<group string="res_config_contents"/>
|
||||
</form>
|
||||
@@ -25,8 +23,7 @@
|
||||
<field name="arch" type="xml">
|
||||
<form string="Next Configuration Step" version="7.0">
|
||||
<header>
|
||||
<button name="action_next" type="object"
|
||||
string="Continue" class="oe_highlight_on_dirty"/>
|
||||
<button name="action_next" type="object" string="Continue" class="oe_highlight_on_dirty"/>
|
||||
or
|
||||
<button string="Cancel" class="oe_link" special="cancel" />
|
||||
</header>
|
||||
@@ -48,9 +45,7 @@
|
||||
or
|
||||
<button string="Cancel" class="oe_link" special="cancel" />
|
||||
</header>
|
||||
<group>
|
||||
<separator string="title" colspan="4"/>
|
||||
</group>
|
||||
<separator string="title" colspan="4"/>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user