Skip to content
Snippets Groups Projects
Commit a35d8025 authored by alt-odoo's avatar alt-odoo
Browse files

[FIX] sale: wrong default sales team in eCommerce orders


Side effect of commit 6d7bbd30. In case we are coming from public route /shop/address,
we are in superuser mode and method _get_default_team_id can return a sales team
from another company. We should force the domain to avoid creating inconsistent records.

closes odoo/odoo#50581

X-original-commit: 0396c04c
Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
Signed-off-by: default avatarAlex Tuyls <alt-odoo@users.noreply.github.com>
parent 252c0b73
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment