Skip to content

Conversation

@yaracchi
Copy link

No description provided.

i-vyshnevska and others added 25 commits December 31, 2025 10:43
Currently translated at 75.0% (9 of 12 strings)

Translation: bank-statement-import-14.0/bank-statement-import-14.0-account_statement_import_camt
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-14-0/bank-statement-import-14-0-account_statement_import_camt/nl/
Currently translated at 83.3% (10 of 12 strings)

Translation: bank-statement-import-14.0/bank-statement-import-14.0-account_statement_import_camt
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-14-0/bank-statement-import-14-0-account_statement_import_camt/it/
Encountered in a Camt.054 statement: currency listed under
/BkToCstmrDbtCdtNtfctn/Ntfctn/Ntry/Amt/@ccy
with this commit, the narration field is filled with infos find in the camt file such as reversal indicator, return reason, cheque number, ...
before only a banking ref was present.

The transaction type field is also filled.
Currently translated at 100.0% (12 of 12 strings)

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

Translation: bank-statement-import-16.0/bank-statement-import-16.0-account_statement_import_camt
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-16-0/bank-statement-import-16-0-account_statement_import_camt/es/
Currently translated at 22.5% (7 of 31 strings)

Translation: bank-statement-import-16.0/bank-statement-import-16.0-account_statement_import_camt
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-16-0/bank-statement-import-16-0-account_statement_import_camt/it/
This refactoring will allow using `TestParser._do_parse_test()` method for subclasses defined in inheriting modules.

This way, if the new module defines new files in other paths than `account_statement_import_camt/test_files/`,
 subclasses of `TestParser` will still be able to use the `_do_parse_test()` method for imports and checks.

Moreover, a custom value can now be defined for the acceptable differing lines number between inputfile and goldenfile.

It will also maintain backward compatibility with the current usage of the method
 (ie: using only a filename with the assumption of finding it in `account_statement_import_camt/test_files/`).

NB: methods are now defined outside of `TestParser` to allow importing them directly, instead of inheriting from `TestParser`.
Currently translated at 100.0% (31 of 31 strings)

Translation: bank-statement-import-18.0/bank-statement-import-18.0-account_statement_import_camt
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-18-0/bank-statement-import-18-0-account_statement_import_camt/it/
@yaracchi yaracchi mentioned this pull request Dec 31, 2025
10 tasks
@yaracchi yaracchi force-pushed the 19.0-mig-account_statement_import_camt branch 3 times, most recently from c5fd885 to cd4389b Compare December 31, 2025 12:37
@yaracchi yaracchi force-pushed the 19.0-mig-account_statement_import_camt branch from ee322b8 to 69b0012 Compare January 7, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.