odoo/odoo#194432
Created by fw-bot
Merged
at 9b854120ad68ab011bd9bfafb47ac4ad4cb5ca87
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-17.2-16.0-fix-service-to-purchase-multi-company-9pma-fw
- head
- a25f25e3d12246e3146f9c4c8112ebfaf13bd1e8
- merged
- 9 months ago by Logistics, Tiffany Chang (tic)
| odoo/odoo | |
|---|---|
| 16.0 | #177659 |
| 17.0 | #192561 |
| saas-17.2 | #194432 |
| saas-17.4 | #194934 |
| 18.0 | #194947 |
| saas-18.1 | #195088 |
| saas-18.2 | |
| saas-18.3 | |
| saas-18.4 | |
| 19.0 | |
| master | #195256 |
[FW][FIX] sale_purchase: read service_to_purchase from the order's company
Steps to reproduce:
- Create two companies: Company A and Company B
- Create a service product
- Configure the product to be purchased on Company A and not on Company B
- Create a sales order on Company B, while logged in Company A
- Confirm the order
Expected result:
The service PO is created on Company B, even though it was configured not to.
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr