d3a31eeff4513eef7d9923a833bd43fc9673951f
Even though `uom_id` is required by product.template, it's still possible for users to delete it within the product view and trigger a compute that depends on it before saving. Steps to reproduce: 1 - install sale_timesheet + activate UoM 2 - open any product form, click on uom_id and delete the uom Expected result: No UoM + user cannot save Actual result: traceback + user can appear to save (but uom defaults back to last selected UoM While this isn't a blocking problem since users won't be able to save no UoM being selected, we would still rather avoid the traceback so we default to no service_upsell_threshold_ratio message in this case and properly prevent the saving. Task: 2689438 Also fully fixes: odoo/odoo#78693 closes odoo/odoo#80868 X-original-commit: f60786a7490cc09a31fe0dd0d74cf97368184bd9 Signed-off-by: Steve Van Essche <svs@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%