Files
odoo_source/addons
oco-odoo 65aab85da0 [FIX] account: apply correct tags to move lines when using cash rounding
To reproduce:
1- Configure a 0.05 cash rounding modifying the tax amount

2- Create an invoice using this rounding, for 3€, with a 21% tax (configured with some tags related on tax repartition; a Belgian one for example). => This will create a 0.02 tax rounding move line, for a total tax amount of 0.63 + 0.02 = 0.65

3- Check the tax report => Only 0.63 appears

This is wrong and leads to inconsistencies with the tax closing (which will consider 0.65 because of the tax account used), or the generic tax report (which only considers tax_line_id field, not tag_ids). The tags should be copied from the line we intend to modify the tax amounts of.

OPW 2714411

closes odoo/odoo#83091

X-original-commit: e8e4b0fe3913aadb0c8e1f958b65a24543e6fd9d
Signed-off-by: Laurent Smet <las@odoo.com>
Signed-off-by: Olivier Colson <oco@odoo.com>
2022-01-20 15:11:53 +00:00
..
2022-01-19 16:52:23 +00:00
2021-12-13 12:24:50 +00:00
2022-01-20 11:03:01 +00:00
2022-01-19 16:52:23 +00:00
2022-01-19 16:52:23 +00:00
2022-01-19 16:52:23 +00:00
2022-01-19 16:52:23 +00:00
2021-10-06 12:39:43 +00:00
2022-01-20 11:03:01 +00:00
2022-01-19 16:52:23 +00:00
2022-01-20 11:03:01 +00:00
2022-01-19 16:52:23 +00:00
2022-01-19 16:52:23 +00:00
2022-01-19 16:52:23 +00:00
2022-01-20 11:03:01 +00:00
2022-01-20 11:03:01 +00:00