Merge lp:~unifield-team/unifield-wm/us-848 into lp:unifield-wm

Proposed by jftempo
Status: Merged
Merged at revision: 2720
Proposed branch: lp:~unifield-team/unifield-wm/us-848
Merge into: lp:unifield-wm
Diff against target: 11 lines (+1/-0)
1 file modified
sale_override/sale.py (+1/-0)
To merge this branch: bzr merge lp:~unifield-team/unifield-wm/us-848
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+283584@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 'sale_override/sale.py'
2--- sale_override/sale.py 2015-12-14 11:50:31 +0000
3+++ sale_override/sale.py 2016-01-22 09:46:18 +0000
4@@ -2324,6 +2324,7 @@
5 for line in self.read(cr, uid, ids, ['order_id'], context=context):
6 ltc_ids = self.search(cr, uid, [
7 ('order_id', '=', line['order_id'][0]),
8+ ('order_id.state', '=', 'validated'),
9 ('id', '!=', line['id']),
10 ], limit=1, context=context)
11 if ltc_ids and ltc_ids[0] not in lines_to_check:

Subscribers

People subscribed via source and target branches