diff options
| author | oco-odoo <oco@odoo.com> | 2020-05-26 08:40:54 +0000 |
|---|---|---|
| committer | oco-odoo <oco@odoo.com> | 2020-06-03 16:59:16 +0000 |
| commit | ea4ef3d20614a5f6ee929f36a804ecd1a55d12c7 (patch) | |
| tree | b2b6b743a64397b0ec77525346174f99b4a39df0 /addons/website/static/src/js/utils.js | |
| parent | 564a1b94a760b0432f22e7d25953a54ca868b67c (diff) | |
[FIX] account: make tax audit computation work with cash basis taxes
https://github.com/odoo/enterprise/commit/7d17dad678361f161c259eddd45d9b5186941bd0 fixed the sign used for cash basis entries in the tax report, but this change had to be reflected on the tax_audit computed on cash basis entries as well.
Before that, cash basis entries never were made on sales journals, and their move lines never had a refund-typed invoice_id. So it means those factors, when present on the original invoice, never influenced the audit string computed for cash basis entries. This was obviously wrong.
closes odoo/odoo#52381
X-original-commit: 1157b3073f409c9fbdffe8f3b3322331f470de02
Related: odoo/enterprise#10927
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/website/static/src/js/utils.js')
0 files changed, 0 insertions, 0 deletions
