Merge lp:~julie-w/unifield-server/US-5796 into lp:unifield-server/uf12

Proposed by jftempo
Status: Merged
Merged at revision: 5313
Proposed branch: lp:~julie-w/unifield-server/US-5796
Merge into: lp:unifield-server/uf12
Diff against target: 24 lines (+2/-1)
2 files modified
bin/addons/purchase/purchase_order_line.py (+1/-1)
bin/addons/sync_client/orm.py (+1/-0)
To merge this branch: bzr merge lp:~julie-w/unifield-server/US-5796
Reviewer Review Type Date Requested Status
UniField Dev Team Pending
Review via email: mp+365217@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
=== modified file 'bin/addons/purchase/purchase_order_line.py'
--- bin/addons/purchase/purchase_order_line.py 2019-03-04 11:09:31 +0000
+++ bin/addons/purchase/purchase_order_line.py 2019-03-28 11:11:53 +0000
@@ -1768,7 +1768,7 @@
1768 if pol.order_id.partner_id.partner_type == 'esc' and import_commitments:1768 if pol.order_id.partner_id.partner_type == 'esc' and import_commitments:
1769 return False1769 return False
17701770
1771 if pol.order_id.order_type == 'loan':1771 if pol.order_id.order_type in ['loan', 'in_kind']:
1772 return False1772 return False
17731773
1774 commitment_voucher_id = self.pool.get('account.commitment').search(cr, uid, [('purchase_id', '=', pol.order_id.id), ('state', '=', 'draft')], context=context)1774 commitment_voucher_id = self.pool.get('account.commitment').search(cr, uid, [('purchase_id', '=', pol.order_id.id), ('state', '=', 'draft')], context=context)
17751775
=== modified file 'bin/addons/sync_client/orm.py'
--- bin/addons/sync_client/orm.py 2019-03-04 11:05:48 +0000
+++ bin/addons/sync_client/orm.py 2019-03-28 11:11:53 +0000
@@ -132,6 +132,7 @@
132 FROM ir_model_data132 FROM ir_model_data
133 WHERE module = 'sd' AND133 WHERE module = 'sd' AND
134 model = %s AND134 model = %s AND
135 COALESCE(touched, '') != '[]' AND
135 """+add_sql+"""136 """+add_sql+"""
136 ("""+field+""" < last_modification OR """+field+""" IS NULL)""",137 ("""+field+""" < last_modification OR """+field+""" IS NULL)""",
137 sql_params) # not_a_user_entry138 sql_params) # not_a_user_entry

Subscribers

People subscribed via source and target branches