diff options
| author | oco-odoo <oco@odoo.com> | 2020-06-15 14:20:04 +0000 |
|---|---|---|
| committer | oco-odoo <oco@odoo.com> | 2020-06-18 11:18:35 +0000 |
| commit | 26489212f7e2e72aaff5b836eb10f1b7a1abfa34 (patch) | |
| tree | 536ba63529f0a859c047d521b73de72ba75a51d2 /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | e6725adca98c2d7dfa700d3b6dcb5a900c1688ae (diff) | |
[FIX] account: make tax audit computation work with more complex CABA uses
Before this, it was impossible to reconcile an invoice with a credit note, as the tax_audit field's computation found two invoice lines while it expected only one, and crashed.
Note that our current tax report does still not handle all the cases properly:
- Invoices with negative lines using cash basis taxes won't work well, as we can't differentiate a credit note from an invoice using only debit and credit.
- Misc entries reconciled together with cash basis taxes on them ("faking" the invoice and payment) won't work well either, as both of them have the 'entry' type.
>> This commit is a temporary fix, essentially made to unlock customers blocked byt this issue. Another, more complete, fix is coming soon.
closes odoo/odoo#53238
X-original-commit: 8ed0ae8ba593c3b636c0b1e8d5bb41549a45a432
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
