Hello Yannick,

Thanks for detailed discussion.

I have faced the same error my end, But we can produce it explicitly. i.e I 
have put the move_id on partial_picking_line view.
Then after I have manually removed the move_id from that wizard, then after I 
faced the same error.

Same kind of error also faced before reproducing this issue see code.
method def _tracking 
           if (tracklot.move_id.picking_id.type == 'in' and 
tracklot.product_id.track_incoming == True) or \
                (tracklot.move_id.picking_id.type == 'out' and 
tracklot.product_id.track_outgoing == True):

Here also we get the traceback when we removed the move_id manually.

Thank you!

** Summary changed:

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

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

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

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

Reply via email to