Skip to content
Snippets Groups Projects
Commit 0396c04c 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#50503

Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
parent c704611f
No related branches found
No related tags found
Loading
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