diff options
| author | Goffin Simon <sig@odoo.com> | 2017-09-20 14:16:12 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2017-09-20 15:53:14 +0200 |
| commit | 776e77b67c2abea9cef8ab7071998d4272c3404f (patch) | |
| tree | 41d305383ea65ab8371c2b8d2d08cf3e881537c3 /addons/web/static/src/js/views/basic | |
| parent | a0fddebe64eaaec9ea362ea2eabdaad7de61e724 (diff) | |
[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
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
