← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 801017] [NEW] Work Orders Concatinate

 

Public bug reported:

Using OpenERP 6.02

When the scheduler runs it creates Manufacturing Orders as required
In the case where a product is made up of several products ie. BOM the routings are concatenated so that the work orders for Product A (Consisting of Product C and Product D) also have the routings for Product C and D included in the Work Orders for Product A.
Products C and D should be produced already and their Work Orders completed already. We don't need to see them again.

The problem is in mrp.py in: def _bom_explode()

Changed:
if bom.routing_id:
to:
if bom.routing_id and not addthis:

Reasoning is that the "addthis" variable is False by default and is only set True when called recursively
We want to add the BOM items but not add the Routing Items

Thanks

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/801017

Title:
  Work Orders Concatinate

Status in OpenERP Modules (addons):
  New

Bug description:
  Using OpenERP 6.02

  When the scheduler runs it creates Manufacturing Orders as required
  In the case where a product is made up of several products ie. BOM the routings are concatenated so that the work orders for Product A (Consisting of Product C and Product D) also have the routings for Product C and D included in the Work Orders for Product A.
  Products C and D should be produced already and their Work Orders completed already. We don't need to see them again.

  The problem is in mrp.py in: def _bom_explode()

  Changed:
  if bom.routing_id:
  to:
  if bom.routing_id and not addthis:

  Reasoning is that the "addthis" variable is False by default and is only set True when called recursively
  We want to add the BOM items but not add the Routing Items

  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/801017/+subscriptions


Follow ups

References