Merge lp:~gs.clearcorp/openobject-addons/7.0-ccorp into lp:~clearcorp-drivers/openobject-addons/7.0-ccorp

Proposed by Glen Sojo on 2014-12-19
Status: Merged
Merged at revision: 9976
Proposed branch: lp:~gs.clearcorp/openobject-addons/7.0-ccorp
Merge into: lp:~clearcorp-drivers/openobject-addons/7.0-ccorp
Diff against target: 12 lines (+2/-0)
1 file modified
account_voucher/account_voucher.py (+2/-0)
To merge this branch: bzr merge lp:~gs.clearcorp/openobject-addons/7.0-ccorp
Reviewer Review Type Date Requested Status
ClearCorp drivers 2014-12-19 Pending
Review via email: mp+245204@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 'account_voucher/account_voucher.py'
2--- account_voucher/account_voucher.py 2014-04-23 07:01:39 +0000
3+++ account_voucher/account_voucher.py 2014-12-19 15:43:53 +0000
4@@ -957,6 +957,8 @@
5 # refresh to make sure you don't unlink an already removed move
6 voucher.refresh()
7 for line in voucher.move_ids:
8+ # refresh to make sure you don't unreconcile an already unreconciled entry
9+ line.refresh()
10 if line.reconcile_id:
11 move_lines = [move_line.id for move_line in line.reconcile_id.line_id]
12 move_lines.remove(line.id)

Subscribers

People subscribed via source and target branches

to all changes: