← Back to team overview

openerp-india team mailing list archive

[Bug 1172694] Re: [Trunk/7.0] do_partial function in partial picking wizard doesn't accept a wizard line without move_id

 

Hello Yannick,

Thanks for the pointing out!
I have done it.

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

Title:
  [Trunk/7.0] do_partial function in partial picking wizard doesn't
  accept a wizard line without move_id

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  In addons/stock/stock_partial_picking.py

  There is a check if move_id is define, however the partial picking
  will fail like this:

    File ".../7.0/trunk/parts/syleam/stock_scanner/stock_scanner.py", line 664, in _scenario_save
      exec step.python_code in ld
    File "<string>", line 38, in <module>
    File ".../7.0/trunk/parts/addons/stock/wizard/stock_partial_picking.py", line 212, in do_partial
      partial_data['move%s' % (wizard_line.move_id.id)].update(product_price=wizard_line.cost,
  KeyError: 'moveFalse'

  I make a MP to fix this

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