summaryrefslogtreecommitdiff
path: root/addons/account_analytic_plans/wizard/analytic_plan_create_model_view.xml
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2012-06-09 15:50:41 +0200
committerFabien Pinckaers <fp@tinyerp.com>2012-06-09 15:50:41 +0200
commitdcc975b79a19eef3d95836bc7bcc8c6ae343aabd (patch)
tree70a344686400e50d915486c8d3adb11ec55856fc /addons/account_analytic_plans/wizard/analytic_plan_create_model_view.xml
parent982612714867e98f11cfb3ec9840a9208fbe7107 (diff)
[IMP] better views, mostly accoung wizards form
bzr revid: fp@tinyerp.com-20120609135041-570vyqpa9m2f1huw
Diffstat (limited to 'addons/account_analytic_plans/wizard/analytic_plan_create_model_view.xml')
-rw-r--r--addons/account_analytic_plans/wizard/analytic_plan_create_model_view.xml42
1 files changed, 17 insertions, 25 deletions
diff --git a/addons/account_analytic_plans/wizard/analytic_plan_create_model_view.xml b/addons/account_analytic_plans/wizard/analytic_plan_create_model_view.xml
index 75ef07e0098..d07cd317def 100644
--- a/addons/account_analytic_plans/wizard/analytic_plan_create_model_view.xml
+++ b/addons/account_analytic_plans/wizard/analytic_plan_create_model_view.xml
@@ -1,40 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
- <record id="view_analytic_plan_create_model_msg" model="ir.ui.view">
+ <record id="view_analytic_plan_create_model_msg" model="ir.ui.view">
<field name="name">analytic.plan.create.model.msg.form</field>
<field name="model">analytic.plan.create.model</field>
<field name="type">form</field>
<field name="arch" type="xml">
- <form string="Distribution Model Saved">
- <group col="4" colspan="6">
- <label string="Save This Distribution as a Model"/>
- <newline/>
- </group>
- <separator colspan="4"/>
- <group col="2" colspan="4">
- <button special="cancel" string="Cancel" icon='gtk-ok' />
- <button string="Ok" icon='gtk-execute' type="object" name="activate" default_focus="1"/>
- </group>
- </form>
+ <form string="Distribution Model Saved" version="7.0">
+ <header>
+ <button string="Ok" icon='gtk-execute' type="object" name="activate" default_focus="1"/>
+ <button special="cancel" string="Cancel" icon='gtk-ok' />
+ <header>
+ <label string="Save This Distribution as a Model"/>
+ </form>
</field>
</record>
- <record id="view_analytic_plan_create_model" model="ir.ui.view">
+ <record id="view_analytic_plan_create_model" model="ir.ui.view">
<field name="name">analytic.plan.create.model.form</field>
<field name="model">analytic.plan.create.model</field>
<field name="type">form</field>
<field name="arch" type="xml">
- <form string="Distribution Model Saved">
- <group col="4" colspan="6">
- <label string="This distribution model has been saved.You will be able to reuse it later."/>
- <newline/>
- </group>
- <separator colspan="4"/>
- <group col="2" colspan="4">
- <button special="cancel" string="Ok" icon='gtk-ok'/>
- </group>
- </form>
+ <form string="Distribution Model Saved" version="7.0">
+ <header>
+ <button special="cancel" string="Ok" icon='gtk-ok'/>
+ <header>
+ <label string="This distribution model has been saved.You will be able to reuse it later."/>
+ </form>
</field>
</record>
@@ -49,5 +41,5 @@
<field name="view_id" ref="view_analytic_plan_create_model_msg"/>
</record>
- </data>
-</openerp> \ No newline at end of file
+ </data>
+</openerp>