← Back to team overview

openerp-india team mailing list archive

Re: [Bug 801017] Re: Work Orders Concatinate

 

Hi,

I still think that there is a problem here.

When I "Compute Data" for a new Production Order i t concatenates the 
routings.

Problem is that the subassembly routings appear after the main product.
It does not make sense for the Production Workcenters to work on the sub 
assemblies after the main product.
Seems like _bom_explode will do this every time

Am I correct here?

Thanks

Grahame Jordan

On 18/09/11 00:13, Fabien (Open ERP) wrote:
> If it's a multi-level BoM (means 1 bom expressed with several levels),
> it's normal to concatenate all routings.
>
> ** Changed in: openobject-addons
>         Status: Fix Committed =>  Invalid
>
> -- You received this bug notification because you are subscribed to 
> the bug report. https://bugs.launchpad.net/bugs/801017 Title: Work 
> Orders Concatinate To manage notifications about this bug go to: 
> https://bugs.launchpad.net/openobject-addons/+bug/801017/+subscriptions

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/801017

Title:
  Work Orders Concatinate

Status in OpenERP Addons (modules):
  Invalid

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