-
-
Notifications
You must be signed in to change notification settings - Fork 417
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
[17.0][MIG] account_statement_import_online_ponto: Migration to 17.0 #739
[17.0][MIG] account_statement_import_online_ponto: Migration to 17.0 #739
Conversation
Also Rename account_bank_statement_import_online => account_statement_import_online
Not sure why, cert validation was disabled. That is insecure. @Tecnativa TT31034
Currently translated at 43.7% (7 of 16 strings) Translation: bank-statement-import-14.0/bank-statement-import-14.0-account_statement_import_online_ponto Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-14-0/bank-statement-import-14-0-account_statement_import_online_ponto/it/
Check situation that should raise exception immediately, prevent ident on normal flow
1. Find partner if ther already is a bank account with the right IBAN; 2. Store (and display) raw import data to help in problem determination; 3. Make it easy to extend the parsing of import data; 4. Apply some clean coding principles.
Currently translated at 100.0% (16 of 16 strings) Translation: bank-statement-import-14.0/bank-statement-import-14.0-account_statement_import_online_ponto Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-14-0/bank-statement-import-14-0-account_statement_import_online_ponto/ca/
The 2 modules account_statement_import_online and account_statement_import depend on account_statement_import_base (and not on each other) and share common code, in particular a hook to update the statement line. So we can now have reconciliation modules that use this hook and therefore work both on file import and online import. More details on OCA#481. Improve bank statement line form view and journal form view.
Separate retrieval of data from ponto (buffer data) and creation of statements.
Add debug messages Set raw_data in bank statement lines
With Ponto we can only retrieve data backwards in time. Therefore we override the normal _pull method to create statements in descending order of statement date.
Currently translated at 100.0% (24 of 24 strings) Translation: bank-statement-import-16.0/bank-statement-import-16.0-account_statement_import_online_ponto Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-16-0/bank-statement-import-16-0-account_statement_import_online_ponto/es/
Currently translated at 91.6% (22 of 24 strings) Translation: bank-statement-import-16.0/bank-statement-import-16.0-account_statement_import_online_ponto Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-16-0/bank-statement-import-16-0-account_statement_import_online_ponto/nl/
…ttempt to modify of posted account.move
Currently translated at 100.0% (16 of 16 strings) Translation: bank-statement-import-16.0/bank-statement-import-16.0-account_statement_import_online_ponto Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-16-0/bank-statement-import-16-0-account_statement_import_online_ponto/it/
e15637a
to
0c4586c
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.
Code review OK.
Please, change tiitle to [17.0][MIG] account_statement_import_online_ponto: Migration to 17.0
Could you squash administrative commits?
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.
LGTM
/ocabot migration account_statement_import_online_ponto |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at f604acd. Thanks a lot for contributing to OCA. ❤️ |
Standard migration to 17.0