Tuesday, February 4, 2025
10 changes · 18.0
Resolved issues and error corrections
This fix stops website visitors from being repeatedly redirected when a chatbot ends with a link. Once the chatbot has completed its steps, live chat is marked inactive so the bot does not restart unnecessarily on page reload.
Original PR description
Before this PR, if a chatbot's last step is redirecting to a URL, a visitor could be trapped in an infinite loop of redirection. This is because the chatbot always replays the last step of the script when the page loads. This PR updated the livechat_active status when all the steps were done and ensured that the chatbot service doesn't start if livechat_active is false. Task-4518285
The recruitment app now shows the correct number of related applications for a candidate, including archived or refused ones. This prevents confusion when users refresh a page or open the Other Applications button and expect consistent results.
Original PR description
To reproduce: ============= - create 3 applications for same candidate - open one application and archive/refuse it - refresh the page -> smart button **Other Applications** displays 2 - click on the smart button -> only 2 applications are listed Problem: ======= - when refreshing the page, the context is lost so `other_applications_count` is computed without `active_test=False` so non active records are excluded - when clicking on the smart button, the current record is excluded from the domain Solution: ========= - compute `other_applications_count` with `active_test=False` - add the current record in the domain when clicking on the smart button opw-4488834 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an unwanted border that appeared around the rating image on rating pages. The rating display now looks as intended while keeping the existing rating functionality unchanged.
Original PR description
Description of the issue/feature this PR addresses: Related ticket: https://www.odoo.com/odoo/my-tasks/4482430 The 'btn' class was incorrectly applied to the rating label in rating_templates.xml, which affected the styling, making extra border line displaying on the rating image. Removing this class restores the expected appearance. Current behavior before PR: there will be weird border on the rating page  Desired behavior after PR is merged: The border will be invisible and everything else still functional without any influence --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The HTML editor now converts invalid self-closing tags into standard open-and-close tags when loading content. This prevents browser misinterpretation that could break email templates such as sales order confirmations.
Original PR description
**Problem**: When content comes from the config containing self-closing tags, the browser misinterprets them as they are not valid HTML, leading to a broken template when displayed. **Solution**: Convert self-closing tags to explicitly opened and closed tags when content is added to the editor. **Steps to Reproduce**: 1. Open Email Templates > "Sales: Order Confirmation". 2. Inspect and observe that self-closing tags are not rendered correctly. opw-4531812 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an accounting issue that could appear during upgrades when a contact and its parent company belong to different companies. It helps ensure partner information can be accessed reliably, reducing upgrade failures or accounting disruptions.
Original PR description
Since https://github.com/odoo/odoo/commit/25cf037c we're trying to access `ResPartner.commercial_partner_id` but there are some issue with upgrade as it appears that some partners belong to a different company than their parent partner.
This fix removes an incorrect percentage display from account report subtotals in the invoicing spreadsheet dashboard. Business users will see clearer, more sensible financial figures in dashboard pivot views.
Original PR description
Some pivots were defined with a wrong format on their measure, namely a display of percentage on the subtotal of account reports which makes no sense. task -4546273 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
Kenya payroll now calculates the Social Health Insurance Fund contribution from gross pay instead of basic pay, aligning payslips with the required basis. The update also removes the SHIF relief rule because that relief does not apply, improving payroll accuracy and compliance.
Original PR description
Problem ---------- The SHIF is based on the gross and not the basic. There is no SHIF Relief Objective ---------- Correct the SHIF implementation Solution ---------- Get GROSS in SHIF computation rather than BASIC Remove SHIF Relief Rule task-4414345
Users can no longer accidentally clear the email alias domain on documents or folders. This prevents confusing setup prompts and avoids a state where the alias domain cannot be restored from the document view.
Original PR description
Steps to Reproduce: - Create an email alias in the settings. - Create a document or folder record. - Delete the alias domain from the document detail view. Technical Reason: When the alias_domain_id field is cleared and saved, the system writes False to the field. This causes Owl to incorrectly render a button prompting the user to set up an alias domain, even though one is already configured. Additionally, there is no functional way to restore the alias_domain_id field once it has been cleared. Fix: This commit prevents users from clearing the alias_domain_id field by raising a validation error if they attempt to do so. Task-4528283
This fix ensures that employees can open document previews from the My Documents list view in their profile. It loads the correct document action so the list view behaves as expected, reducing confusion when accessing HR documents.
Original PR description
Bug === 1. Open your profile -> My Documents 2. Switch to list view => You can not open the preview The reason is that the JS of the list view is not loaded, because we don't execute the right action. Task-4546797
The delivery carrier test setup now creates the users it needs instead of depending on optional sample data. This helps ensure automated checks run reliably in environments where demo data is not installed, reducing false failures during validation.
Original PR description
This PR fixed tests when runbot runs without demo data installed. Creates users instead of referencing them and editing.