1ac00874a55db900453e7c9b7bbdd5425c08161c
Usecase: - Create a route without company - Create a push rule for company B from intercompany to stock - Apply the push rule on product and set in on a product. - Connect with a user in company A - Create a move from stock(company A) to intercompany. - Confirm the move -> The receipt for company B is not created. Multiple issues: - The rule is not found because it belong to the other company and is filtered by the record rules. -> Aplly the seach as sudo if the move is going to a location without company. - Record rule error because a move from intercompany to company B is created with a user from company A that has no access to company A. -> Search and read company values and create the move as super user. Based on work from Simon Lejeune <sle@odoo.com> closes odoo/odoo#38124 X-original-commit: a80262e8b97256cac4bc5c406bc74a05f7189a00 Signed-off-by: Simon Goffin (sig) <sig@openerp.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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%