Daily updates from Odoo
Thursday, March 27, 2025
15 changes
1 change
Resolved issues and error corrections
This fix prevents marketing campaign setup from failing in a specific case after a related default value was removed. It helps ensure marketing automation actions continue to work reliably for users creating or managing campaigns.
Original PR description
In [1], the first commit removes the server actions state field default value which made the marketing.campaign model to fail in a certain case. This commit fixes the issue. Task id: opw-4648932 [1]: https://github.com/odoo/odoo/pull/202347
14 changes
Resolved issues and error corrections
Sales order lines can now show either the taxed total or untaxed subtotal as an optional column, depending on what users need to review. This makes quotations with taxes clearer and reduces confusion when company tax settings hide one of these amounts by default.
Original PR description
Versions -------- - 18.0+ Steps ----- 1. Create a quotation; 2. add a product with taxes. Issue ----- Depending on the company tax setting, the only "Amount" viewable from the sale order line view is either `price_total` or `price_subtotal`. There's no way to easily add the other column to the view. Cause ----- The Pricepocalypse changed the view in commit 5bfd603d0cae5 to make only one "Amount" column available. Solution -------- Add the other amount as an optional field. opw-4574399
This fix adjusts the placement of editor power buttons so they do not overlap longer placeholder text, such as in Spanish. It improves readability and prevents a small but visible layout issue when users focus on editor input fields.
Original PR description
**Problem**: Power buttons overlap long placeholders, causing UI issues. **Solution**: Adjust power button positioning based on the placeholder's width. **Steps to Reproduce**: 1. Change language to **Spanish**. 2. Open the **editor**. 3. Focus on an input field. - **Issue**: Power buttons overlap the placeholder. **opw-4584709** --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixes an issue where clicking a snippet category while a mega menu was open in website edit mode could cause an error. Editors can now continue building pages and menus without interruption in this scenario.
Original PR description
Steps to reproduce: - Add a mega menu to the menu. - Enter edit mode. - Open the mega menu. - Click on a snippet category. - Bug: A traceback occurs. This was due to the absence of drop zones on the page for non-inline snippets when a mega menu was open. After this commit, we ensure that drop zones are present when clicking.
This change prevents access errors when customers view or buy combo products online. It ensures the website can correctly calculate product combination details, reducing failed shopping experiences.
Original PR description
This PR adds a missing `sudo` when computing the combination info for combo products.
Egyptian e-invoicing now sends the edited invoice line label to the Egyptian Tax Authority instead of always sending the product name. This restores support for businesses that customize invoice descriptions for compliance or customer clarity.
Original PR description
purpose of this commit: In version 17.3, a change was introduced to send the product display name instead of the line label. which meant unsupporting some valid use cases. This commit reverts the change back to sending the line label ticket-id: 4602920 Description of the issue/feature this PR addresses: modified labels are not sent to the ETA Current behavior before PR: -> change an invoice line label -> post the invoice -> send to ETA -> only product name is sent to the ETA Desired behavior after PR is merged: -> change an invoice line label -> post the invoice -> send to ETA -> line label is sent to the ETA --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The payment screen now scrolls only within the list of payment methods when many options are available. This keeps the rest of the screen stable and makes checkout easier for cashiers using many payment methods.
Original PR description
When to much payment method are available in the payment screen, the scroll is on the whole screen and not only on the payment method list. This commit fix the scroll on the payment method list. taskId: 4672440
Invoice draft placeholders now follow the same numbering format users set when resequencing invoices, including month-based formats. This helps finance teams preview accurate invoice numbers before validation and avoids confusion when working with future-dated invoices.
Original PR description
### Steps to reproduce: - Accounting > Customers > Invoices - Select all - Actions > Resequence - Add a month in the sequence: INV/2025/03/001 - Create a new invoice and select a date in a future month - The name in the placeholder does not respect the new sequencing format ### Cause: `_compute_name_placeholder` uses `_get_starting_sequence` which always return the same format for invoices. ### Solution: Change `_compute_name_placeholder`, mimicking the way the sequence number is computed in `_set_next_sequence`. opw-4612328
When a user removes an attachment from an email composer, Odoo now ensures the file is fully deleted rather than only removed from view. This prevents leftover attachment records from remaining in the database and helps keep records clean.
Original PR description
Steps: - Install sales app. - Open a sale order and click 'Send by Email'. - Remove file attachment from mail composer. Issue: - Removing mail attachment does not remove it completely at db level. Cause: - `.get` always returns undefined while removing the attachment. Fix: - Inserting `fileId` into `mailStore.Attachment` before unlinking resolves the issue.
This update fixes an automated ecommerce test that no longer matched recent checkout flow and button changes. It helps keep quality checks reliable so future website shop updates can be validated with fewer false failures.
Original PR description
Changes in the ecommerce app broke this test starting 17.4. Minor changes for the most part, change of button appearance, flow redirection, etc. rb-102094
The color picker now correctly applies opacity changes from the slider to selected text. This makes text styling more predictable for users editing HTML content, especially when creating designs that rely on transparency.
Original PR description
**Current behavior before PR:** - The opacity slider in the color picker did not apply the selected opacity to the text. **Desired behavior after PR is merged:** - Now, adjusting the opacity using the slider in the color picker correctly applies the selected opacity to the text. task:4419805
The public Knowledge sidebar now properly expands nested articles when visitors click to unfold a section. This makes article navigation work as expected and helps users browse public knowledge content without getting stuck.
Original PR description
This commit fixes an issue with the public sidebar. When you unfold an article the unfolding method was never linked to all the elements needed to unfold any children article. Commit message to be completed.
This fixes a batch payment test so it works correctly when the full accounting app is not installed. It helps keep automated quality checks reliable across different product configurations without changing day-to-day user behavior.
Original PR description
When accountant is not installed, valid_payment_states includes both "paid" and "in payment" options, which means that amount_residual and amount_residual_currency have the same value as amount. original commit for the test: https://github.com/odoo/enterprise/commit/8faa7fccd296aab290f96b05832f1152cc2d4b1c [runbot-errors](https://runbot.odoo.com/odoo/error/161370)
Fixed an error that occurred when customers tried to pay a subscription with no amount due. The system now treats missing payment amounts as zero, allowing the process to continue without a traceback.
Original PR description
Issue: - Try to pay zero amount subscrption traceback. Cause: - From payment we send `None` amount when there is no amount and we try to compare the amount and because of that it gives traceback. Fix: - Set zero to amount if it is None.
The Point of Sale now handles restricted categories that do not contain any products without crashing. This improves reliability for stores using category restrictions and avoids interruptions during setup or sales operations.
Original PR description
Before this commit, enabling category restriction could cause a crash if one of the selected categories did not contain any products. opw-4677964 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr