summaryrefslogtreecommitdiff
path: root/addons/account_tax_python
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2017-07-20 10:24:52 +0200
committerLucas Perais (lpe) <lpe@odoo.com>2017-08-04 09:45:31 +0200
commit2cd63aa2dc2ab0706922a660242b2132694e41a8 (patch)
tree6e0bb8355efb46cdfba9d7093923da5905886681 /addons/account_tax_python
parent7cd2f63705f8c4ddfd05c70d79aa6261ae191d18 (diff)
[FIX] account: reconciliation of payments and invoices, diff currencies and times
Use case: - 2 invoices in foreign currencies, made at different times (and different exchange rates) - 2 payments (same characteristics as invoices) - allocate the 1st payment to inv A - allocate the 2nd payment to inv A and then B so that A is fully paid, but B is not - try to make the final payment on B to fully reconcile everything Results (all in the payable account) - let CB be the credit line of B - let D2 be the debit line of 2nd payment - let D3 be the debit line of the 3rd and final payment Before this commit, the exchange difference computation dailed because: - There were 2 amls that had an amount_residual and needed to be reconciled (CB and D2) - Also, there was a structural flaw in the code that did not allow for multiple lines to have a residual After this commit, we still make 1 move to log the exchange difference, but we make exchange difference lines for each line that need to be reconciled: CB and D2 OPW 751710 Commit in master c36f70f6726e0c7ccca1002f78e4d402e27cae3d (2017-07-20) Closes #18347 [FIX] account: testing partial and full reconciliation
Diffstat (limited to 'addons/account_tax_python')
0 files changed, 0 insertions, 0 deletions