Thursday, October 3, 2024
8 changes · master
Enhancements to existing features
This update ensures certain data checks run with the right access level, reducing the chance of validation issues caused by user permissions. It helps make appointment-related operations more consistent and reliable without changing the user experience.
Original PR description
odoo/odoo#180045
Resolved issues and error corrections
The timesheet timer display has been adjusted to use a single-line format for a cleaner and more consistent look. This makes the timer easier to read and better aligned with the rest of the timesheet interface.
Original PR description
Modified the timesheet timer display to use a single line format for consistency. This change ensures that the timer is now presented in a more streamlined manner. task-4146841
Miscellaneous changes
Description of the issue this commit addresses: Branches companies are not allowed to export to XML the OSS reports while this is a use case that should be allowed for specific scenarios. --- Desired behavior after this commit is merged: The XML export button is usable by any branch company. --- Community PR: https://github.com/odoo/odoo/pull/181954 task: no-task Forward-Port-Of: odoo/enterprise#71011 Forward-Port-Of: odoo/enterprise#71006
Original PR description
Description of the issue this commit addresses: Branches companies are not allowed to export to XML the OSS reports while this is a use case that should be allowed for specific scenarios. --- Desired behavior after this commit is merged: The XML export button is usable by any branch company. --- Community PR: https://github.com/odoo/odoo/pull/181954 task: no-task Forward-Port-Of: odoo/enterprise#71011 Forward-Port-Of: odoo/enterprise#71006
Steps to Reproduce: - Open Field Service app - Open any task - Click on the Project Field Issue: - You can select any project which should not be possible because we dont use non fsm projects. Reason: - Change in structure of form. - A new label is added before the project field which makes the current xpath being used to become obsolete. Fix: - Updated the xpath. Issue from https://github.com/odoo/odoo/pull/131015 task-4204896 Forward-Port-Of: odoo/enterprise#7085
Original PR description
Steps to Reproduce: - Open Field Service app - Open any task - Click on the Project Field Issue: - You can select any project which should not be possible because we dont use non fsm projects. Reason: - Change in structure of form. - A new label is added before the project field which makes the current xpath being used to become obsolete. Fix: - Updated the xpath. Issue from https://github.com/odoo/odoo/pull/131015 task-4204896 Forward-Port-Of: odoo/enterprise#70850
Before this commit, when the user copy shifts of the previous weeks and in that previous week he has an open shift, he will have a traceback will be raised because we check if the resource of the shift is flexible or not to be able to correctly compute the allocated hours of the splits generated with the split to split. The problem is an open shift has no resource so it is no needed to check if the resource is flexible. This commit checks if the shift is an open shift or not before check
Original PR description
Before this commit, when the user copy shifts of the previous weeks and in that previous week he has an open shift, he will have a traceback will be raised because we check if the resource of the shift is flexible or not to be able to correctly compute the allocated hours of the splits generated with the split to split. The problem is an open shift has no resource so it is no needed to check if the resource is flexible. This commit checks if the shift is an open shift or not before checking if the resource is flexible or not. This commit also fixes another when we try to copy previous an open shift planned during 2 days, the allocate hours is computed based on the company schedule instead of the real time span between the date end and date start as we do in the `_compute_allocated_hours` method. task-4207839 Forward-Port-Of: odoo/enterprise#70623
For all 17.0 databases of a specific partner (strangely it couldn't be reproduced on runbot), the fsm catalog view was used to select product on sale order lines in mobile view. This commit ensures that this custom view will only be used for the specific action using it and won't appear in other places. opw-4196351 Forward-Port-Of: odoo/enterprise#71297
Original PR description
For all 17.0 databases of a specific partner (strangely it couldn't be reproduced on runbot), the fsm catalog view was used to select product on sale order lines in mobile view. This commit ensures that this custom view will only be used for the specific action using it and won't appear in other places. opw-4196351 Forward-Port-Of: odoo/enterprise#71297
platform should have been platform_id task-4222927 Forward-Port-Of: odoo/enterprise#71175
Original PR description
platform should have been platform_id task-4222927 Forward-Port-Of: odoo/enterprise#71175
Forward-Port-Of: odoo/enterprise#70849 Forward-Port-Of: odoo/enterprise#70715
Original PR description
Forward-Port-Of: odoo/enterprise#70849 Forward-Port-Of: odoo/enterprise#70715