diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2020-02-03 09:14:05 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-02-10 09:00:15 +0000 |
| commit | faac525e620d262e6efb0f030678963852d8e0ce (patch) | |
| tree | b13c5a6bf472a0c595361441aea622979a0bf265 /addons/website_form/static | |
| parent | 1de22e9c4e6e46e19a782c104077bb713c182b31 (diff) | |
[FIX] website_sale: get correct fiscal position
Make sure `force_company` context key is set on the SO in all cases.
Indeed, when the context key is not properly set, an incorrect fiscal
position can be retrieved in:
https://github.com/odoo/odoo/blob/cc557f1e4de88466d0d159c5edf1a606a0c0bc6f/addons/account/models/partner.py#L99-L100
This is for example the case when we go through the route
`/shop/confirm_order`.
opw-2186682
closes odoo/odoo#44451
closes odoo/odoo#44933
Original-signed-off-by: Toufik Benjaa (tbe) <tbe@odoo.com>
X-original-commit: 5691e733e2d860baa012140fc35d3f39ddf747c8
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/website_form/static')
0 files changed, 0 insertions, 0 deletions
