Crash on returning picking
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Low
|
OpenERP R&D Addons Team 3 | ||
OpenERP Community Backports (Addons) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
crash appear in OpenERP 6.1, when opening the return wizard on picking which has lines that are not done (cancelled for example). Code line: stock/wizard/
Code line:
return_history = self.get_
get_return_history adds only "done" lines to the dictionary, and default_get method tries to get all of the lines from it:
for line in pick.move_lines:
qty = line.product_qty - return_
In OpenERP 7.0 it adds all the lines (using "qty = line.product_qty - return_
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 15 lines (+3/-2)1 file modifiedstock/wizard/stock_return_picking.py (+3/-2)
Changed in openobject-addons: | |
importance: | Undecided → Low |
status: | New → Confirmed |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
Changed in openobject-addons: | |
status: | Confirmed → Fix Committed |