sabr ad5839990b [FIX] mrp: prevent traceback if expected duration is zero
This issue occurs when the customer creates an operation with a 0.0 expected
duration fields. An error is then generated when the customer creates a
manufacturing order and selects that operation due to expected duration fields
is set zero.

step to reproduce -
- Install the `Manufacturing`
- Click on  `Configuration > Operations `
- Create New  Operations.
   - Select the Bill of Material (ex - [FURN_8621] Plastic Laminate)
   - Default Duration fields must be 0.0
- click on `Operations  > Manufacturing Orders`
- Create New Manufacturing Orders.
- Select the Product (select the product which you selects while creating
                      operation ex. FURN_8621] Plastic Laminate)
- Click on the `Overview` button.

https://github.com/odoo/odoo/blob/17.0/addons/mrp/report/mrp_report_mo_overview.py#L268

after this commit, the customer will be able to set 0.0 in expected duration.

sentry-4657725988

closes odoo/odoo#143490

Signed-off-by: William Henrotin (whe) <whe@odoo.com>
2023-11-27 11:20:07 +00:00
2023-10-27 08:36:16 +00:00
2023-11-02 21:02:44 +00:00
2023-11-20 04:58:31 +00:00
…
…
…
…

Build Status Tech Doc Help Nightly Builds

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

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%