Kirti Savalia(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-801017-ksa into 
lp:openobject-addons.

Requested reviews:
  Rucha (Open ERP) (rpa-openerp)
Related bugs:
  Bug #801017 in OpenERP Addons: "Work Orders Concatinate"
  https://bugs.launchpad.net/openobject-addons/+bug/801017

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-801017-ksa/+merge/70120

Work Orders Concatinate in that add bom items not add routing items.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-801017-ksa/+merge/70120
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-801017-ksa.
=== modified file 'mrp/mrp.py'
--- mrp/mrp.py	2011-07-01 23:41:24 +0000
+++ mrp/mrp.py	2011-08-02 07:36:46 +0000
@@ -338,7 +338,7 @@
                     'product_uos_qty': bom.product_uos and bom.product_uos_qty * factor or False,
                     'product_uos': bom.product_uos and bom.product_uos.id or False,
                 })
-            if bom.routing_id:
+            if bom.routing_id and not addthis:
                 for wc_use in bom.routing_id.workcenter_lines:
                     wc = wc_use.workcenter_id
                     d, m = divmod(factor, wc_use.workcenter_id.capacity_per_cycle)

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to