f5f88c4fae5b72ee48daa0b835477d6f3a371f27
Before this commit, there is no verification while changing a product's company. That can lead to issue where some operations cannot be done because of access errors. To avoid that, this commit prevents to change the product's company if some quants for this product exist in another company's location. How to reproduce: - Have at least two different companies (let say CompA and CompB); - Create a new product who belong to no company; - For this product, add quantity on hand in a CompA location; - Now, change the product's company for the CompB; - While selected only the CompA, go into the Inventory Adjustments and try to create a new inventory adjustment for the CompA location with this product's quant -> Access Error. opw-3095984 closes odoo/odoo#110810 X-original-commit: 46987e13f35dc140869c58f6c5a09d9c542c3ae5 Signed-off-by: Tiffany Chang <tic@odoo.com> Signed-off-by: Steve Van Essche <svs@odoo.com>
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
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%