Hello everyone,
I'm facing an issue with bank synchronization on Odoo 17 Enterprise (on-premise) and would appreciate any insights from the community.
- The situation:
Several bank connections show a "Connected" state in Accounting → Configuration → Online Synchronization, but the "Fetch Transactions" button is missing from the journal dashboard. Upon investigation in debug mode, I noticed that the provider_data field on the account.online.link model is empty for these connections, while other working connections have a token stored in that field.
- What we know:
- The state is "Connected" but provider_data is NULL/empty
- The issue affects multiple bank connections simultaneously
- Users also report that the sync date selection screen, which used to appear during synchronization, is no longer shown
- Expected behavior:
The provider_data field should be populated during the OAuth/iframe flow when the user completes bank authentication. Based on the source code, it is saved via the success() callback and committed immediately.
- Questions:
1. Is there any way to recover/repair an existing connection without fully deleting and recreating it?
2. Has anyone else experienced connections becoming incomplete after a module update?
As far as I can tell, the only current workaround is to delete and recreate each affected bank connection, but this is quite disruptive for end users.
Thanks in advance for any help!