Skip to content

[19.0][MIG] account_statement_import_ofx: Migration to 19.0 - #924

Open
kwoychesko wants to merge 17 commits into
OCA:19.0from
bpmi:19.0-mig-account_statement_import_ofx
Open

[19.0][MIG] account_statement_import_ofx: Migration to 19.0#924
kwoychesko wants to merge 17 commits into
OCA:19.0from
bpmi:19.0-mig-account_statement_import_ofx

Conversation

@kwoychesko

Copy link
Copy Markdown
Contributor

Migration to 19.0

Standard migration, no structural changes required — the upstream API (account_statement_import_file) was stable between 18.0 and 19.0.

Changes

@kwoychesko kwoychesko mentioned this pull request Apr 9, 2026
13 tasks
@OCA-git-bot OCA-git-bot added series:19.0 mod:account_statement_import_ofx Module account_statement_import_ofx labels Apr 18, 2026

@stferraro stferraro left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Karla-Villegas Karla-Villegas left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved!!

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@Yusuke1998 Yusuke1998 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kwoychesko

Copy link
Copy Markdown
Contributor Author

Hey all! Thanks very much for reviewing! Do we know who has rights to merge this? I don't see any "maintainers" listed for it.

@BhaveshHeliconia BhaveshHeliconia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

alexis-via and others added 17 commits July 27, 2026 16:07
Rename module to account_statement_import_ofx
Add support for multi-account OFX files
Currently translated at 57.1% (4 of 7 strings)

Translation: bank-statement-import-14.0/bank-statement-import-14.0-account_statement_import_ofx
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-14-0/bank-statement-import-14-0-account_statement_import_ofx/fr/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-statement-import-16.0/bank-statement-import-16.0-account_statement_import_ofx
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-16-0/bank-statement-import-16-0-account_statement_import_ofx/
Currently translated at 100.0% (4 of 4 strings)

Translation: bank-statement-import-16.0/bank-statement-import-16.0-account_statement_import_ofx
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-16-0/bank-statement-import-16-0-account_statement_import_ofx/fr/
Currently translated at 100.0% (4 of 4 strings)

Translation: bank-statement-import-16.0/bank-statement-import-16.0-account_statement_import_ofx
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-16-0/bank-statement-import-16-0-account_statement_import_ofx/pt_BR/
Currently translated at 75.0% (3 of 4 strings)

Translation: bank-statement-import-16.0/bank-statement-import-16.0-account_statement_import_ofx
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-16-0/bank-statement-import-16-0-account_statement_import_ofx/it/
Use with statement to open files
Change misleading variable names
Fix and extend tests to address codecov/patch failures:

- Enable previously disabled IBAN import test (was prefixed no_test_)
  and fix bank account number to match OFX ACCTID field
- Add test for checknum and memo fields in payment_ref construction
- Add test for _parse_file error handling (UserError on bad data)
- Add test for non-OFX file fallback to super()._parse_file
- Add OFX fixture with CHECKNUM and MEMO transaction fields
- Reformat test file with ruff-format (default line length 88)
- Add missing trailing newline to OFX test fixture
Calling _parse_file with non-OFX data cascades through the CAMT
parser which logs an ERROR for BadZipFile, causing the OCA CI log
checker to fail. Test _check_ofx directly instead.
Ensure a suspense account exists on the company before creating test
journals. Without this, bank statement line creation fails with:
"You can't create a new statement line without a suspense account set
on the journal."
@kwoychesko
kwoychesko force-pushed the 19.0-mig-account_statement_import_ofx branch from 3576d13 to 861d961 Compare July 27, 2026 20:08
@kwoychesko

Copy link
Copy Markdown
Contributor Author

Does anyone know the maintainers of this module?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.