Tuesday, February 11, 2025
13 changes
2 changes
Resolved issues and error corrections
The French accounting add-on will again be installed automatically when both Accounting and French localization are present. This prevents French accounting features from being missed during setup, while relying on the existing French localization for country configuration.
Original PR description
This commit:https://github.com/odoo/odoo/commit/134324c5cf0e2e62f02d212ac27a9442e1f7a824 removed the auto-install for l10n_fr. Which has the consequence of not having l10n_fr_account installed when we have account and l10n_fr. This commit will reintroduce that but also removing the countries since it depends on l10n_fr that already has the country set up. task: 4296946 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The activity dropdown now closes after users choose Lead/Opportunity in CRM or Today's Meetings in Calendar. This makes the menu behave consistently and avoids leaving an unnecessary dropdown open after navigation.
Original PR description
[FIX] calendar, crm: close activity dropdown on option selection Previously, selecting the Lead/Opportunity activity option (CRM module) or the Today's Meetings option (calendar module) in the systray activity dropdown would redirect to the appropriate view, but keep the dropdown open. This is inconsistent with the behavior for the rest of the options in the dropdown, which close said dropdown when selected. This makes it so the dropdown in the systray activity dropdown gets closed when selecting the Lead/Opportunity option. task-3874130
4 changes
Resolved issues and error corrections
7 changes
Resolved issues and error corrections
This fixes a timing issue that could prevent the link popover from opening correctly when users trigger it from Odoo's shortcut bar. The change makes the editor behavior more consistent and reduces small interruptions while editing content.
Original PR description
Fix a race condition between two different event that can affect the opening of the link popover when triggered via the odoo shortcut bar. backport of #197287 runbot-115558 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update cleans up and renames internal test helper files so they are handled correctly by the automated test system. It helps improve reliability of quality checks across accounting, planning, signing, localization, and related business workflows without changing day-to-day user features.
This fix restores missing internal markers on customized behavior so Odoo handles those processes consistently. It helps avoid subtle issues in recruitment referrals, subscription closing, and enterprise web behavior without changing how users work day to day.
Original PR description
Some overrides are missing the decorator from the definition. odoo/odoo#196923
The Sign app's email notification test now works consistently even when demo data is turned off. This helps prevent false test failures and keeps quality checks reliable across different setup configurations.
Original PR description
fixed `test_sign_request_notification` to work when demo data is disabled. - Ensure `self.env.user.email` is set before triggering email-related assertions. - Use `formataddr` for consistency in `assertSentEmail` to match the expected sender format. This ensures the test properly validates email notifications regardless of demo data availability.
The Sign app's Sample Document button now opens the example document instead of showing an error. This removes a blocker for users trying to preview or test the signing workflow.
Original PR description
Version: - 18.2 Steps to reproduce: 1. Open the Sign app. 2. Click the "Sample Document" button. Issue: - A traceback error occurs. Cause: - The method name used in the `onclick` event does not match the actual method name. Solution: - Correct the `onclick` method name to properly call the `onClickSampleSign` method.
This fixes an unreliable automated test for restaurant preparation receipts by checking the receipt content directly instead of relying on a temporary print area. It helps reduce random test failures without changing point of sale behavior for users.
Original PR description
The `PreparationPrinterContent` test was checking if the preparation receipt was containing a specific string. But the check was performed on the `.render-container` which is generated for printing and erased just after. That was causing a random error in the test. Now we call internal `pos_store` method that generate the receipt content and we check if the string is present in the content. runbot error id: 114884
This fixes an intermittent issue in HTML editor tests where a link popover could steal focus at the wrong time on slower systems. The test now waits for the popover before refocusing the editor, making automated checks more stable without changing user-facing behavior.
Original PR description
Some tests end with the selection in a link, leading the link popover to open, which blurs the editable element. To prevent that, we would focus the editable by force, then wait a tick. But when the CPU is slow, sometimes the focus into the link popover happens too late to redirect it. This waits for the popover to open before focusing the editable. runbot-112609 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Long product packaging names now display more cleanly on sales-related reports instead of wrapping awkwardly into a narrow space. This makes printed or generated sales documents easier to read and more professional for customers and staff.
Original PR description
step to reporduce: 1. createdb with sale and inventory in 18.0 and activate product packaging 2. Create product or demo product can be used add the product packaging in inventory tab. 3. if packaging name is have more text then it description data will auto wrap in small portion which don't look good. before fix:  after fix:  upg-2452360 opw-4527424 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixed an issue where non-admin users could see an error when opening Invoicing with only a branch company selected. Bank logo information can now be retrieved correctly in this setup, improving reliability for multi-company branch users.
Original PR description
**[FIX] account_online_synchronization: branch company failing to fetch bank's logos.** When a branch company is selected alone with a non admin user, the function `fetch_online_sync_favorite_institutions` fails due to an access error, when trying to access the original companies country code (which is not selected). To reproduce the issue: - Create a branch for a company with a bank journal that hasn't been set up. - Create new internal user with access to the new branch company as well as the parent (origin of the journal) - Login with the non admin user - Choose soley the newly created branch in company selector - Open invoicing opw-4524368
The Partner Ledger report no longer shows the Send button twice when using a duplicated child report. This prevents confusion for accounting users and keeps report actions clear and consistent.
Original PR description
### Steps to reproduce the issue: 1. Using debug mode, in _Accounting > Configuration > Management > Accounting Reports_, duplicate Partner Ledger 2. Set Partner Ledger as Root Report of the copy 3. In _Accounting > Reporting > Partner Reports > Partner Ledger_ use the copy report 4. The Send button is displayed twice ### Explanation: When using a child report, `_custom_options_initializer` will be called both for the report and its `root_report_id`. https://github.com/odoo/enterprise/blob/92a47d5fb28449c32b632446d983a42d3df77547/account_reports/models/account_report.py#L7174-L7177 The Partner Ledger override of this method includes the addition of a button, but we don't check its presence, and the method being called twice makes the button being added twice to the options object. ### Fix reasoning: Checking that a button sending to the same action is already in the options avoids multiple buttons with the same purpose from being added in the options. opw-4506968
Fixes how guidance messages at the top of the Barcode app are prepared for translation. This ensures translators receive complete sentences, making the messages clearer and more natural in different languages.
Original PR description
The transfer tip messages displayed at the top in the Barcode app were constructed with `<b>` markup in the OWL template. However, the translation extraction mechanism for OWL templates splits the template up per tag it encounters. So if you had a message like `Scan a <b>transfer</b>, a <b>product</b> ...`, it would extract the `, a` part separately. Moreover, if the final string didn't contain more than 1 alphanumerical character, it wouldn't be exported in the .pot file and thus not be translatable. Also, having these messages chopped up doesn't allow translators to change word order in other languages. In this commit we safely construct the messages in Javascript and have them translated as one full sentence. After this, we show them in the OWL template. [task-4421055](https://www.odoo.com/odoo/project.task/4421055) Related to https://github.com/odoo/odoo/pull/196805