odoo/odoo#197852
Created by fw-bot
Merged
at 2c180400484a29dd30cf79bd96788451a73fe036
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- label
- odoo-dev:master-saas-18.1-web-sale-fix-so-team-update-vfe-412955-fw
- head
- dc3f090a5b32c587939ecc84b223199d5beabaf2
- merged
- 8 months ago by Sales, Victor Feyens (vfe)
odoo/odoo | odoo/enterprise | |
---|---|---|
saas-18.1 | #195810 | #78204 |
saas-18.2 | #197969 | |
saas-18.3 | ||
saas-18.4 | ||
19.0 | ||
master | #197852 |
[FW][FIX] website_sale: sales team not updated on partner change
Recent commit 27bf2e55810b200563ed6b93b1e22dfda65cf4ea modified the salesperson assignation on ecommerce orders, to avoid assigning any salesperson until the order confirmation.
Nevertheless, this commit also disabled the salesteam recomputation on salesman change for ecommerce orders.
In some cases (subscription orders), the salesperson might be manually changed on the order and we still want the right salesteam to be assigned on the order, even if it came from the ecommerce.
This commit adds a hook to allow subscription orders to keep the salesteam recomputation on salesman change for ecommerce orders.
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: #195810