Daily updates from Odoo
Monday, November 18, 2024
15 changes
8 changes
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 default payment reminder email has been refined to make follow-up messages clearer and more polished for customers. The template also uses email-compatible styling so reminders display more reliably across email clients.
Original PR description
This commit slightly improves the default followup email message for payment reminder. task-4245024
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
Payroll will no longer show a payslip duration warning when the selected salary structure is not configured to use worked day lines. This reduces confusing alerts for payroll teams in setups where that warning is not relevant.
Original PR description
If a structure has the setting 'use_worked_day_lines' set to False, we shouldn't show the warning for the payslip duration. Task: 4300660
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
The product form layout in Intrastat reporting has been adjusted so fields take up space more consistently. This helps keep the interface cleaner and easier to use when reviewing or editing product-related Intrastat information.
Original PR description
Before this commit some fields were taking extra space and ruining the UI by breaking uniformity After this commit uniformity was restored in UI TaskId - 3794896
5 changes
Enhancements to existing features
The stock search view keeps common nearby-date filters visible so users can quickly find relevant warehouse operations. This makes day-to-day inventory checks easier without needing to dig through hidden search options.
Original PR description
The filters has been added to work with the graph overview. However people asks to not hide everything in the search since it's a basic operation Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Studio exports now preserve the specific type of actions instead of treating them as generic actions. This makes exported customizations more accurate and easier to reuse, with only minor related test and cleanup updates.
Dragging a signing field from the sidebar now shows a preview that matches the final dropped size. This makes document preparation smoother and avoids confusing size changes when placing signature fields.
Original PR description
Before this commit, when onSidebarDragStart was called to start dragging a sign item from the side bar, the placeholder was not resized the same it it is when it is dropped. Therefore the placeholder would see his change change upon releasing the element. taskid: 4164114
Signing boxes that do not require action are now hidden, reducing clutter during document review and signing. Boxes also show the responsible person's name, making it clearer who needs to complete each required field.
Original PR description
- Hide sign item box when you don't need to fill it - Add responsible name to box task-id: 4316046
When sending a message about a salary offer, the system now automatically suggests the email address of the related employee or applicant. This helps HR teams send offer communications faster and reduces the chance of choosing the wrong recipient.
Original PR description
Offer "send message" will directly propose the email of the offer's employee/applicant. task-4062860
2 changes
Enhancements to existing features
This update streamlines the process of handling spreadsheet data, eliminating redundant encoding and decoding steps. This optimization reduces the time it takes to process spreadsheets, specifically improving performance by approximately 70ms. This change enhances the overall responsiveness of the Enterprise module.
Original PR description
This commit removes unnecessary base64 encoding and decoding operations when computing `spreadsheet_data` which contains the serialised json data. Previously, the binary field `spreadsheet_binary_data` was base64-encoded (as is the case with all binary fields), meaning the file was read, encoded to base64, and assigned to `spreadsheet_binary_data`. To retrieve the serialized JSON, it then had to be decoded again. By avoiding this redundant steps, with a spreadsheet file of 16.7Mb, we optimize the time spent in `_compute_spreadsheet_data`: before: ~100ms after: ~30ms Task: 4256155
This update ensures the redirect button label is always present when a redirect URL is set in Odoo Enterprise. This simplifies the user interface by hiding the 'Close' button when a redirect isn't needed, improving clarity and usability. The change also updates the default redirect URL text from 'Open Link' to 'Close'.
Original PR description
This commits makes the redirect button label mandatory when there is a specified redirect URL. It also improves the hiding of the redirect label field when there is no redirect URL specified. task-4174120