Files
odoo_source/addons/mrp/static
Pieter Claeys (clpi) 16bea0dca7 [FIX] mrp: mrp timer traceback
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>
2023-10-12 16:12:06 +00:00
..
…
2023-10-12 16:12:06 +00:00
…