Mattis Megevand (mmeg) eacb2a7d51 [FIX] sale_purchase: use the associated company with SO on service PO
Steps to reproduce:
- Setup two companies and a product
- For one of the company activate "Subcontract Service" on the product
- Make an SO with the product and in Other Infos set the company with
  the one that has subcontract service on
- Confirm the SO with the company that doesn't have it on

Issue:
No PO is generated.

Solution:
Make sure we got the right context when generating purchase.

opw-3622278

closes odoo/odoo#150626

Related: odoo/enterprise#54316
Signed-off-by: William Henrotin (whe) <whe@odoo.com>
2024-03-04 08:11:51 +00:00
2024-02-21 11:28:04 +00:00
…
…
…

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%