odoo/odoo#197969
Created by fw-bot
Merged
at f06c9b19ea454ae7788e7f9325a0b63e53ca856d
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- 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:saas-18.2-saas-18.1-web-sale-fix-so-team-update-vfe-412955-fw
- head
- 76f6b87e5d80432f5d3da395ab6d6034c16b4c92
- merged
- 7 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