summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache
diff options
context:
space:
mode:
authorLaurent Smet <las@odoo.com>2021-01-11 08:26:28 +0000
committeroco-odoo <oco@odoo.com>2021-01-15 13:52:59 +0000
commit4e8581b6846ef8ee4601c994b0d586734a4fe117 (patch)
treeec5aa8cefd568976ce7d879285506eff006bc3c7 /addons/mail/static/src/models/thread_cache
parent603dbbe7a784c23b87682655963e82a42137d84c (diff)
[IMP] account: introduce a new field on move lines to avoid inverting tax tags
The sign of tax tags sometimes could get inverted explicitly. It typically happened for misc operations, so : - manual entries - CABA entries - writeoffs created from the reconciliation widget We had to do things this way in stable to fix those use cases, but it's not ideal, as the tags shown to the user were inverted, so it was a bit confusing, as one would have expected to see the exact same tags as on tax configuration. We fix that by using a boolean field on account.move.line telling whether or not the sign must be inverted. This allows keeping the same tags as in the tax config, and simplifies the computation of the tax report's multiplicator, making the overall model more intuitive for both user and developper. Task 2363287 closes #62536 closes odoo/odoo#64558 Related: odoo/enterprise#15031 Related: odoo/upgrade#1983 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/mail/static/src/models/thread_cache')
0 files changed, 0 insertions, 0 deletions