Merge lp:~unifield-team/unifield-wm/uftp-326-sync into lp:unifield-wm/sync

Proposed by jftempo
Status: Merged
Merged at revision: 515
Proposed branch: lp:~unifield-team/unifield-wm/uftp-326-sync
Merge into: lp:unifield-wm/sync
Diff against target: 12 lines (+1/-1)
1 file modified
sync_so/so_po_common.py (+1/-1)
To merge this branch: bzr merge lp:~unifield-team/unifield-wm/uftp-326-sync
Reviewer Review Type Date Requested Status
UniField Sync Reviewer Pending
Review via email: mp+239954@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 'sync_so/so_po_common.py'
2--- sync_so/so_po_common.py 2014-09-05 12:31:22 +0000
3+++ sync_so/so_po_common.py 2014-10-29 08:35:29 +0000
4@@ -466,7 +466,7 @@
5 # look for the correct PO line for updating the value - corresponding to the SO line
6 existing_line_ids = self.pool.get('sale.order.line').search(cr, uid, [('order_id', '=', so_id)], context=context)
7
8- if existing_line_ids and update_lines:
9+ if (existing_line_ids and update_lines) or (line_vals_dict.get('state', False) == 'done' and existing_line_ids):
10 for existing_line in existing_line_ids:
11 if existing_line not in update_lines:
12 if po_id:

Subscribers

People subscribed via source and target branches

to all changes: