Commit Graph

10 Commits

Author SHA1 Message Date
RPSJR
ef981c8d65 [pre-commit] pre-commit fix issues, only ofx module 2021-08-08 11:45:40 -03:00
Alexis de Lattre
cff642130d ofx: black and others... 2020-05-16 01:28:57 +02:00
Alexis de Lattre
e6cf63d6f4 [MIG] ofx from v12 to v13 2020-05-16 01:27:35 +02:00
David Beal
faf5011272 IMP acc_bank_stat_imp_ofx: add checknum in name when required 2020-05-16 00:55:06 +02:00
Loïc Faure-Lacroix
2b73ef3b18 [11.0 BUGFIX] Pass bytes to Ofxparse
The ofx files have the correct charset inside their headers and
trying to convert the file to StringIO using a particular encoding
is subject to failures when the file isn't exactly an ascii file.

For example a file encoded with CP1252 with accents on letters like
é or è will not be parser as utf-8 and will fail to load.

Also since OfxParse is supposed to receive a file handle, it is
correctly reading the file header and choosing the appropriate charset
to read the rest of the file. For this reason, pass the bytes as a
ByteIO that doesn't care about the encoding.
2020-05-16 00:55:06 +02:00
Nicolas JEUDY
8e22f27b5b [MIG] migrate account_bank_statement_import_ofx to V11
- add #136 patch
2020-05-16 00:55:06 +02:00
Alexis de Lattre
6be6936009 [FIX] crash in account_bank_statement_save_file 2020-05-16 00:55:06 +02:00
Alexis de Lattre
ca15dd9df9 Remove the auto-delete lines with 0 amount (feature now provided by the module account_bank_statement_import) 2020-05-16 00:55:06 +02:00
Alexis de Lattre
ed2169e193 [10.0] OFX: fix start/end balance (#90)
Remove start/end dates in name of statement, because it's better to have it via 2 computed fields
2020-05-16 00:55:06 +02:00
Alexis de Lattre
319fd35743 [MIG] account_bank_statement_import_ofx: Migration to 10.0
* Remove the code that matches partners, which is wrong and cannot work
* Better 'name' on bank statement
* Move from models directory to wizard
* Remove demo data to tests
* Use latest version of ofxparse from github
2020-05-16 00:55:06 +02:00