summaryrefslogtreecommitdiff
path: root/addons/procurement
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2012-07-10 18:40:11 +0200
committerFabien Pinckaers <fp@tinyerp.com>2012-07-10 18:40:11 +0200
commit64a9321d56a6f6a46cf153eafa85fb065327b025 (patch)
tree7ab4c6173cce78eea9a3f1e734331ee2a26913e4 /addons/procurement
parent7ddb4993785ee2088d2bba3fb9f063709240270e (diff)
[IMP] footer on forms
bzr revid: fp@tinyerp.com-20120710164011-unqi1okf2uu8yhts
Diffstat (limited to 'addons/procurement')
-rw-r--r--addons/procurement/wizard/make_procurement_view.xml10
-rw-r--r--addons/procurement/wizard/mrp_procurement_view.xml10
-rw-r--r--addons/procurement/wizard/orderpoint_procurement_view.xml10
-rw-r--r--addons/procurement/wizard/schedulers_all_view.xml10
4 files changed, 20 insertions, 20 deletions
diff --git a/addons/procurement/wizard/make_procurement_view.xml b/addons/procurement/wizard/make_procurement_view.xml
index de371db211f..5e18892f464 100644
--- a/addons/procurement/wizard/make_procurement_view.xml
+++ b/addons/procurement/wizard/make_procurement_view.xml
@@ -10,11 +10,6 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Procurement Request" version="7.0">
- <header>
- <button name="make_procurement" string="Ask New Products" type="object" class="oe_highlight" />
- or
- <button string="Cancel" class="oe_link" special="cancel" />
- </header>
<group col="4" string="This wizard will plan the procurement for this product. This procurement may generate task, production orders or purchase orders."/>
<group>
<field name="product_id" on_change="onchange_product_id(product_id)"/>
@@ -23,6 +18,11 @@
<field name="date_planned"/>
<field name="warehouse_id"/>
</group>
+ <footer>
+ <button name="make_procurement" string="Ask New Products" type="object" class="oe_highlight" />
+ or
+ <button string="Cancel" class="oe_link" special="cancel" />
+ </footer>
</form>
</field>
</record>
diff --git a/addons/procurement/wizard/mrp_procurement_view.xml b/addons/procurement/wizard/mrp_procurement_view.xml
index 6e6b038d9fa..ab98e598a3d 100644
--- a/addons/procurement/wizard/mrp_procurement_view.xml
+++ b/addons/procurement/wizard/mrp_procurement_view.xml
@@ -10,15 +10,15 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Parameters" version="7.0">
- <header>
+ <group>
+ <label string="This wizard will schedule procurements."/>
+ </group>
+ <footer>
<button name="procure_calculation" string="Compute Procurements"
type="object" class="oe_highlight" />
or
<button string="Cancel" class="oe_link" special="cancel" />
- </header>
- <group>
- <label string="This wizard will schedule procurements."/>
- </group>
+ </footer>
</form>
</field>
</record>
diff --git a/addons/procurement/wizard/orderpoint_procurement_view.xml b/addons/procurement/wizard/orderpoint_procurement_view.xml
index 340624fc822..5a29959949e 100644
--- a/addons/procurement/wizard/orderpoint_procurement_view.xml
+++ b/addons/procurement/wizard/orderpoint_procurement_view.xml
@@ -10,17 +10,17 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Parameters" version="7.0">
- <header>
- <button name="procure_calculation" string="Compute Stock" type="object" class="oe_highlight" />
- or
- <button string="Cancel" class="oe_link" special="cancel" />
- </header>
<group>
<label string="Wizard checks all the stock minimum rules and generate procurement order."/>
</group>
<group col="2">
<field name="automatic"/>
</group>
+ <footer>
+ <button name="procure_calculation" string="Compute Stock" type="object" class="oe_highlight" />
+ or
+ <button string="Cancel" class="oe_link" special="cancel" />
+ </footer>
</form>
</field>
</record>
diff --git a/addons/procurement/wizard/schedulers_all_view.xml b/addons/procurement/wizard/schedulers_all_view.xml
index dc25dc4c7ef..01712a0cedd 100644
--- a/addons/procurement/wizard/schedulers_all_view.xml
+++ b/addons/procurement/wizard/schedulers_all_view.xml
@@ -10,14 +10,14 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Scheduler Parameters" version="7.0">
- <header>
- <button name="procure_calculation" string="Compute Schedulers" type="object" class="oe_highlight" />
- or
- <button string="Cancel" class="oe_link" special="cancel" />
- </header>
<group string="This wizard allows you to run all procurement, production and/or purchase orders that should be processed based on their configuration. By default, the scheduler is launched automatically every night by OpenERP. You can use this menu to force it to be launched now. Note that it runs in the background, you may have to wait for a few minutes until it has finished computing.">
<field name="automatic"/>
</group>
+ <footer>
+ <button name="procure_calculation" string="Compute Schedulers" type="object" class="oe_highlight" />
+ or
+ <button string="Cancel" class="oe_link" special="cancel" />
+ </footer>
</form>
</field>
</record>