Merge lp:~therp-nl/banking-addons/ba61-payment_move_line into lp:banking-addons/6.1

Proposed by Stefan Rijnhart (Opener)
Status: Merged
Merged at revision: 174
Proposed branch: lp:~therp-nl/banking-addons/ba61-payment_move_line
Merge into: lp:banking-addons/6.1
Diff against target: 17 lines (+5/-1)
1 file modified
account_banking/wizard/account_payment_order.py (+5/-1)
To merge this branch: bzr merge lp:~therp-nl/banking-addons/ba61-payment_move_line
Reviewer Review Type Date Requested Status
Holger Brunn (Therp) code review Approve
Review via email: mp+167409@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Holger Brunn (Therp) (hbrunn) :
review: Approve (code review)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account_banking/wizard/account_payment_order.py'
2--- account_banking/wizard/account_payment_order.py 2013-01-21 20:25:00 +0000
3+++ account_banking/wizard/account_payment_order.py 2013-06-04 21:20:33 +0000
4@@ -97,8 +97,12 @@
5 # customer invoice number (in the case of debit order)
6 communication = line.invoice.number.replace('/', '')
7 state = 'structured'
8- if communication != line.ref:
9+ if line.invoice.number != line.ref:
10 communication2 = line.ref
11+ else:
12+ state = 'normal'
13+ communication2 = line.ref
14+
15 # support debit orders when enabled
16 if (payment.payment_order_type == 'debit' and
17 'amount_to_receive' in line):

Subscribers

People subscribed via source and target branches