Daily updates from Odoo
Saturday, July 12, 2025
7 changes
1 change
Resolved issues and error corrections
A purchase module test now uses a product type that is available without requiring the stock module. This keeps automated checks reliable and helps prevent build failures without changing business functionality.
Original PR description
`is_storable` is defined in `stock`. This test is located in `purchase`, that do not depend on `stock`. We use type='consu' instead. This change ensures that the product is created with the correct type. build_error-229762 Forward-Port-Of: odoo/odoo#218403
6 changes
Resolved issues and error corrections
The Italian point of sale flow now makes sure the invoice option is selected before an order is validated, avoiding a validation error that blocked completion. A small duplicate line was also removed from the UrbanPiper POS integration cleanup.
Original PR description
## After this commit: - It ensure invoice checkbox is selected before validation, preventing the error and allowing the order to validate correctly. - Removed repeated line in `pos_urban_piper`. Runbot [link](https://runbot.odoo.com/odoo/runbot.build.error/159985) Ticket [link](https://www.odoo.com/odoo/project/967/tasks/4916349) runbot-159985 task-4916349 Forward-Port-Of: odoo/enterprise#90018 Forward-Port-Of: odoo/enterprise#89486
The Spanish Model 349 BOE report no longer includes correction lines for bills that were created and fully cancelled within the same reporting period. This prevents unnecessary or misleading entries in official tax report exports while preserving expected corrections for older-period bills.
Original PR description
# How to reproduce the issue On a **l10n_es** fiscal position: - Create a bill for the current period and then create a credit note for this bill. - In the tax report, under model 349, download the BOE report. Since the bill has been fully canceled within the same period, no rectification line should appear in the BOE report (correct behavior). - Create a bill from a previous period. - Create a credit note for this bill in the current period. - Download the BOE report from model 349. A rectification line appears for the previous period bill, which is expected. However, a rectification line also appears for the current period bill, which is incorrect, as the bill was canceled within the same period. This commit prevents moves from the current period from being included as rectification lines in the BOE report. opw-4895636 Forward-Port-Of: odoo/enterprise#89624 Forward-Port-Of: odoo/enterprise#89382
This update corrects an automated test used to verify rental product comparisons in the webshop. It helps keep quality checks reliable so future changes are less likely to be blocked or incorrectly flagged by a test issue.
Original PR description
See https://runbot.odoo.com/odoo/error/229766
This fix restores missing parts from a previous AI tools refactoring that were lost during rebasing. It helps ensure AI responses and error messages are posted correctly, reducing the risk of failed or confusing AI interactions for users.
Original PR description
The ai tools declaration and usage is refactored here: d37b87a8f270fc72f1c77c25aa11f40db19e866a However, some parts of the code were missing because of rebase errors. This commit corrects the errors.
Subscription pricing or availability rules that depend on a minimum product quantity are now only applied once that quantity is reached. This prevents customers or sales teams from seeing rules intended for larger orders too early, improving quote and checkout accuracy.
Original PR description
Rules applicable above a specific product quantity should not be considered unless the minimal quantity is reached. Forward-Port-Of: odoo/enterprise#89637
The Belgian payroll double holiday pay report now uses a more accurate document name instead of referring to the 13th month. This helps payroll teams and employees identify the correct report more easily and avoids confusion between different payment types.
Original PR description
Originally, the name structure for double holiday follows "13th Month -[Legal Name] -[year]". It has been renamed to "[Payslip name]- [Legal Name] -[year]" . Forward-Port-Of: odoo/enterprise#88732