Thursday, June 26, 2025
3 changes · 17.0
Resolved issues and error corrections
Romanian eTransport exports now convert Greece's country code from GR to the EU VAT-standard EL where required. This helps prevent validation errors when sending transport documents involving Greek partners or transporters.
Original PR description
Added a mapping for EU VAT country codes to ensure that the VAT prefix aligns with EU standards (e.g., 'GR' -> 'EL') in EDI exports. ## Description of the issue/feature this PR addresses: This PR…
Added a mapping for EU VAT country codes to ensure that the VAT prefix aligns with EU standards (e.g., 'GR' -> 'EL') in EDI exports. ## Description of the issue/feature this PR addresses: This PR adds country code mapping functionality to ensure compatibility with the format required by the Romanian eTransport system. Specifically, it adds the conversion of the country code "GR" (Greece) to "EL" according to European VAT standards and applies this mapping to relevant fields in transport documents. ## Current behavior before PR: Before this PR, the country code for Greece was sent as "GR" to the eTransport system, which could cause validation errors because in European VAT systems, Greece is identified by the code "EL". Also, there was no consistent mapping for country codes in different parts of the system. ## Desired behavior after PR is merged: After implementing this PR, country codes will be correctly mapped to comply with European VAT standards, especially the conversion of "GR" to "EL" for Greece. This ensures that documents sent through eTransport contain the correct country codes and will pass system validations. The mapping is applied to country codes for both commercial partners and transporters. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Hardware driver devices now check whether the filesystem is writable before attempting to change it back to read-only mode. This prevents unnecessary error messages during background system updates and helps keep device logs cleaner while maintaining read-only protection over time.
Original PR description
If a process was holding the filesystem in r/w mode (e.g. apt upgrade), we were getting a "mount point is busy" error polluting logs. We now check the filesystem mount mode (r/w or r/o) before trying to remount it. Also, we removed the lock, allowing multiple threads to use the context manager at the same time. This avoids many unnecessary `subprocess` calls, unnecessary remount r/o if another thread needs to write on the system, and avoids polluting the logs. To ensure system is remounted r/o after the background process is done, we now check and remount every 30 minutes. Task: 4551009
The fix restores the Commodity Code field for storable products when Intrastat is enabled. This helps businesses correctly classify goods for Intrastat reporting and avoids missing product data after installing inventory features.
Original PR description
**Steps to reproduce:** - Install account_accountant - In Accounting settings, activate Intrastat - When creating a product, it is possible to set a Commodity Code for a consumable product and a Service Code for a service product - Install stock - Create a product **Issue:** Commodity Code field is invisible for storable products. **Cause:** In "account_intrastat_services" module, the invisible property of "intrastat_code_id" field for non-service products is overridden to: `type != 'consu'` Therefore, the field is not displayed for storable products. opw-4886050