miss one

import in your module: from tools.translate import _

Your patch is ok, i do the same here, but maybe add the product name in
your except_osv, because, if many product in the mrp, that will help
user to identify which items need a prodlots

raise osv.except_osv(_('Warning!'), _('Please provide Production Lots
before consuming ! [product:%s]') % move.product_id.name)

-- 
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....

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

Reply via email to