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

Proposed by jftempo
Status: Needs review
Proposed branch: lp:~unifield-team/unifield-wm/us-622
Merge into: lp:unifield-wm
Diff against target: 12 lines (+1/-1)
1 file modified
sale_override/sale.py (+1/-1)
To merge this branch: bzr merge lp:~unifield-team/unifield-wm/us-622
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+273953@code.launchpad.net
To post a comment you must log in.

Unmerged revisions

2630. By Quentin THEURET @Amaris

US-622 [FIX] Create the loan counterpart even if the FO has been created by the sync. engine

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-08-07 03:28:33 +0000
3+++ sale_override/sale.py 2015-10-09 07:50:52 +0000
4@@ -1174,7 +1174,7 @@
5
6 for order in self.browse(cr, uid, ids):
7 # UTP-392: don't create a PO if it is created by sync ofr the loan
8- if order.is_a_counterpart or (order.order_type == 'loan' and order.fo_created_by_po_sync):
9+ if order.is_a_counterpart or order.order_type != 'loan':
10 return
11
12 two_months = today() + RelativeDateTime(months=+2)

Subscribers

People subscribed via source and target branches