16bea0dca74ad9e00fda4e9c49caa876bf846475
To reproduce: 1. Open the shop floor 2. Open assembly station 1 Current behavior: The MRP timer immediately causes a traceback when being rendered in the shop floor. After the changes in [1], the duration was changed to a property on the timer component. However, the duration is set on multiple occasions, including in the onWillStart function of the timer component, resulting in the traceback. Expected behavior: This commit addresses this by reverting the changes from [1] for the duration on the mrp timer, and using useRecordObserver instead of onWillUpdateProps. [1] https://github.com/odoo/odoo/pull/135842 Community PR: https://github.com/odoo/odoo/pull/137561 closes odoo/odoo#137561 Signed-off-by: Steve Van Essche <svs@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%