Daily updates from Odoo
Friday, January 13, 2023
2 changes
Code cleanup and technical improvements
Project and field service screens, portal views, and reports were reorganized for greater consistency with the broader project app changes. Customers using field service portals will see clearer time labels and better handling of field service project context.
Original PR description
*=industry_fsm,industry_fsm_{report,sale},project_holidays,sale_timesheet_enterprise
The main changes of this PR are explained in the community PR. Other changes include:
- Added the `fsm_mode` context key in the portal for fsm projects.
- Changed the label of `portal_effective_hours` and `portal_subtask_effective_hours` in the portal to be consistent with their non-portal counterpart.
---
Community: https://github.com/odoo/odoo/pull/106015
Task-2746370The salary contract wizard was reorganized so the information needed to generate simulation links is handled in one clearer flow. This reduces internal duplication and makes future maintenance easier, with little expected impact on day-to-day users.
Original PR description
The various information in generate.simulation.link is currently calculated and determined in multiple unrelated places. This commit streamlines the flow of this wizard and removes redundant fields to make the code more readable. task-3050988