589622e82ed9b21c89e34da241bf598ef37e8181
To reproduce: Create a MO without product_id, then add a new line in work orders. Error raises. Since cab8d8fe7f744fb4dd0cd61b624f6f4519eb8d8d, we started to show qty_remaining of WO on MO form. It triggered the compute function of qty_remaining. Since we don't set product_id, production_id.product_uom_id is not provided when doing the calculation. To fix, add production_id.product_uom_id as dependancy of qty_remaining, and don't do the calculation without it. opw-3092723 closes odoo/odoo#107434 X-original-commit: 0b10241c0bcbecda73dae04c8a5f1ceb8033a388 Signed-off-by: Tiffany Chang <tic@odoo.com> Signed-off-by: Yuchen Huang (yhu) <yhu@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%