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

[FIX] account, point_of_sale, purchase, sale, website_sale: correctly set...

[FIX] account, point_of_sale, purchase, sale, website_sale: correctly set included tax in multi-company

A product can have multiple included taxes (i.e. one by company).
When computing the product price with function _fix_tax_included_price,
only the taxes of the company should be considered. Otherwise it could remove
all the included taxes of all companies.

ps: When no company is set on the SO, all the taxes visible from the company of the user
are set for the product of the line. Same behavior as in _compute_tax_id.

Closes #19566

opw:770464
parent a0fddebe
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment