Merge lp:~therp-nl/banking-addons/ba61-fix_surplus_return into lp:banking-addons/6.1
Proposed by
Stefan Rijnhart (Opener)
Status: | Merged |
---|---|
Merged at revision: | 171 |
Proposed branch: | lp:~therp-nl/banking-addons/ba61-fix_surplus_return |
Merge into: | lp:banking-addons/6.1 |
Diff against target: |
25 lines (+3/-1) 1 file modified
account_banking/banking_import_transaction.py (+3/-1) |
To merge this branch: | bzr merge lp:~therp-nl/banking-addons/ba61-fix_surplus_return |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Holger Brunn (Therp) | code review | Approve | |
Review via email:
|
Description of the change
When creating a voucher in account_banking to use in the reconciliation of bank statement lines, the voucher line type should not depend on the sign of the booking that it is to be reconciled with, but on the sign of the bank statement line. Otherwise the voucher line can get the wrong sign in specific circumstances and the wrong move lines are being created.
Case: A sales invoice of €150 is paid with €200. The surplus amount of €50 is returned in a separate transaction. The two transactions together should be reconcilable with the original invoice.
To post a comment you must log in.