Skip to content
Snippets Groups Projects
Commit c704611f authored by Goffin Simon's avatar Goffin Simon
Browse files

[FIX] account: Wrong tax amount with Python tax code


Steps to reproduce the bug:

- Create a new tax T based on python code, leave the code how it is by default (result = price_unit * 0.10)
- Check included in price
- Create an invoice, add a customer, add a line with random label, assign unit price = 100 and select tax T.

Bug:

On the invoice, the Untaxed Amount =  90 and Taxes = -10 instead of 10 (like the behavior in 12.0)

opw:2242188

closes odoo/odoo#50485

Signed-off-by: default avatarLaurent Smet <smetl@users.noreply.github.com>
parent 29b3b67a
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment