eff7cc00563763f5cd06d452a7d48efeed0ad513
Steps to reproduce the bug: - Create a MO with work orders - Confirm the MO - Under the tab Work Orders > click on the button start multiple times quickly Problem: Several `mrp.workcentre.productivity` are created for the work order, whereas normally the workorder can have only one timer started (without date_end). Solution: - If the workorder already has a timer running, return true to stop the process - Add a constraint to block the user when he tries for example to create with an rpc call several `mrp.workcenter.productivity` without an end date for the same workoder opw-2802436 closes odoo/odoo#90094 X-original-commit: dd22195a75ec437e42424ee95ca9a41feeb48b0b Signed-off-by: William Henrotin (whe) <whe@odoo.com> Signed-off-by: Djamel Touati (otd) <otd@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%