From 201b94bd38f22e96bd7880596876db820274aeb0 Mon Sep 17 00:00:00 2001
From: "qdp-launchpad@tinyerp.com" <>
Date: Fri, 15 Oct 2010 18:58:59 +0200
Subject: [PATCH] [IMP] mrp: usability improvements
bzr revid: qdp-launchpad@tinyerp.com-20101015165859-3k9mc0e1zow8sioo
---
addons/mrp/mrp.py | 2 +-
addons/mrp/report/mrp_report_view.xml | 7 -------
addons/mrp_operations/mrp_operations_view.xml | 2 +-
3 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/addons/mrp/mrp.py b/addons/mrp/mrp.py
index 1b27873bd75..821703d3f57 100644
--- a/addons/mrp/mrp.py
+++ b/addons/mrp/mrp.py
@@ -967,7 +967,7 @@ class mrp_production_workcenter_line(osv.osv):
'cycle': fields.float('Nbr of cycles', digits=(16,2)),
'hour': fields.float('Nbr of hours', digits=(16,2)),
'sequence': fields.integer('Sequence', required=True, help="Gives the sequence order when displaying a list of work orders."),
- 'production_id': fields.many2one('mrp.production', 'Production Order', select=True, ondelete='cascade'),
+ 'production_id': fields.many2one('mrp.production', 'Production Order', select=True, ondelete='cascade', required=True),
}
_defaults = {
'sequence': lambda *a: 1,
diff --git a/addons/mrp/report/mrp_report_view.xml b/addons/mrp/report/mrp_report_view.xml
index dcb2bcb3566..478221d55b9 100644
--- a/addons/mrp/report/mrp_report_view.xml
+++ b/addons/mrp/report/mrp_report_view.xml
@@ -51,9 +51,6 @@
-
@@ -101,10 +98,6 @@
graph,tree
Weekly Stock Value Variation enables you to track stock value evolution as a result of manufacturing activities (consumption of raw materials, production of finished goods, added accounting value of stock by the creation of value following the transformation of products).
-
-
-
diff --git a/addons/mrp_operations/mrp_operations_view.xml b/addons/mrp_operations/mrp_operations_view.xml
index d740b6d499a..6d78ed109a2 100644
--- a/addons/mrp_operations/mrp_operations_view.xml
+++ b/addons/mrp_operations/mrp_operations_view.xml
@@ -106,7 +106,7 @@
-
+