summaryrefslogtreecommitdiff
path: root/addons/procurement/wizard
diff options
context:
space:
mode:
authorTejas Tank <tta@openerp.com>2012-07-16 17:16:51 +0530
committerTejas Tank <tta@openerp.com>2012-07-16 17:16:51 +0530
commitd5d2e420161e7ecdbdbecedd8b47c54033af3c8a (patch)
tree8c5d9674e5c8f215206b5557945fbfd87d5a99c1 /addons/procurement/wizard
parentc50debfbd328c472c2c247bfb66d768256fe994b (diff)
parent08d2eb4828398b2deae80bb7d7bcd7436db1bb57 (diff)
[IMP] code improve and merge with latest.
bzr revid: tta@openerp.com-20120716114651-19wmcwhj7f6b4qj9
Diffstat (limited to 'addons/procurement/wizard')
-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>