Daily updates from Odoo
Thursday, August 25, 2022
4 changes · master
Code cleanup and technical improvements
The Field Service product selection screen for adding materials to tasks has been rebuilt on Odoo’s newer interface framework. Users should see the same workflow with smoother quantity editing, including automatic focus when changing quantities, while obsolete unused code has been removed.
Original PR description
Purpose ======= This PR converts the kanban view of products (`product.product`) used in Field Service to add some materials in a task into the new framework (OWL). Implementation details ---------------------- - Convert the kanban view in OWL - Convert the `fsm_product_quantity` widget in OWL - Remove the `fsm_date` widget in legacy because it is not used in the codebase. - Adapt JS tests for the `kanban` view and the `fsm_product_quantity` widget. - Remove the `fsm_product_quantity` widget and the kanban view in legacy. - Use the autofocus hook to directly select the input element when the widget is in edit mode.
This update simplifies the styling behind timesheet and timer screens as part of a broader visual and code cleanup. Users should see the same functionality with a more maintainable interface foundation, helping future improvements be delivered more efficiently.
Original PR description
This commit simplifies the SCSS of timesheet task-2789206
This update reorganizes mail and rating-related files across multiple Odoo apps so each business object is easier to find and maintain. It is mostly internal cleanup, with a small correction to scheduled task methods to better match how they are used.
Original PR description
[MOV] various Move code, views and data of mail / rating models into their own files. Purpose is to have one file / model, easier when searching for inherited parts of the code and see at a glance various usage of those models. [FIX] in ir_cron Trigger methods are defined as api.model but actually use self. Those are therefore not model. Smart. LINKS Spotted during Task-2207626 (Rating: Delay rating notification to ease feedback)
This update renames an internal message list component to use a clearer, shorter name. It helps keep the messaging code easier to maintain without changing how users interact with the product.
Original PR description
part of task-2918956