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
1=== modified file 'stock/wizard/stock_partial_picking.py'
2--- stock/wizard/stock_partial_picking.py 2012-03-14 13:56:28 +0000
3+++ stock/wizard/stock_partial_picking.py 2012-06-22 09:36:20 +0000
4@@ -66,7 +66,7 @@
5 for pick in pick_obj.browse(cr, uid, picking_ids, context=context):
6 pick_type = self.get_picking_type(cr, uid, pick, context=context)
7 for m in pick.move_lines:
8- if m.state in ('done', 'cancel'):
9+ if m.state in ('done', 'cancel', 'waiting', 'confirmed'):
10 continue
11 result.append(self.__create_partial_picking_memory(m, pick_type))
12