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
=== modified file 'account_banking/wizard/account_payment_order.py'
--- account_banking/wizard/account_payment_order.py 2013-01-21 20:25:00 +0000
+++ account_banking/wizard/account_payment_order.py 2013-06-04 21:20:33 +0000
@@ -97,8 +97,12 @@
97 # customer invoice number (in the case of debit order)97 # customer invoice number (in the case of debit order)
98 communication = line.invoice.number.replace('/', '')98 communication = line.invoice.number.replace('/', '')
99 state = 'structured'99 state = 'structured'
100 if communication != line.ref:100 if line.invoice.number != line.ref:
101 communication2 = line.ref101 communication2 = line.ref
102 else:
103 state = 'normal'
104 communication2 = line.ref
105
102 # support debit orders when enabled106 # support debit orders when enabled
103 if (payment.payment_order_type == 'debit' and107 if (payment.payment_order_type == 'debit' and
104 'amount_to_receive' in line):108 'amount_to_receive' in line):

Subscribers

People subscribed via source and target branches