Tuesday, February 4, 2025
4 changes
1 change
Resolved issues and error corrections
The helpdesk stock ticket list no longer loads an unused product suitability field. This removes unnecessary background processing and should make ticket lists faster, especially when many tickets are shown.
Original PR description
Following odoo/enterprise@07954ea8b5bccd185dc4639c5e75d5dbab8b5499, `product_id` was removed from the list view. Therefor there is no more reason to have `suitable_product_ids` in the list view also, as the only reason it was present was because `product_id` had a domain that was depending on the `suitable_product_ids`. This should also lead to a significant performance improvement of the list view, as `suitable_product_ids` doesn't scale well with a larger collection of tickets than `1` which was the expected usage in the form view.
3 changes
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 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
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