Daily updates from Odoo
Monday, November 18, 2024
5 changes · master
Enhancements to existing features
Payroll salary rule categories can now be linked to a country, helping companies use the right categories for each local payroll setup. This reduces duplicate or conflicting category choices and removes a redundant Moroccan payroll category.
Original PR description
-added new field country_id on salary rule categories model. -added constrain to prevent from creating two categories with same code in same country. -added constrain for the category which is currently used in existing salary rule, country field should not be changed. -added domain for category_id in hr salary rule model based on the country of structure, which means the structure without the country will show the category without country and structure with country will show the categories of that specific country and category without country in hr.salary.rule -added domain for parent_id to display only categories with same country or available to all countries. -added the specific countries in l10n data for salary rule category. -added tests * = l10n_ma_hr_payroll -removed Employer's contributions rule category in Moroccon localization because its same as the Company Contribution rule category task-3947372
The signing experience has been cleaned up so completed, cancelled, refused, and expired documents behave more consistently in the thank-you screen. Mobile users also get a simpler signing interface with clearer actions and better zoom controls, reducing confusion when completing documents on small screens.
Original PR description
This commit aims to fix some issues with sign: 1. on the Thank-you dialog, when clicking on cancel, document should be removed from the list. 2. don't include expired sign requests in the Thank-you dialog. 3. change the layout of Thank-you dialog. 4. for mobile view, remove "Fill in" input field. 5. for mobile view, rename the validate button. 6. changing validity to the past, should set the state to 'expired'. 7. refusing sign requests on the Thank-you dialog doesn't cancel them. 8. fix zoom in/out on mobile screens. task: 4294860
This change lays groundwork for a revised Discuss messaging service used across several Odoo apps. It improves the shared communication foundation that supports chatter, activities, attachments, live chat, VoIP, and related collaboration features, helping teams benefit from more consistent messaging behavior over time.
Original PR description
https://github.com/odoo/odoo/pull/125092
WhatsApp template buttons that use a relative link, such as /my/home, are now automatically completed with the current Odoo instance domain when submitted for approval. This makes it easier to create message buttons that reliably send customers back to the right Odoo website without manually entering the full address.
Original PR description
Whenever a WhatsApp template has a url button with website_url that has no domain (e.g., /my/home), this website_url intuitively is expected to be prefixed with the current instance domain (e.g., https://odoo.com/my/home). This domain prefixing takes effect when the template is submitted for approval. This feature is useful in case we want to create a template button redirecting to the Odoo instance that created it. task-4241442
This update refines the look and behavior of Discuss-related screens and messaging tests, making conversations feel more polished and consistent. It also touches WhatsApp messaging and stock barcode image preview areas to keep related communication experiences aligned.
Original PR description
https://github.com/odoo/odoo/pull/170120