Commit Graph

17 Commits

Author SHA1 Message Date
Christian
71b98fcc14 [IMP] account_statement_import_online_ponto: pre-commit auto fixes 2024-11-14 12:59:59 +01:00
Valentin Lab
7f52df19f6 [16.0][FIX] models/online_bank_statement_provider_ponto.py: prevent attempt to modify of posted account.move 2024-11-14 12:56:30 +01:00
Stefan Rijnhart
2959622de4 [IMP] account_statement_import_online_ponto: adapt to debug mechanism 2024-11-14 12:56:30 +01:00
Andrea Stirpe
2d85a08c86 [16.0][IMP] account_statement_import_online_ponto: retrieve partner 2024-11-14 12:56:30 +01:00
Andrea Stirpe
83391c88a4 [FIX] Group statement lines by period before update/create 2024-11-14 12:56:30 +01:00
Ronald Portier (Therp BV)
43126eaa8d [MIG] account_statement_import_online_ponto: Migration to 16.0 2024-11-14 12:56:30 +01:00
Ronald Portier (Therp BV)
ed016f97c8 [IMP] *_online_ponto: improved data retrieval logic
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.
2024-11-14 12:56:30 +01:00
Ronald Portier (Therp BV)
86e4a1d825 [IMP] *_online_ponto: add timeout to request get and post 2024-11-14 12:56:30 +01:00
Alexis de Lattre
623cc572b2 ponto: date field to use is now configurable
Add debug messages
Set raw_data in bank statement lines
2024-11-14 12:56:30 +01:00
Ronald Portier (Therp BV)
29b040181f [IMP] *_online_ponto: forward port 12.0 improvements
Separate retrieval of data from ponto (buffer data) and
creation of statements.
2024-11-14 12:56:30 +01:00
Alexis de Lattre
6095527b7e Add module account_statement_import_base
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 https://github.com/OCA/bank-statement-import/issues/481.

Improve bank statement line form view and journal form view.
2024-11-14 12:56:30 +01:00
Ronald Portier
0b2b3c0e38 [FIX] *_online Improvements after review 2024-11-14 12:56:30 +01:00
Ronald Portier
f3f0795b25 [IMP] account_statement_import_online[_ponto] improvements.
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.
2024-11-14 12:56:30 +01:00
Ronald Portier
bba5015269 [IMP] *_online_ponto: code organisation
Check situation that should raise exception immediately, prevent ident on normal flow
2024-11-14 12:56:30 +01:00
Jairo Llopis
eb2477eb9e [FIX] account_statement_import_online_ponto: verify TLS
Not sure why, cert validation was disabled. That is insecure.

@Tecnativa TT31034
2024-11-14 12:56:30 +01:00
Ernesto Tejeda
fb3bc67d05 [FIX] account_statement_import_online_ponto: fix vals dict to create a statement. 2024-11-14 12:56:30 +01:00
Ronald Portier
82a21291ed [IMP] Adapt account_bank_statement_import_online to 14.0
Also Rename account_bank_statement_import_online => account_statement_import_online
2024-11-14 12:56:30 +01:00