Monday, December 18, 2023
6 changes · master
Enhancements to existing features
Discuss conversations are now assigned to their sidebar categories automatically instead of being sorted after updates. This should make the sidebar handling more efficient and reliable without changing how users interact with Discuss or Live Chat.
Original PR description
*: im_livechat. Before this commit, discuss sidebar categories were filled by listening to thread updates. This is suboptimal since thread types never change. This commit make use of the discuss record inverses to assign the thread to its category automatically. part of task-3640730 enterprise: https://github.com/odoo/enterprise/pull/52888
This update removes an unused internal method from the base user management area. It helps keep the system code cleaner and easier to maintain, with no expected impact on day-to-day users.
Original PR description
Introduced at 774ea74c38
Mexico HR now uses the existing employee social security number field instead of keeping a separate Mexico-specific field. This reduces duplicate data entry and keeps employee records more consistent across the system.
Original PR description
- Remove l10n_mx_nss from hr.employee model since in that model already exists the field ssnid to save the social security number so it is not necessary to add another field just for Mexico. - Add ssnid field to the employee form instead of l10n_mx_nss. Original PR from Vauxoo: https://github.com/odoo/odoo/pull/145873 that we took on to add the required upgrade script.
The Mexican HR employee form now uses Odoo's existing social security number field instead of a separate Mexico-specific field. This avoids duplicate employee data and keeps social security information in one standard place.
Original PR description
- Remove l10n_mx_nss from hr.employee model since in that model already exists the field ssnid to save the social security number so it is not necessary to add another field just for Mexico. - Add ssnid field to the employee form instead of l10n_mx_nss. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update adds automated checks to ensure planning shifts keep their linked project, task, and sales order details when an archived employee's shifts are converted into open shifts. It also verifies that newly created resources receive an initials-based avatar, helping preserve clear scheduling information and resource identification.
Original PR description
This commit adds some tests for checking those behaviours :
- When an employee is archived, the project, task, SOL should be
copied when converting his shifts into open shifts
- When a resource is creatly on the fly, an avatar with their
initials should be automatically generated
taskid:3387301The worksheet template field on field service tasks is now hidden until a customer is selected and worksheets are enabled. This reduces confusion for project users by only showing the setting when it can actually be used.
Original PR description
Before these commit: When worksheet is enable and customer field is empty in project task, worksheet template field is visible in project task which confuses the project user where they still do not see the worksheet and when changing worksheet template field they need to select the customer field. After these commit: Now worksheet is enable and customer field is selected then worksheet template field is visible to project user in project task , and if customer field is not selected then worksheet template field will not visible to project user. task-3494496