Monday, June 2, 2025
34 changes
3 changes
Resolved issues and error corrections
Fixes an issue where grouping account records by placeholder code could fail with an error. This helps users view and analyze accounting data more reliably in grouped lists and reports.
Original PR description
The web client considers the `account.account.placeholder_code` field to be groupable since there is an implementation inside _field_to_sql. However, grouping by this field results in a NotImplementedError because the search method doesn't implement equality. Equality is necessary because since the '__extra_domain' returned from `formatted_read_group` contains a leaf, such as `('placeholder_code', '=', ...)`.
Add the equality implementation to the search method. A test will be added later to the master branch in a later PR that found the issue https://github.com/odoo/odoo/pull/133224.
https://github.com/odoo/enterprise/pull/86626This fixes an issue in the website shop onboarding tour so users can complete the guided setup as expected. It helps new or configuring users follow the intended flow without getting blocked or confused.
This fixes failing Sales test checks when Odoo is built with only selected apps enabled. It helps keep automated validation reliable without changing the Sales experience for users.
Original PR description
runbot_error-161629 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
3 changes
Resolved issues and error corrections
A spreadsheet test was adjusted to match the corrected behavior of fixed-period global filters. This helps ensure the spreadsheet feature remains reliable after related changes in the shared codebase.
3 changes
Resolved issues and error corrections
Users can no longer save a blank name when renaming a document or folder from the side panel. If the field is left empty, Odoo shows an error notification and restores the previous name, helping avoid confusing unnamed items.
Original PR description
Fix the possibility to enter an empty document name when editing a file or folder name from the side panel. If the name is empty, a danger notification should be displayed and the previous name should be restored. Task-4794447
This update corrects internal tests so they use the debug setting in the same format as the application does. It helps keep automated checks accurate and reduces the risk of false test behavior, with no expected impact on day-to-day users.
Original PR description
The debug key in the environment, is a string based on the query string of the URL that can have the following values : "1", "assets", "asset,test" or "". This commit fixes some tests that incorrectly set the debug as a Boolean value.
Newly promoted accounting administrators can now generate, regenerate, and view Indian GST return reports without hitting an access error. This ensures authorized finance users can complete GST reporting tasks immediately after receiving the correct accounting role.
Original PR description
#PURPOSE: - Currently is the user is promoted as admin for accounting and he/she is try to generate/regenerate or view the gst report following Error is thrown. - Access Error ```Uh-oh! Looks like…
#PURPOSE:
- Currently is the user is promoted as admin for accounting and he/she is try to generate/regenerate or view the gst report
following Error is thrown.
- Access Error
```Uh-oh! Looks like you have stumbled upon some top-secret records.
Sorry, Marc Demo (id=5) doesn't have 'read' access to:
- Document (documents.document)```
#STEPS TO REPRODUCE
1) Install necessary modules for indian accounting localization.
(i.e accountant,l10n_in)
2) Enable GST E-Filing & Matching Feature from account's configuration.
3) Go to Settings -> User & Companies -> Users
4) Click new if no user is there other then administrator else click on
another user.
5) Under Access Rights section , inside Accounting select Administrator & Save.
6) Now log in as new user in another tab.
7) Go to Accounting -> Reporting under 'India' section click on
GST Return Period.
8) Click on generate/regenerate or View option.
9) The above shown error will be raised.Edited vendor payments now keep their original payment number when reposted, instead of receiving a new sequence number. This helps accounting teams maintain consistent records and avoid confusion or audit issues after correcting a payment.
Original PR description
**Issue** When modifying and reposting a vendor payment that does not have the highest sequence number, the payment's name (i.e., number) is regenerated using the next available sequence, rather than…
**Issue** When modifying and reposting a vendor payment that does not have the highest sequence number, the payment's name (i.e., number) is regenerated using the next available sequence, rather than preserving the original. This issue only occurs when the Outstanding Payments account is configured for the journal. **Steps to Reproduce** 1. Install the Accounting module. 2. Go to Accounting > Configuration > Journals, and open a Bank journal. 3. In the Outgoing Payments tab, set an Outstanding Payments Account. 4. Go to Accounting > Vendors > Payments. 5. Create and post two vendor payments (e.g., 00001 and 00002). 6. Reset the first one (00001) to draft, change any field (e.g., amount), and repost it. 7. The number changes to 00003 instead of preserving 00001. **Root Cause** When a vendor payment is modified and reposted, Odoo cancels and regenerates the associated account.move. If an Outstanding Payments account is configured — or was configured at any point — this triggers additional logic causing the move name to be reset to '/'. This placeholder indicates that the move is treated as if it were new, prompting Odoo to assign it the next number in the journal’s sequence. As a result, the payment loses its original number even though it conceptually refers to the same transaction. **Fix** The fix ensures the original number is preserved by restoring the payment's previous name only when it's clear that the move is being regenerated, not newly created. This is determined by checking that the move is linked to exactly one payment (i.e., a one-to-one relationship) and that its name is '/', indicating the move was regenerated. Opw-4805870
Sending Colombian electronic invoices no longer fails when the Electronic Invoice Type field is left unset. This helps users complete invoice sending without encountering an unexpected error caused by missing optional invoice information.
Original PR description
Currently, sending an invoice can raise an error if the **Electronic Invoice Type** is not set on the invoice. **Steps to Reproduce:** - Install the `l10n_co_dian` module. - Change the default company to **CO Company**. - Create and confirm a customer invoice, but leave the **Electronic Invoice Type** unset. - Send the invoice. **Error:** `AttributeError - 'bool' object has no attribute 'rjust'` Here, an issue occurs because the system attempts to call `rjust()` on the field `l10n_co_edi_type` without ensuring it is a string. When the field is `False`, it results in an Attribute error. - [1] This commit ensures the right access to `rjust()` only when `l10n_co_edi_type` is a valid string, preventing the error. [1] - https://github.com/odoo/enterprise/blob/8d7a13822e9fd480a6e279ff93e29834a6668536/l10n_co_dian/models/account_edi_xml_ubl_dian.py#L974-L975 Sentry - 6622171121