Merge lp:~unifield-team/unifield-server/us1352-sync-dpo-flag into lp:unifield-server

Proposed by jftempo
Status: Merged
Merged at revision: 3768
Proposed branch: lp:~unifield-team/unifield-server/us1352-sync-dpo-flag
Merge into: lp:unifield-server
Diff against target: 20 lines (+2/-1)
1 file modified
bin/addons/sync_so/picking.py (+2/-1)
To merge this branch: bzr merge lp:~unifield-team/unifield-server/us1352-sync-dpo-flag
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+295589@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/addons/sync_so/picking.py'
2--- bin/addons/sync_so/picking.py 2016-01-22 14:29:49 +0000
3+++ bin/addons/sync_so/picking.py 2016-05-24 14:26:35 +0000
4@@ -200,7 +200,6 @@
5 context = {}
6
7 context.update({'for_dpo': True})
8-
9 return self.partial_shipped_fo_updates_in_po(cr, uid, source, out_info, context=context)
10
11 def partial_shipped_fo_updates_in_po(self, cr, uid, source, out_info, context=None):
12@@ -222,6 +221,8 @@
13
14 if context.get('for_dpo'):
15 pick_dict = self.picking_data_update_in(cr, uid, source, pick_dict, context=context)
16+ #US-1352: Reset this flag immediately, otherwise it will impact on other normal shipments!
17+ context.update({'for_dpo': False})
18
19 # objects
20 so_po_common = self.pool.get('so.po.common')

Subscribers

People subscribed via source and target branches

to all changes: