Daily updates from Odoo
Wednesday, May 27, 2026
1 change · 18.0
New functionality added to Odoo
This update introduces a new module for generating ISO 20022 payment files specifically tailored for Swedish banks. It automates the creation of compliant XML files for domestic payments (Bankgiro, Plusgiro, BBAN) and includes validation rules to ensure accuracy and prevent errors.
Original PR description
**Summary** This PR introduces a new module that provides support for generating ISO 20022 payment files tailored for Swedish banks. It adds native support for domestic payment formats such as…
**Summary** This PR introduces a new module that provides support for generating ISO 20022 payment files tailored for Swedish banks. It adds native support for domestic payment formats such as Bankgiro, Plusgiro, and BBAN, including structural validation and checksum logic. The module is designed to work in conjunction with Odoo's account_iso20022 and l10n_se. **Features** - Payment file generation Generates ISO 20022-compliant XML files for Swedish banks Supports Bankgiro, Plusgiro, and structured BBAN domestic accounts - Payment batch splitting Automatically separates domestic and foreign payments in the same batch Produces one file per payment type (local/foreign), as required by banks - Account type detection and validation Auto-detects account type based on format and structure **Validates using:** Regex and Luhn for Bankgiro/Plusgiro Mod10 and Mod11 algorithms for BBAN based on bank specification Bank code validation via bank.code.range - Bank code integrity checks New model: bank.code.range Defines allowed clearing number ranges per country Prevents overlaps and out-of-bound values (e.g., SE: 1000–9999) - Treasury settings Lead time configuration for both domestic and international payments Allows scheduling of payments after due date, enabling payment planning - Views and configuration Admin views for managing banks, clearing intervals, and payment behavior System settings integrated via res.config.settings - Localization and data Includes translations (sv.po) and base POT Preloads Swedish bank list and clearing number ranges from CSV **Technical details** Depends on: account_iso20022, l10n_se Fully modular; integrates with existing payment batch and SEPA infrastructure No overrides of core logic – all extensions via inheritance Logging and warnings included for fallback cases (e.g. unparseable BBAN) Enforces validation at both form level and compute level **Example use case** A Swedish company processing supplier payments uploads a single batch containing both Swedish and EU vendors. This module: Detects Plusgiro and Bankgiro accounts Validates BBAN using Mod10 or Mod11 based on bank rules Applies company-defined lead times Splits the payments into two ISO 20022 files: one for Swedish banks, one for cross-border SEPA