Daily updates from Odoo
Friday, January 12, 2024
7 changes
1 change
Resolved issues and error corrections
This corrects a demo holiday date in Belgian payroll to prevent two public holiday records from overlapping. It helps keep holiday data consistent and avoids confusion in payroll or time-off calculations that rely on these dates.
Original PR description
resource_public_time_off_be was coliding with resource_public_holiday_republic_day_in To avoid this, fix the date_from on public holiday
6 changes
Resolved issues and error corrections
This fix resolves a test issue in the HR Payroll module where a language was being deactivated even though it was still being used by inactive employees. The fix ensures that language deactivation doesn't interfere with existing user data, preventing potential test failures and data integrity issues.
Original PR description
Companion of https://github.com/odoo/odoo/pull/148947. Forward-Port-Of: odoo/enterprise#54148
This update fixes leftover code references in the Belgian POS blackbox module that were missed during a previous translation system update. The module now correctly uses the updated translation function calls, ensuring all text displays properly in the point-of-sale system.
Original PR description
Commit [1] replaced all uses of env._t by calling the _t function directly, and removed _t from the env. This commit adapts forgotten occurrences. c07181b20bf4f06b783136ffdb3b7a304be6b136 opw 3664779
Corrected a grammatical error on the public discussion welcome page where the guest name label incorrectly read "Logged as" instead of "Logged in as". This fix also ensures the label is properly translated across different languages, improving the user experience for guests accessing the public discussion feature.
Original PR description
Label of guest name on public discuss welcome page was gramatically incorrect. It should be "Logged in as" rather than "Logged as". Forward-Port-Of: odoo/odoo#148943 Forward-Port-Of: odoo/odoo#147984
This update fixes a leftover reference to an old translation method in the Live Chat module. A previous change replaced all translation calls with a new approach, but one instance was missed. This fix ensures the Live Chat feature uses the correct translation method consistently.
Original PR description
Commit [1] replaced all uses of env._t by calling the _t function directly, and removed _t from the env. This commit adapts a forgotten occurrence. c07181b20bf4f06b783136ffdb3b7a304be6b136 opw 3664779 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
A placeholder text in the Spanish (Mexico) translation was accidentally translated, causing the system to fail when trying to use the translated version. This fix corrects the translation file to prevent the error and ensures the system works properly for Spanish-speaking users in Mexico.
Original PR description
A placeholder was accidentally translated, which causes an error when the msgstr is used (and "campo") can't be found. We directly fix it in the .po file because as of v17, the es_MX is no longer on Transifex now that LATAM (es_419) is the preferred default. opw-3654160 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix resolves an error that occurred during testing when a user had no access to any applications. The issue was particularly common when testing individual features with demo users. The fix improves the error detection logic to correctly identify when the system is stuck in tablet mode, eliminating false error alerts.
Original PR description
Since [1], an error is raised when no app is detected on the clickbot. The issue with this is that it's possible for a user to no have access to any app. This occurs when we test single apps (web for instance) with demo user. The aim of the error is to detect if we are stuck on a tablet mode page. Now, we change the test on the ensureHomeMenu function, to don't have false positives, and detect correctly if we are stuck on a tablet mode page. Fixes runbot issue 52675 opw-3649047 [1] : 8f365824c9dddacf1b3a40688a30c8498df3d5d4 Forward-Port-Of: odoo/odoo#149044