Merge lp:~technofluid-team/openobject-addons/bug_correction into lp:openobject-addons/6.0

Proposed by Clément THOMAS
Status: Needs review
Proposed branch: lp:~technofluid-team/openobject-addons/bug_correction
Merge into: lp:openobject-addons/6.0
Diff against target: 11 lines (+1/-1)
1 file modified
stock/wizard/stock_partial_picking.py (+1/-1)
To merge this branch: bzr merge lp:~technofluid-team/openobject-addons/bug_correction
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+111566@code.launchpad.net

Description of the change

Before correction, when we do a partial delivery, waiting and confirmed moves appears on the list when we process a delivery or internal picking. Now they are not listed.

To post a comment you must log in.

Unmerged revisions

5268. By cth

Before correction, when we do a partial delivery, waiting and confirmed moves appears on the list when we process a delivery or internal picking. Now they are not listed.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'stock/wizard/stock_partial_picking.py'
--- stock/wizard/stock_partial_picking.py 2012-03-14 13:56:28 +0000
+++ stock/wizard/stock_partial_picking.py 2012-06-22 09:36:20 +0000
@@ -66,7 +66,7 @@
66 for pick in pick_obj.browse(cr, uid, picking_ids, context=context):66 for pick in pick_obj.browse(cr, uid, picking_ids, context=context):
67 pick_type = self.get_picking_type(cr, uid, pick, context=context)67 pick_type = self.get_picking_type(cr, uid, pick, context=context)
68 for m in pick.move_lines:68 for m in pick.move_lines:
69 if m.state in ('done', 'cancel'):69 if m.state in ('done', 'cancel', 'waiting', 'confirmed'):
70 continue70 continue
71 result.append(self.__create_partial_picking_memory(m, pick_type))71 result.append(self.__create_partial_picking_memory(m, pick_type))
7272