Daily updates from Odoo
Monday, February 19, 2024
6 changes
3 changes
Resolved issues and error corrections
This update resolves a technical issue where the VAT field on partner records was incorrectly overriding the autocomplete feature. The fix reorganizes the display of VAT information, ensuring the autocomplete functionality now works as expected. This improves the accuracy of VAT data entry.
Original PR description
The xpath used in the res_partner_view replaces the vat field with a div, containing the partner vat and the VIES valid field (such that they are displayed on a single row). This results in the partner-autocomplete being removed from the field. The solution is to make a div, and a subsequent xpath that moves the "vat" field into this div (alongside the vies valid field). This no longer overrides the partner-autocomplete xpath. task-id: none Forward-Port-Of: odoo/odoo#154506 Forward-Port-Of: odoo/odoo#138528
This update enhances the way contract dates are filtered within the HR system. Previously, users could only filter by month, quarter, or year, which has now been expanded to include more granular date selection options. This improves the efficiency and accuracy of contract management.
Original PR description
This will add options for month, quarters and year selection to the start and end dates filters. Task: 3725209 Forward-Port-Of: odoo/odoo#152905
This update resolves a bug where the comparison price (strikethrough) remained visible on the website even after disabling the setting in the database. The fix ensures the strikethrough price only appears when the comparison price setting is actively enabled, improving website consistency.
Original PR description
**Current behavior:** Enabling the 'Comparison Price' setting and filling out the field will result in this strikethrough price appearing even after disabling the setting. **Expected behavior:** The…
**Current behavior:** Enabling the 'Comparison Price' setting and filling out the field will result in this strikethrough price appearing even after disabling the setting. **Expected behavior:** The strikethrough comparison price will only appear when the corresponding setting is enabled in the database settings. **Steps to reproduce:** 1. Enable the 'Comparison Price' setting in website settings 2. Select a product on the 'Shop' page of the website and edit it so it has a comparison price != to its regular one 3. Save product changes, go back to the db settings and disable the 'Comparison Price' setting 4. Go back to the website 'Shop' page and observe that the strikethrough comparison price is still displayed **Cause of the issue:** In the product.template model in website_sale, the price values are modified to those informed by the compare_list_price value independent of the current value of the corresponding database setting. It only checks if there is non-False value in the field. **Fix:** Look at the 'Comparison Price' setting before the price modification/calculations take place and skip them if it's False. opw-3705079 Forward-Port-Of: odoo/odoo#154274 Forward-Port-Of: odoo/odoo#151734
2 changes
Resolved issues and error corrections
This update prevents an error from appearing in the Payroll dashboard warning setup. It replaces an invalid development-mode value with the expected text, helping users avoid a traceback during configuration.
Original PR description
We made the following point. - Remove Python code from dev mode. - A traceback occurs when we set `return 0` in Python code. However, we have replaced `return 0` with the correct string in this commit. task-3729569
Referral point records now show a clear name and point value in all cases, including when the value is zero. This prevents records from appearing as unnamed, making referral tracking easier and less confusing for users.
Original PR description
This commit improve the display of hr_referral_points records by preventing the name to be 'unnamed' and by displaying the number of points in every situation even when the number of points is 0. The reason of unnamed seems to be that the record is interpretted as "False" when it's value is 0 task-3667797
1 change
Resolved issues and error corrections
Users experienced an unwanted scrollbar appearing in the spreadsheet share dropdown menu when using non-English languages like French (BE). This fix adjusts the dropdown menu height to display properly without the unnecessary scrollbar, improving the user experience across different language settings.
Original PR description
## Description: Previously, an issue was observed where the dropdown menu of the spreadsheet's share button displayed a scroll bar when users had selected a different language, such as French (BE). This PR addresses the problem by setting the height of the dropdown menu to auto, thereby resolving the issue of unnecessary scroll bar. Task ID: [3742260](https://www.odoo.com/web#id=3742260&cids=2&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form) Forward-Port-Of: odoo/odoo#153834