Commit Graph

16 Commits

Author SHA1 Message Date
Valentin Lab
04d362254c [16.0][FIX] models/online_bank_statement_provider_ponto.py: prevent attempt to modify of posted account.move 2024-02-23 17:12:16 +01:00
Stefan Rijnhart
c9ed619656 [IMP] account_statement_import_online_ponto: adapt to debug mechanism 2024-02-02 10:20:26 +01:00
Andrea Stirpe
bda63158b4 [16.0][IMP] account_statement_import_online_ponto: retrieve partner 2023-10-18 09:54:31 +02:00
Andrea Stirpe
ed9bc2acf8 [FIX] Group statement lines by period before update/create 2023-10-18 09:54:31 +02:00
Ronald Portier (Therp BV)
f9a1f8e738 [MIG] account_statement_import_online_ponto: Migration to 16.0 2023-10-18 09:54:30 +02:00
Ronald Portier (Therp BV)
a1495fee6c [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.
2023-10-18 09:40:24 +02:00
Ronald Portier (Therp BV)
108df5b799 [IMP] *_online_ponto: add timeout to request get and post 2023-10-18 09:40:24 +02:00
Alexis de Lattre
1c69aa60ef ponto: date field to use is now configurable
Add debug messages
Set raw_data in bank statement lines
2023-10-18 09:40:24 +02:00
Ronald Portier (Therp BV)
43afc52dec [IMP] *_online_ponto: forward port 12.0 improvements
Separate retrieval of data from ponto (buffer data) and
creation of statements.
2023-10-18 09:40:24 +02:00
Alexis de Lattre
159100ec84 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.
2023-10-18 09:40:24 +02:00
Ronald Portier
27aaf4b5cf [FIX] *_online Improvements after review 2023-10-18 09:40:23 +02:00
Ronald Portier
7c4c123c55 [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.
2023-10-18 09:40:23 +02:00
Ronald Portier
992e383f4c [IMP] *_online_ponto: code organisation
Check situation that should raise exception immediately, prevent ident on normal flow
2023-10-18 09:40:23 +02:00
Jairo Llopis
ad9f3868da [FIX] account_statement_import_online_ponto: verify TLS
Not sure why, cert validation was disabled. That is insecure.

@Tecnativa TT31034
2023-10-18 09:40:23 +02:00
Ernesto Tejeda
c4b55b0deb [FIX] account_statement_import_online_ponto: fix vals dict to create a statement. 2023-10-18 09:40:23 +02:00
Ronald Portier
975a5bd65f [IMP] Adapt account_bank_statement_import_online to 14.0
Also Rename account_bank_statement_import_online => account_statement_import_online
2023-10-18 09:40:22 +02:00