-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[18.0][MIG] account_statement_import_camt: Migration to 18.0 #4
base: 18.0
Are you sure you want to change the base?
Conversation
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.
6fb8d5a
to
123cae4
Compare
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`.
123cae4
to
50d1750
Compare
50d1750
to
9c01fca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Creativity is great. But the line between genius and madness is very thin. 😆
account_statement_import_camt/models/account_statement_import_camt_parser.py
Show resolved
Hide resolved
account_statement_import_camt/models/account_statement_import_camt_parser.py
Show resolved
Hide resolved
account_statement_import_camt/models/account_statement_import_camt_parser.py
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But it's okay, if you don't have time for it. I will still approve this PR.
so final conclusion, i am still genius 💯. |
9c01fca
to
180fce9
Compare
depends on:
https://github.com/OCA/account-reconcile/pull/738
https://github.com/OCA/account-reconcile/pull/739
https://github.com/OCA/bank-statement-import/pull/735
https://github.com/OCA/bank-statement-import/pull/736
base on:
https://github.com/OCA/bank-statement-import/pull/684
on this occasion: