~therp-nl/banking-addons/6.1-match_multiple_invoices_split

« back to all changes in this revision

Viewing changes to account_banking/banking_import_transaction.py

[FIX] Calculation of residual in the case of split transactions
[FIX] Transaction amount when credit amounts are split
[FIX] Restore bank account's partner when disabling match

Show diffs side-by-side

added added

removed removed

Lines of Context:
1500
1500
                not(transaction.move_currency_amount is False)):
1501
1501
                res[transaction.id] = (
1502
1502
                    transaction.move_currency_amount -
1503
 
                    transaction.transferred_amount
 
1503
                    transaction.statement_line_id.amount
1504
1504
                    )
1505
1505
        return res
1506
1506