summaryrefslogtreecommitdiff
path: root/addons/pos_cache/data
diff options
context:
space:
mode:
authorOlivier Colson <oco@odoo.com>2019-05-15 11:03:12 +0000
committerOlivier Colson <oco@odoo.com>2019-05-16 08:55:12 +0000
commit57feafd4d99c0c1965c6817ceaee746eacb122ad (patch)
tree93dc737d3767042b9a19185a3c6ea050ed4f43ac /addons/pos_cache/data
parent69d708c07cd57b711812fe60aa434c8c8ab93623 (diff)
[FIX] account, hr_expense, point_of_sale: 'affect subsequent taxes' base" taxes
Consider the following use case: - Two taxes: -A: price included, affect base of subsequent taxes, 10% -B: 15%, regular - Create an invoice with a line applying A, then B, for 110€. Post it - The following move lines are generated: - base: 100€ - tax A: 10€ - tax B: 16.5€ Before this fix, line "tax A" only had the tax tags of tax A. It should also receive the base tags from tax B, in order to affect its grid total correctly in the tax report. Also, tax_base_amount field used to be computed, but its computation was too simple, and most of the time wrong when doing advanced use of taxes like the one we defined above. It is now not computed anymore, and directly takes its value from the compute_all's result. closes odoo/odoo#33420 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Diffstat (limited to 'addons/pos_cache/data')
0 files changed, 0 insertions, 0 deletions