From e27810b80945b34bb387288ef4bd79077cada6e8 Mon Sep 17 00:00:00 2001 From: "RavishchanraMurari (Open ERP)" Date: Wed, 12 Oct 2011 14:52:09 +0530 Subject: [PATCH] add_user_id_in_mrp bzr revid: rmu@tinyerp.com-20111012092209-vjxhv89ml34drugh --- addons/mrp/mrp.py | 2 +- addons/mrp/mrp_view.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/mrp/mrp.py b/addons/mrp/mrp.py index 422700710d8..a63ca6fbdab 100644 --- a/addons/mrp/mrp.py +++ b/addons/mrp/mrp.py @@ -467,7 +467,7 @@ class mrp_production(osv.osv): 'bom_id': fields.many2one('mrp.bom', 'Bill of Material', domain=[('bom_id','=',False)], readonly=True, states={'draft':[('readonly',False)]}), 'routing_id': fields.many2one('mrp.routing', string='Routing', on_delete='set null', readonly=True, states={'draft':[('readonly',False)]}, help="The list of operations (list of work centers) to produce the finished product. The routing is mainly used to compute work center costs during operations and to plan future loads on work centers based on production plannification."), - + 'user_id':fields.many2one('res.users', 'Responsible'), 'picking_id': fields.many2one('stock.picking', 'Picking list', readonly=True, ondelete="restrict", help="This is the internal picking list that brings the finished product to the production plan"), 'move_prod_id': fields.many2one('stock.move', 'Move product', readonly=True), diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml index cec6fd42687..13ac6287e52 100644 --- a/addons/mrp/mrp_view.xml +++ b/addons/mrp/mrp_view.xml @@ -777,6 +777,7 @@ +