Wednesday, March 15, 2023
4 changes · master
Code cleanup and technical improvements
The automated walkthrough and testing system used across many Odoo apps has been rebuilt on a newer framework while keeping the existing setup mostly unchanged. This improves reliability and diagnostics for internal quality checks, helping teams maintain business workflows with less disruption.
Original PR description
TASK-ID: 3082036 Co-authored-by: Julien Mougenot <jum@odoo.com> --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The manufacturing timer was split into two clearer parts so it can work properly both inside forms and as a standalone screen element. This is an internal cleanup that supports newer interface rules and helps reduce future maintenance issues without changing business workflows.
Original PR description
Since [1], [2], [3] and [4], the field API was simplified and specified. Some props were removed (update, type, setDirty and value) and some were now mandatory (record and name). This specification make it difficult to use the fields as a "normal" component (without a record). This was the case with MrpTimer, that was used as a field, but also as a component. To solve this issue, in this commit, we divide it in two different components, MrpTimer and MrpTimerField. [1]: https://github.com/odoo/odoo/commit/aed1ba484d0c48a59e166ef01e69967bd618a562 [2]: https://github.com/odoo/odoo/commit/8cde3e84bb70a2bd097921c08c0059bf65bee602 [3]: https://github.com/odoo/odoo/commit/688986f888f2fe2371d58b74ded81315ba6bb353 [4]: https://github.com/odoo/odoo/commit/91303252f413325859a6f1651d056593a8cf6382
This update modernizes automated guided-tour tests across multiple Odoo Enterprise apps to use the newer web interface framework. It should not change day-to-day business workflows, but it helps keep testing reliable and supports future interface improvements.
Original PR description
Part of https://github.com/odoo/odoo/pull/107618 TASK-ID: 3082036
The manufacturing work order employee timer was reorganized so it can work reliably both inside forms and as a standalone popup component. This is an internal cleanup that supports recent platform changes and helps maintain timer behavior without changing business workflows.
Original PR description
Since [1], [2], [3] and [4], the field API was simplified and specified. Some props were removed (update, type, setDirty and value) and some were now mandatory (record and name). This specification make it difficult to use the fields as a "normal" component (without a record). This was the case with MrpTimer, that was used as a field, but also as a component. To solve this issue, in this commit, we divide it in two different components, MrpTimer and MrpTimerField. [1]: https://github.com/odoo/odoo/commit/aed1ba484d0c48a59e166ef01e69967bd618a562 [2]: https://github.com/odoo/odoo/commit/8cde3e84bb70a2bd097921c08c0059bf65bee602 [3]: https://github.com/odoo/odoo/commit/688986f888f2fe2371d58b74ded81315ba6bb353 [4]: https://github.com/odoo/odoo/commit/91303252f413325859a6f1651d056593a8cf6382