← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 891596] Re: Sale: stock.move object not defined in sale.py

 

** Description changed:

- While I was improving sale's  yaml got the following traceback:-
+ 1)Create SO,confirm it.
+ 2)Cancel its picking and procurement,then SO state is shipping exception.
+ 3)Click on Recreate packing button
  
-   File "/home/mtr/workspace/rdtools/addons/trunk-sale_coverage-mtr/sale/sale.py", line 789, in _create_pickings_and_procurements
-     for mov in move_obj.browse(cr, uid, mov_ids):
+   File "/home/mtr/workspace/rdtools/addons/trunk-sale_coverage-mtr/sale/sale.py", line 789, in _create_pickings_and_procurements
+     for mov in move_obj.browse(cr, uid, mov_ids):
  NameError: global name 'move_obj' is not defined

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/891596

Title:
  Sale: stock.move object not defined in sale.py

Status in OpenERP Addons (modules):
  New

Bug description:
  1)Create SO,confirm it.
  2)Cancel its picking and procurement,then SO state is shipping exception.
  3)Click on Recreate packing button

    File "/home/mtr/workspace/rdtools/addons/trunk-sale_coverage-mtr/sale/sale.py", line 789, in _create_pickings_and_procurements
      for mov in move_obj.browse(cr, uid, mov_ids):
  NameError: global name 'move_obj' is not defined

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


References