diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-06-20 08:11:08 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-06-20 08:16:10 +0000 |
| commit | ea4ddff117ef5015c7e8c2db551a9399930177b7 (patch) | |
| tree | 1435ac17f13941b58c54a538b8dbd4384ecdf81b /addons/web/static/src/js/fields | |
| parent | fa492d87f42f97d05ba93255a77e24c35158fe62 (diff) | |
[FIX] point_of_sale: apply fiscal position
- Create 2 included taxes: 21 % and 6 %
- Create a product A with 21 % as default tax
- Create a fiscal position to map the tax 21 % to tax 6 %
- Allow the fiscal position in the POS
- Add product in a POS order
- Apply the fiscal position
The subtotal is not recomputed correctly. On the other hand, if the
fiscal is first set then the product added, there is no problem.
This is because the `fix_tax_included_price` is only called by
`add_product` and not when changing the fiscal position.
opw-2020755
closes odoo/odoo#34260
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions
