diff options
| author | Goffin Simon <sig@odoo.com> | 2021-02-23 12:05:25 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2021-02-23 16:14:17 +0000 |
| commit | bfc9153e79d90f1d10e86216bdc57c818b9b1395 (patch) | |
| tree | e0d060b3269ba56642032e5af5113c444f3706d4 /addons/l10n_ar | |
| parent | 86ffe7548627cfa57eb38594c4e8a7a578ca9eac (diff) | |
[FIX] point_of_sale: Multicompany tax
Steps to reproduce the bug:
- Create a multi-company environment with two companies A & B
- Create two sales taxes TA & TB, one for company A & one for company B
- Created a shared product P and assign both TA & TB
- Create a fiscal position FP that maps TA and TB to other taxes
- Login with user having access of both companies
- Enable a POS session S with fiscal position and select FP
- Open S and select P as product
Bug:
A traceback was raised
PS: Only the taxes of company's user are loaded in taxes_by_id
So when trying to fetch taxes from a product with function get_taxes,
the taxes from other companies than company's user must be ignored.
opw:2448785
closes odoo/odoo#66717
X-original-commit: 5dcfdcb265a7217fd52ab5b7e3e51cc5c2430761
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Diffstat (limited to 'addons/l10n_ar')
0 files changed, 0 insertions, 0 deletions
