-
-
Notifications
You must be signed in to change notification settings - Fork 472
[19.0][MIG] account_statement_import_online: Migration to 19.0 #860
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
Open
mkoeck
wants to merge
55
commits into
OCA:19.0
Choose a base branch
from
mkoeck:19.0-mig-account_statement_import_online
base: 19.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Also Rename account_bank_statement_import_online => account_statement_import_online
…f online.bank.statement.provider: avoid speading the information on 3 tabs. As there are just a few fields, let's keep all the information directly visible. Fix warning on search view of online.bank.statement.provider Fix some tests Button on journal form view to access the wizard The wizard now returns the bank statements of the journal(s) Fix wired strings
Currently translated at 26.6% (24 of 90 strings) Translation: bank-statement-import-14.0/bank-statement-import-14.0-account_statement_import_online Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-14-0/bank-statement-import-14-0-account_statement_import_online/it/
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.
…port tests at install Installing this module failed because `mock` couldn't be found. Indeed there was a migration problem. However, I was not testing the module; just installing. At install, tests shouldn't be imported. This file was being imported because the dummy model was expected to exist in database for tests. Using odoo-test-helper for that now. @moduon MT-295
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.
Currently translated at 25.5% (24 of 94 strings) Translation: bank-statement-import-15.0/bank-statement-import-15.0-account_statement_import_online Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-15-0/bank-statement-import-15-0-account_statement_import_online/it/
You may have an old value on online_bank_statement_provider, but switched to another source, and thus, the button is still visible, which is not correct. Let's use the source selection as the invisible modifier.
****po-python-parse-format****
account_statement_import_online/i18n/es.po:136 Translation string couldn't be parsed correctly using str.format KeyError('excepction') - [po-python-parse-format]
It's useful to debug RAW data received from your online sources. With this improvement, you can do it easily from the manual pull wizard. It's only available for users in debug mode (or with technical features). TT47238
Currently translated at 100.0% (96 of 96 strings) Translation: bank-statement-import-16.0/bank-statement-import-16.0-account_statement_import_online Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-16-0/bank-statement-import-16-0-account_statement_import_online/es/
…e service is set This prevents a flood of logs in case your journals are written very often.
Currently translated at 14.5% (14 of 96 strings) Translation: bank-statement-import-16.0/bank-statement-import-16.0-account_statement_import_online Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-16-0/bank-statement-import-16-0-account_statement_import_online/tr/
…rovider configuration TT49855
Currently translated at 100.0% (94 of 94 strings) Translation: bank-statement-import-17.0/bank-statement-import-17.0-account_statement_import_online Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-17-0/bank-statement-import-17-0-account_statement_import_online/it/
Apply mute_logger in test that test graceful exception handling
Currently translated at 98.9% (93 of 94 strings) Translation: bank-statement-import-18.0/bank-statement-import-18.0-account_statement_import_online Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-18-0/bank-statement-import-18-0-account_statement_import_online/tr/
…e statement creation. Starting from Odoo 16, bank statements are optional. This commit introduces the option to create statements automatically or skip their creation.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: bank-statement-import-18.0/bank-statement-import-18.0-account_statement_import_online Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-18-0/bank-statement-import-18-0-account_statement_import_online/
Currently translated at 100.0% (97 of 97 strings) Translation: bank-statement-import-18.0/bank-statement-import-18.0-account_statement_import_online Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-18-0/bank-statement-import-18-0-account_statement_import_online/it/
Currently translated at 98.9% (96 of 97 strings) Translation: bank-statement-import-18.0/bank-statement-import-18.0-account_statement_import_online Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-18-0/bank-statement-import-18-0-account_statement_import_online/tr/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: bank-statement-import-18.0/bank-statement-import-18.0-account_statement_import_online Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-18-0/bank-statement-import-18-0-account_statement_import_online/
INFO odoo odoo.models.unlink: User OCA#1 deleted online.bank.statement.provider records with IDs: [12]
…tement reflect provider timezone instead of utc
Author
|
Ah sorry I just noticed that the commit 5ee5f16 slipped through which is from another pull request. Need to remove that one. |
…s not belong to migration
…straint violation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR ports the
account_statement_import_onlinemodule to Odoo 19.0 and adapts it to framework and data model changes introduced in this version. It focuses on keeping the functional behavior unchanged while aligning with new conventions and APIs.Changes
Menu & UI
online_bank_statement_provider_menuunderaccount.account_account_menu, sinceaccount.account_banks_menuno longer exists in Odoo 19.Security & Actions
groups_idtogroup_idsonaction_online_bank_statements_pull_wizard, reflecting the field rename in Odoo 19.Tests
odoo_test_helperdependency in unit tests and use the newly introducedadd_to_registryhelper instead.suspense_accountfor the bank journal in tests, as a default suspense account is no longer provided due to changes in the demo data loading order (required to createbank.statement.linerecords).Code Quality & API Updates
_withself.env._in line with pylint recommendations.self.env.context.get("tz")occurrences withself.env.tz._sql_constraintsdefinitions tomodels.Constraintto follow the new ORM API in Odoo 19.