[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:Nicolas Martinelli (nim) <nim@odoo.com> Signed-off-by:
Alex Tuyls <alt-odoo@users.noreply.github.com>
Loading
Please register or sign in to comment