Thursday, April 2, 2026
5 changes · 17.0
Resolved issues and error corrections
This update ensures that line grouping functionality within the account_edi_ubl_cii module is limited to invoices only. Previously, this feature could be applied to other document types like journal entries, which could cause errors. This change improves data integrity and prevents potential issues related to incorrect grouping.
Original PR description
[FIX] account_edi_ubl_cii: Allow only invoices can be grouped Before this commit, no check was done on the document type at line grouping. This commit adds the check `is_invoice` so that we cannot group (e.g.) a journal entry type move no-task
This update resolves an issue where attachment creation would fail if a write error occurred, leading to orphaned files and potential disk space problems. By ensuring attachments are properly cleaned up after failed writes, this fix prevents errors and improves attachment management within Odoo. It addresses previous issues opw-6055037 and opw-5907025.
Original PR description
If an error occurs during the file write operation, the file will not be marked for garbage collection, which can lead to orphaned files taking up disk space or blocking other same file to be written. Step to reproduce the issue: 1. Create an attachment with a large file (e.g., 100MB) and save 2. During the file write operation, simulate an IOError (e.g., by filling up the disk space or changing file permissions) 3. The file will not be marked for garbage collection, and it will remain 4. Further attempts to create this same attachment will result in error: "The attachment collides with an existing file." opw-6055037 opw-5907025
This update fixes an issue where Intrastat fields weren't automatically populated when using the vendor bill autocomplete feature. The change ensures that country and transport mode information from previously entered bills is correctly copied to new bills, streamlining reporting for Intrastat compliance. This improves data accuracy and reduces manual effort.
Original PR description
**Steps to reproduce:** 1. Install module `account_intrastat`. 2. Go to Accounting > Vendors > Bills. 3. Create and post a vendor bill: - Set a vendor - Add a reference - Add a product line - Set Intrastat fields (enable them in settings if needed) 4. Create a new vendor bill with the same vendor. 5. Use the autocomplete (select previous bill reference). **Issue:** Intrastat fields (country and transport mode) are not copied from the selected bill. **Cause:** The `invoice_vendor_bill_id` onchange does not propagate Intrastat fields. **Solution:** Extend `_onchange_invoice_vendor_bill` to copy: - `intrastat_country_id` - `intrastat_transport_mode_id` opw-5936869
A bug causing OWL crashes during invoice creation in the Colombian module (l10n_co_edi) has been resolved. The issue stemmed from a duplicate selection value within a field, leading to a JavaScript error. This fix ensures stable invoice creation for Colombian businesses.
Original PR description
The `l10n_co_edi_operation_type` field on `account.move` had two entries with the same selection value `'23'`:
('23', 'Nota Crédito para facturación electrónica V1 (Decreto 2242)'), ('23', 'Inactivo: Nota Crédito para facturación electrónica V1 (Decreto 2242)'),
This caused an OWL crash when opening the invoice form:
"Got duplicate key in t-foreach: 23"
__Steps to reproduce:__
1- Install the l10n_co_edi module
2- switch to colombian company
3- Activate the developer mode
4- Go to Credit Note > Create
__NOTE__: The javascript error is only visible on version 18.4 but the duplicate selection is present since 17.0.
opw-5969595This update corrects a mapping error that was causing incorrect canton and municipality data to be populated for employees in the Swiss payroll module (l10n_ch_hr_payroll_elm_transmission). Specifically, the zip code 6010 was incorrectly linked, ensuring accurate Swiss tax and social security reporting.
Original PR description
**Steps to reproduce:**
1. Install `l10n_ch_hr_payroll_elm_transmission`
2. Switch to Swiss company
3. Create an employee and fill in the zip code 6010 under the address section
**Issue:**
- Residence Canton is filled with Nidwalden Instead of Lucerne
- Residence Municipality is filled with 1507 instead of 1059
**Cause:**
- Mapping is wrong in file `hr_payroll_rule_parameters.xml`
**Solution:**
- Set `'6010': ('Kriens', 1507, 'NW')` to `'6010': ('Kriens', 1059, 'LU')`
- Source: https://www.swisstopo.admin.ch/en/official-directory-of-towns-and-cities#Download
opw-5474083