Daily updates from Odoo
Tuesday, September 13, 2022
2 changes
Code cleanup and technical improvements
Employee contract reporting screens were modernized to improve maintainability while keeping the same business functionality. Dashboard views now correctly display date-based aggregate values instead of crashing, improving reliability for reporting users.
The asset management screens and related widgets have been modernized using Odoo’s newer interface framework. This should preserve existing behavior while making the feature easier to maintain and support going forward, with a small usability improvement for accounting dialogs.
Original PR description
Migrate the `account_asset` views and widgets to owl --------- `asset_form` notes instead of duplicating the `x2many_field` logic in a view widget - an extension to the `x2many_field` could have been created. This option was decided against because: 1. Duplicated field `original_move_line_ids` on the view could cause issues 2. There is a domain on the field which would need to be duplicated too 3. The views in `account_deferred_expense.xml` and `account_deferred_revenue.xml` extend the original view and replace both the button text and domain of the many2many_field