← Back to team overview

openerp-india team mailing list archive

[Bug 1249258] Re: [trunk/7.0/6.1] mrp: outgoing picking not created in subcontracted production

 

** Summary changed:

- [7.0/6.1] mrp: outgoing picking not created in subcontracted production
+ [trunk/7.0/6.1] mrp: outgoing picking not created in subcontracted production

** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)

-- 
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/1249258

Title:
  [trunk/7.0/6.1] mrp: outgoing picking not created in subcontracted
  production

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Deep testing production with subcontracting, I found the following
  issue:

  I have created a supplier location linked to a supplier address. I
  have created a routing where production location is that supplier's
  location (let's call it 'external routing'). I have a manufacturable
  product with a BoM, to which I may have decided to link the external
  routing or not (blank). And that is the point, because it makes the
  mrp.production method '_make_production_internal_shipment' behave
  correctly or not:

  If the product's BoM has my 'external routing' linked,
  _make_production_internal_shipment creates an outgoing picking for raw
  materials. Right.

  But if the product's BoM has no routing,
  _make_production_internal_shipment will create an internal picking,
  EVEN if I have chosen my 'external routing' in the manufacturing
  order.

  Shouldn't _make_production_internal_shipment look first at the
  production's own routing, rather than going directly to
  bom_id.routing?

  I attach a quite simple proposal to fix this. Hope it helps.

  Greetings.

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


References