Activity log for bug #1252652

Date Who What changed Old value New value Message
2013-11-19 08:46:40 Jordi Llinares - KM Sistemas bug added bug
2013-11-19 08:46:40 Jordi Llinares - KM Sistemas attachment added mrp.patch https://bugs.launchpad.net/bugs/1252652/+attachment/3912344/+files/mrp.patch
2013-11-19 09:04:09 Jordi Llinares - KM Sistemas description By default, when confirming a manufacturing order, OpenERP creates consume and produce moves in _make_production_produce_line and _make_production_consume_line methods. These methods take production location from each product's "default production location" field. IMHO, if the production has a routing assigned, and the routing was defined with a specific production location, this location should be the first choice production location. The field for the default production location in the product's form is useful when you don't want to specify a production location for a routing. But mrp.routing_id.location_id should always be the first option (if defined). Maybe this issue is (conceptually) slightly related to bug #1249258, since neither in that bug a particular manufacturing order's production location wasn't kept into account, which in that case derived into a bug related to subcontracted manufacturing. I attached a proposed enhancement patch. By default, when confirming a manufacturing order, OpenERP creates consume and produce moves in _make_production_produce_line and _make_production_consume_line methods. These methods take production location from each product's "default production location" field. IMHO, if the production has a routing assigned, and the routing was defined with a specific production location, this location should be the first choice production location. The field for the default production location in the product's form is useful when you don't want to specify a production location for a routing. But mrp.routing_id.location_id should always be the first option (if defined). Maybe this issue is (conceptually) slightly related to bug #1249258, since neither in that bug the production location for a particular manufacturing order's routing wasn't kept into account, which in that case derived into a bug related to subcontracted manufacturing. I attached a proposed enhancement patch.
2014-01-14 14:41:57 Launchpad Janitor branch linked lp:~therp-nl/openobject-addons/trunk-lp1252652
2014-03-14 07:02:13 Holger Brunn (Therp) marked as duplicate 1212197
2014-03-14 07:28:09 Holger Brunn (Therp) removed duplicate marker 1212197