ce0e1c095d892bc382a89005283c281188bfb2a7
Current behaviour: Cannot add a Work Order to a Manufacturing Order if the analytic account linked to the MO doesn't have an associated company. Expected behaviour: Should be able to add a WO to a MO even if the linked analytic account doesn't have an associated company. Steps to reproduce: 1. Activate analytic accounts 2. Activate work orders 3. Create an analytic account without company associated 4. Create a Manufacturing Order 5. In miscellaneous, link the analytic account 6. Try to add a WO line 7. Error log Reason for the problem: When trying to add a WO line, if the MO has been linked to an analytic account, it checks for the currency in the company in the analytic account, which was not existent, since the company didn't exist. Fix: When trying to access currency, if the company in the analytic account doesn't exist, it defaults to the company in the WO. opw-3210708 closes odoo/odoo#117708 X-original-commit: f0d8f5e82e62e0bcfc05e25dac2504f8f07537f4 Signed-off-by: Demany Antoine (ande) <ande@odoo.com> Signed-off-by: Tiffany Chang <tic@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%