Tuesday, April 25, 2023
3 changes
Resolved issues and error corrections
This fixes an issue where renaming a Helpdesk team could cause an error and interrupt the update. Users can now change Helpdesk team names normally, improving reliability for helpdesk configuration updates.
Original PR description
Description of the issue/feature this PR addresses: In helpdesk module, when name of helpdesk is try to update it gives traceback of alias_name not found. Current behavior before PR: generate traceback when helpdesk name is updated. Desired behavior after PR is merged: helpdesk name is updated without traceback. Fix: alias_name is not found as there is no record with name alias_name in values pass by _alias_get_creation_values function due to which traceback is generated. we added condition as if alias_name is not in self then only its called _alias_get_creation_values function. task-3252521
This update makes key record actions such as creating, updating, deleting, and setting defaults behave more consistently across affected Odoo apps. It reduces the risk of unexpected errors in edge cases, especially when actions are run with empty inputs or no selected records.
Original PR description
Enforce strict types for returned values for * create * write * unlink * default_get to make those methods more consistent and reliable. Also make sure they can be called with empty self/values, i.e. that they follow the same behavior as the base methods defined in the main orm Model. Community PR: https://github.com/odoo/odoo/pull/116809
Web Studio now uses the updated format expected by selection menus when choosing size options. This keeps Studio aligned with the main platform change and helps prevent issues when editing views.
Original PR description
This commit is the counterpart of the community fix, which removed the support of arrays as SelectMenu value. Instead, each size option has been replaced by a string. Community PR: https://github.com/odoo/odoo/pull/119298