diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml
index 5ce369ff8f8..ba86fc1facc 100644
--- a/addons/mrp/mrp_view.xml
+++ b/addons/mrp/mrp_view.xml
@@ -4,11 +4,93 @@
-
+
+
+
+
+
+
+
+
+ mrp.property.group.form
+ mrp.property.group
+ form
+
+
+
+
+
+ Property Categories
+ ir.actions.act_window
+ mrp.property.group
+ form
+ tree,form
+
+
+
+
+ mrp.property.tree
+ mrp.property
+ tree
+
+
+
+
+
+
+
+
+
+ mrp.property.form
+ mrp.property
+ form
+
+
+
+
+
+ Properties
+ ir.actions.act_window
+ mrp.property
+ form
+ tree,form
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Production Management
+ -->
mrp.production.tree
diff --git a/addons/mrp/process/procurement_process.xml b/addons/mrp/process/procurement_process.xml
index b96bf11229f..08d66570b1f 100644
--- a/addons/mrp/process/procurement_process.xml
+++ b/addons/mrp/process/procurement_process.xml
@@ -1,6 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -14,7 +25,7 @@
-
+
@@ -25,7 +36,7 @@
-
+
@@ -35,7 +46,7 @@
-
+
@@ -47,7 +58,7 @@
-
+
@@ -59,7 +70,7 @@
-
+
@@ -71,7 +82,7 @@
-
+
@@ -83,7 +94,7 @@
-
+
@@ -94,7 +105,7 @@
-
+
diff --git a/addons/mrp/process/service_product_process.xml b/addons/mrp/process/service_product_process.xml
index 42650a5ad24..60bf3b562b9 100644
--- a/addons/mrp/process/service_product_process.xml
+++ b/addons/mrp/process/service_product_process.xml
@@ -17,7 +17,7 @@
-->
-
+
@@ -28,7 +28,7 @@
-
+
diff --git a/addons/mrp/process/stockable_product_process.xml b/addons/mrp/process/stockable_product_process.xml
index 57c19ae7d90..c053103f476 100644
--- a/addons/mrp/process/stockable_product_process.xml
+++ b/addons/mrp/process/stockable_product_process.xml
@@ -17,7 +17,7 @@
-->
-
+
@@ -28,7 +28,7 @@
-
+
diff --git a/addons/mrp/security/mrp_security.xml b/addons/mrp/security/mrp_security.xml
index 98e199f733b..4d47e374e02 100644
--- a/addons/mrp/security/mrp_security.xml
+++ b/addons/mrp/security/mrp_security.xml
@@ -11,7 +11,7 @@
-
+
diff --git a/addons/mrp_procurement/mrp_procurement_view.xml b/addons/mrp_procurement/mrp_procurement_view.xml
index 8acbf2e8c29..84b47ee516d 100644
--- a/addons/mrp_procurement/mrp_procurement_view.xml
+++ b/addons/mrp_procurement/mrp_procurement_view.xml
@@ -5,91 +5,6 @@
Procurement
-->
-
-
-
-
-
-
-
- mrp.property.group.form
- mrp.property.group
- form
-
-
-
-
-
- Property Categories
- ir.actions.act_window
- mrp.property.group
- form
- tree,form
-
-
-
-
- mrp.property.tree
- mrp.property
- tree
-
-
-
-
-
-
-
-
-
- mrp.property.form
- mrp.property
- form
-
-
-
-
-
- Properties
- ir.actions.act_window
- mrp.property
- form
- tree,form
-
-
-
-
-
mrp.procurement.tree
mrp.procurement
@@ -199,8 +114,6 @@
-
Procurements
@@ -222,8 +135,6 @@
[('state','=','exception')]
-
Procurement Exceptions to Fix
ir.actions.act_window
@@ -324,8 +235,6 @@
-
-
diff --git a/addons/mrp_procurement/process/procurement_process.xml b/addons/mrp_procurement/process/procurement_process.xml
index 0b39dca3a0c..21f953c6a6f 100644
--- a/addons/mrp_procurement/process/procurement_process.xml
+++ b/addons/mrp_procurement/process/procurement_process.xml
@@ -16,16 +16,6 @@
Process Node
-->
-
-
-
-
-
-
-
-
-
-
diff --git a/addons/mrp_procurement/wizard/schedulers_all_view.xml b/addons/mrp_procurement/wizard/schedulers_all_view.xml
index 2866eb97275..33861287278 100644
--- a/addons/mrp_procurement/wizard/schedulers_all_view.xml
+++ b/addons/mrp_procurement/wizard/schedulers_all_view.xml
@@ -30,8 +30,5 @@
key2="client_action_multi"
id="action_compute_schedulers"/>
-
-
-
diff --git a/addons/purchase/purchase.py b/addons/purchase/purchase.py
index 79030850e84..a7d69159873 100644
--- a/addons/purchase/purchase.py
+++ b/addons/purchase/purchase.py
@@ -770,7 +770,7 @@ class mrp_procurement(osv.osv):
'fiscal_position': partner.property_account_position and partner.property_account_position.id or False
})
res[procurement.id] = purchase_id
- self.write(cr, uid, [procurement.id], {'state': 'running'}) #, 'purchase_id': purchase_id
+ self.write(cr, uid, [procurement.id], {'state': 'running', 'purchase_id': purchase_id})
return res
mrp_procurement()
diff --git a/addons/sale/__openerp__.py b/addons/sale/__openerp__.py
index 987b333888f..23e72c60775 100644
--- a/addons/sale/__openerp__.py
+++ b/addons/sale/__openerp__.py
@@ -57,7 +57,7 @@
'report/sale_report_view.xml',
'sale_report.xml',
'stock_view.xml',
- 'process/sale_process.xml',
+# 'process/sale_process.xml',
],
'demo_xml': ['sale_demo.xml'],
'installable': True,