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

Proposed by jftempo
Status: Merged
Merged at revision: 2466
Proposed branch: lp:~unifield-team/unifield-wm/us-173
Merge into: lp:unifield-wm
Diff against target: 15 lines (+4/-1)
1 file modified
purchase_override/purchase.py (+4/-1)
To merge this branch: bzr merge lp:~unifield-team/unifield-wm/us-173
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+255651@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 'purchase_override/purchase.py'
--- purchase_override/purchase.py 2015-03-12 07:20:39 +0000
+++ purchase_override/purchase.py 2015-04-09 12:19:33 +0000
@@ -3053,7 +3053,10 @@
30533053
3054 # Cancel the listed procurement orders3054 # Cancel the listed procurement orders
3055 for proc_id in proc_ids:3055 for proc_id in proc_ids:
3056 if not self.search(cr, uid, [('id', 'not in', ids), ('procurement_id', '=', proc_id)], context=context):3056 if not self.search(cr, uid, [
3057 ('order_id.state', '!=', 'split'),
3058 ('id', 'not in', ids),
3059 ('procurement_id', '=', proc_id)], context=context):
3057 proc_obj.action_cancel(cr, uid, [proc_id])3060 proc_obj.action_cancel(cr, uid, [proc_id])
30583061
3059 self.write(cr, uid, ids, {'state': 'cancel'}, context=context)3062 self.write(cr, uid, ids, {'state': 'cancel'}, context=context)

Subscribers

People subscribed via source and target branches