account_payment_return_import
Provides a base wizard to import bank payment return files and convert them into Odoo payment return records.
Key Features
- payment.return.import: Lets users upload payment return files through a wizard, generates payment return records, and optionally launches matching immediately.
- payment.return.import: Supports ZIP archives by unpacking each contained return file and feeding the data through the import flow.
- payment.return.import: Auto-resolves the originating bank account and journal from the file data, prompting users when reconciliation details cannot be determined.
- payment.return.import: Skips transactions whose unique import identifiers already exist and shows warnings listing the ignored items.
- payment.return.import: Validates that imported data include payment returns and transactions before creating records, raising user-facing errors when sanity checks fail.
- payment.return.import: Maps provided reason codes to configured return reasons when explicit reasons are absent.
- payment.return.line: Adds unique import identifiers and retained raw data to prevent duplicate imports and support troubleshooting.
- payment.return: Keeps the bank account detected during import and exposes it in forms and search filters for tracking.
- import: Provides a reusable CSV parser base class that reads generic payment return files for other modules to extend.
- accounting: Adds an invoicing menu action that opens the payment return import wizard.