← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 742613] Re: (6.0) MO: production lot in products to consume

 

This behaviour always confused me.  We overwrote it months ago, but our
requirement was quite specific, to transform/reuse the prodlot from the
raw materials so we autocreate it.

The problem happens in stock_move when action_consume calls action_split
after mrp production has called action_produce.  This makes me think
that the problem is not restricted to just mrp.  To be honest I thought
it was just strange behaviour that we didn't like so we changed it,
never thought of as a bug.  The easiest solution is to raise an
exception early in action_produce in MRP.  In fact just create a custom
module that does exactly that, just contains action_produce, checks for
the exception and if it doesn't exist, then calls super.

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

Title:
  (6.0) MO: production lot in products to consume

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  (already reported to support on 06.01.11 / ticket id 3732)

  set component A in product.form as 'batch handled'

  create a new MO with BoM which has got product A as component, confirm
  MO

  'consume' component A

  first issue:
  production lot is NOT mandantory

  second issue:
  with consumption without production lot OpenERP generates new production lots in 'Consumed Products'

  third issue:
  after you selected a production lot in 'Products to Consume' this production lot quite often gets lost e.g. after  'scraping' in products to consume....


References