Daily updates from Odoo
Friday, July 18, 2025
13 changes · saas-18.3
Resolved issues and error corrections
This fix updates the Mexican DIOT report so it uses the current column references introduced by a related accounting change. It helps ensure DIOT values are calculated and reported under the correct categories, reducing confusion and reporting errors.
Original PR description
Description of the issue/feature this PR addresses: The language used in the DIOT documentation was confusing and even though we had the exact same description for two columns it turns out they were…
Description of the issue/feature this PR addresses: The language used in the DIOT documentation was confusing and even though we had the exact same description for two columns it turns out they were different, so we need to change the logic of a few columns to make it work as needed. This issue was addressed in PR: https://github.com/odoo/odoo/pull/217441, but a small adjustment still needs to be made in the l10n_mx_reports module. Current behavior before PR: The l10n_mx_diot_get_values function uses references to the old account.report.expression that were removed in the pr mentioned above. Desired behavior after PR is merged: The l10n_mx_diot_get_values function uses the new references to account.report.expression that were introduced in the pr of the community repo. opw-[4920577](https://www.odoo.com/odoo/my-tasks/4920577) "I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr" Forward-Port-Of: odoo/enterprise#89984 Forward-Port-Of: odoo/enterprise#89481
This fixes an issue in the Gantt schedule view where using Today after selecting a one-day custom range could create an invalid date range. Users can now continue navigating the schedule normally with the next arrow, avoiding confusion during appointment resource planning.
Original PR description
Steps to reproduce ================== - Go to Appointments > Schedule > Resources Bookings - Select a custom range with the same start date and stop date - Click apply - Click on Today - Use the next arrow => Nothing changes Cause of the issue ================== If there is 0 day between the start and stop dates, clicking on today will have the stop date before the start date. opw-4754203 Forward-Port-Of: odoo/enterprise#88919
Subscriptions that include both recurring and one-time products now correctly generate invoices for advance payments covering the next billing period. This prevents missed second-period invoices and helps keep subscription billing accurate.
Original PR description
Steps to Reproduce: 1. create a subscription with a recurring & non-recurring product(select monthly cleaning quatation) 2. Pay for the first period. 3. Now, try to pay the advance payment for the second period. The invoice is not generated for the second duration Issue: - The invoice is not generated for the second period. Cause: - The _get_partial_payment_subscription_transaction method incorrectly compares the sum of authorized, uninvoiced transactions with the total order amount. Solution: - Update the _get_partial_payment_subscription_transaction method to compare the sum of authorized, uninvoiced transaction amounts with the next billing period’s total instead of the full order total task-4780971 Forward-Port-Of: odoo/enterprise#85114
This fixes a configuration issue in the Swiss payroll ELM transmission module by removing an incorrect preset value from a linked setting. It helps ensure payroll transmission settings reflect the actual company configuration and avoids misleading defaults.
Original PR description
…lated field Forward-Port-Of: odoo/enterprise#90425
Spreadsheet users can now autofill pivot columns, including columns that were themselves created through autofill, without triggering a crash. This improves reliability when extending reports with date-based measures and reduces interruptions during spreadsheet analysis.
Original PR description
Fix crash when autofilling columns which where created by autofill. Task: 4719884 Forward-Port-Of: odoo/enterprise#86846 Forward-Port-Of: odoo/enterprise#83314
The AI Composer no longer shows user mention or channel suggestions that could not be used successfully. This prevents confusing options and avoids errors when slash commands are entered in AI Composer channel conversations.
Original PR description
* = test_discuss_full_enterprise Disabled all @ (mentions) and # (channel) suggestions in ai_composer to prevent non-functional options. also prevents error when using / commands in ai_composer type of the channels. task-4918914
When users download an electronic invoice XML from the send and print flow, the related file is now correctly added to Documents even if it is not emailed. This keeps accounting document records complete for Peppol e-invoicing workflows.
Original PR description
Event with the document integration correctly setup, e-invoice xml generated in the send&print wizard will not create an associated document unless the attachment is actually sent via mail Steps to reproduce: - Have a EU Company setup - Enable and configure Peppol Electronic Invoicing - Enable documents integration with accounting - Create an invoice to a Peppol enabled customer, confirm - Open send&print wizard, enable only 'Download' and 'BIS Billing 3.0' Issue: Document related to the xml attachment is not created. This will work as expected when the message is sent to the customer It occurs because, in case of xml attachment, we don't create an associated document until some attachment have been registered on the move, effectively delaying document creation until the mail attachments are created opw-4720588 Forward-Port-Of: odoo/enterprise#89977 Forward-Port-Of: odoo/enterprise#88746
This fix restores the Mexican electronic invoicing payment method field on bank statement lines. Users can again edit this information during bank reconciliation, helping keep payment reporting accurate for Mexican localization requirements.
Original PR description
Since https://github.com/odoo/enterprise/commit/2335c953723dce66af8811fdfbfd5b811d42b109 The field l10n_mx_edi_payment_method_id is no longer available on statement lines to be edited by the end user.
A website rental checkout test was adjusted so it waits correctly without interacting with the date picker. This helps keep automated checks stable and reduces false build failures, with no expected change for customers using the rental flow.
Original PR description
remove click on datepicker in the wait step build-error-213702 Forward-Port-Of: odoo/enterprise#89873
This change fixes an automated test for the Knowledge app by making it find the clipboard copy button more reliably. It helps keep release validation stable and avoids false test failures that could delay deployments.
Original PR description
This commit fixes an issue with the embedded clipboard steps in the commands tour. The selector for the problematic steps was too specific as the copy button isn't always the 1st button. runbot-114522 task-4748626 Forward-Port-Of: odoo/enterprise#80845
Deferred accounting entries are now created even when the covered period is shorter than one month, such as only a few days within the same month. This helps ensure revenue or costs are allocated accurately for short invoice periods and avoids skipped deferrals.
Original PR description
Previously, `_get_deferred_periods` would return an empty list when the deferral period was contained within a single month and matched the invoice date's month, even if the period spanned multiple days. This caused deferred entries to be skipped for valid short deferral spans (e.g. June 25 to June 30). This fix removes the condition that filters out single-month deferral periods, ensuring that deferred entries are always generated when a valid start and end date are present. This change supports accurate pro-rata allocation even for invoice periods shorter than one month, aligning the accounting behavior with expected financial standards. task-4910854 Forward-Port-Of: odoo/enterprise#89114
Field service orders that include kit products now correctly validate their related delivery when the task is marked done. This prevents delivered quantities from staying at zero and keeps sales and delivery records aligned for kit-based work.
Original PR description
**Problem:** when the product in the sale order linked to a field service task is a kit and the task is marked as done, the delivery is not validate (as it would for a non kit product) **Steps to…
**Problem:** when the product in the sale order linked to a field service task is a kit and the task is marked as done, the delivery is not validate (as it would for a non kit product) **Steps to reproduce:** - Create a product and set up a Kit-type Bill of Materials for it (with at least two components) - Create a service-type product. - Set the Invoicing Policy to Prepaid/Fixed - set the "create on order" field to Task - assign the Project to Field Service. - Create a Sales Order using the service product. - Confirm the Sales Order. - In the linked task, click on the Products smart button - add the kit-type product from step 1. - Mark the task as done. **Current behavior:** On the sale order, the delivered quantity for the kit product is 0. If you click on the delivery smart button, you'll see that the picking is not validated yet **Expected behavior:** the picking should be validated **Cause of the issue:** https://github.com/odoo/enterprise/blob/d8dc0cabd83a29d0522cb5fd25c6956968d4408b/industry_fsm_stock/models/project_task.py#L23 the orer_line is considered as an exception because the order_line product_uom_qty is smaller than total_qty (the sum of the move_ids' product_uom_qty) But this is normal in the case of a kit opw-4848444 Forward-Port-Of: odoo/enterprise#89616 Forward-Port-Of: odoo/enterprise#88363
This fix prevents the Knowledge app from failing when optional information is missing. It improves stability by handling empty values safely instead of treating them as structured data.
Original PR description
Just be sure when using an argument that can be False instead of a dict. Task-4845982 Forward-Port-Of: odoo/enterprise#90285 Forward-Port-Of: odoo/enterprise#90254