Merge lp:~julienmarchandise/unifield-server/US-6648 into lp:unifield-server

Proposed by jftempo
Status: Merged
Merged at revision: 5618
Proposed branch: lp:~julienmarchandise/unifield-server/US-6648
Merge into: lp:unifield-server
Diff against target: 13 lines (+2/-1)
1 file modified
bin/addons/purchase/purchase_order.py (+2/-1)
To merge this branch: bzr merge lp:~julienmarchandise/unifield-server/US-6648
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+378103@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/purchase/purchase_order.py'
2--- bin/addons/purchase/purchase_order.py 2019-10-22 16:08:47 +0000
3+++ bin/addons/purchase/purchase_order.py 2020-01-27 10:41:37 +0000
4@@ -511,7 +511,8 @@
5 # PO state must not go back:
6 if po.push_fo:
7 # fo push, 2 line added, L2 cancel , sync => resulting PO must be validated
8- po_state_seq['sourced_p'] = 0
9+ po_state_seq['draft_p'] = 0
10+ po_state_seq['sourced_p'] = 5
11 if po_state_seq.get(res[po.id], 100) < po_state_seq.get(po.state, 0):
12 res[po.id] = po.state
13 else:

Subscribers

People subscribed via source and target branches