Loïc Faure-Lacroix
dc22fa3931
[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.
2018-10-19 11:16:07 -05:00
oca-travis
064520b56d
[UPD] Update account_bank_statement_import_ofx.pot
2018-10-11 20:42:01 +00:00
OCA-git-bot
7a2c85e47a
[ADD] setup.py
2018-10-11 19:15:14 +00:00
Pedro M. Baeza
7c45f80c10
Merge pull request #142 from njeudy/11.0-mig-account_bank_statement_import_ofx
...
11.0 mig account bank statement import ofx
2018-10-11 21:15:08 +02:00
Pedro M. Baeza
5d9f3f7afe
Merge pull request #179 from onesteinbv/11_fix_account_bank_statement_import_camt_oca
...
[11.0][FIX] account_bank_statement_import_camt: switch name and note
2018-10-11 18:49:58 +02:00
Andrea
3934bc1671
Adapt test
2018-10-02 14:27:57 +02:00
Andrea
5a85ee5346
[11.0][FIX] account_bank_statement_import_camt: switch name and note
2018-10-02 11:25:46 +02:00
OCA Git Bot
6fc3202c31
[UPD] README.rst
2018-08-24 04:38:30 +02:00
Pedro M. Baeza
ff0b4c3165
Merge pull request #173 from odoonz/qif_fix
...
FIX QIF errors
2018-08-15 23:23:52 +02:00
Nicolas JEUDY
2c09d3b93a
[MIG] migrate account_bank_statement_import_ofx to V11
...
- add #136 patch
2018-08-15 18:52:26 +02:00
Graeme Gellatly
27239e40ff
FIX QIF errors
2018-08-16 01:11:35 +12:00
OCA Git Bot
5d2d79bbfd
[ADD] setup.py
2018-08-09 04:37:55 +02:00
OCA Git Bot
b5327c3bca
[UPD] README.rst
2018-08-09 04:37:55 +02:00
oca-travis
19f5f75667
[UPD] Update account_bank_statement_import_move_line.pot
2018-08-08 06:28:11 +00:00
Andrea Stirpe
64f26f3a6b
[11.0][FIX] account_bank_statement_import_camt: payment amounts ( #168 )
2018-08-08 08:14:07 +02:00
Pedro M. Baeza
2ea8d3232d
Merge pull request #167 from xpansa/11.0-mig-account_bank_statement_import_move_line
...
[11.0] [MIG] account_bank_statement_import_move_line
2018-08-08 08:10:43 +02:00
Sergej Lozikov
b128875f36
[MIG] account_bank_statement_import_move_line: Migration to 11.0
2018-08-03 00:04:54 +03:00
OCA Transbot
b673dac443
OCA Transbot updated translations from Transifex
2018-08-02 23:57:23 +03:00
Luis M. Ontalba
2293e5033c
[10.0][NEW] account_bank_statement_import_move_line
2018-08-02 23:54:12 +03:00
derKonig
a87cecf08c
Translated using Weblate (Persian)
...
Currently translated at 100.0% (4 of 4 strings)
Translation: bank-statement-import-11.0/bank-statement-import-11.0-account_bank_statement_import_qif
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-11-0/bank-statement-import-11-0-account_bank_statement_import_qif/fa/
2018-07-22 11:31:11 +00:00
derKonig
6d14304cb7
Translated using Weblate (Persian)
...
Currently translated at 100.0% (7 of 7 strings)
Translation: bank-statement-import-11.0/bank-statement-import-11.0-account_bank_statement_import_camt_oca
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-11-0/bank-statement-import-11-0-account_bank_statement_import_camt_oca/fa/
2018-07-22 10:30:57 +00:00
oca-travis
5f55aee7c7
[UPD] Update account_bank_statement_import_qif.pot
2018-07-12 15:17:47 +00:00
oca-travis
03bd8f79f2
[UPD] Update account_bank_statement_import_mt940_base.pot
2018-07-12 15:17:47 +00:00
oca-travis
696c72d1ae
[UPD] Update account_bank_statement_import_camt_oca.pot
2018-07-12 15:17:46 +00:00
oleksandrpaziuk
c1f7c26f6e
[11.0][FIX] Fix CAMT import without NTRY ( #163 )
2018-07-12 16:05:52 +02:00
OCA Git Bot
9da87d7f7e
[ADD] setup.py
2018-06-09 04:38:41 +02:00
OCA Transbot
e0d6710ac3
OCA Transbot updated translations from Transifex
2018-06-09 03:28:15 +02:00
Stefan Rijnhart (Opener)
17c4619e68
Merge pull request #158 from MaxyMoos/11.0-mig-account_bank_statement_import_camt
...
[11.0][MIG] account_bank_statement_import_camt
2018-06-08 09:20:08 +01:00
Maxence Groine
cc37448d5d
Rename module
...
Also:
- Use context managers for file opening/closing in tests
- Changed use of deprecated `BadZipfile` exception
- Removed debugging code left by mistake
2018-06-04 09:23:24 +02:00
Maxence Groine
8c038807fc
[11.0][MIG] account_bank_statement_import_camt
2018-06-01 14:31:27 +02:00
OCA Transbot
433f8240ab
OCA Transbot updated translations from Transifex
2018-06-01 10:52:59 +02:00
Alexis de Lattre
300d133e6d
Remove dead fields from unittests
2018-06-01 10:52:59 +02:00
Alexis de Lattre
0a97650ce9
camt: remove dead code
...
Fix warning account.bank.statement.line.create() includes unknown fields: data, execution_date, transfer_type, value_date
2018-06-01 10:52:59 +02:00
eLBati
4a6a517dea
FIX account_bank_statement_import_camt error message and comment
2018-06-01 10:52:59 +02:00
ecino
c4dc160eda
[10.0] Better parse camt groupped transactions ( #131 )
...
* correctly parse entries with multiple transactions
Our bank does it. Care has been taken not to break cases where
Ntry/NtryDtls/TxDtls isn't used: if any piece of information isn't found
on these nodes, the matching information from the Ntry is used. Most
often the entry has a sum or a summary and the transaction details are
more precise and specific, so it makes sense to use their contents
rather than its.
* more complete unit tests for camt parser
This checks the whole output data of the parser against its expected
output.
* add a test case that checks TxDtls decoding
* special case for Ntrys without TxDtls
* CO-12 - Date Import BVR
* FIX tests
* CO-1232 Fixed issues with CAMT parser tests
2018-06-01 10:52:59 +02:00
Emanuel Cino
aad82e8241
Fix typo
2018-06-01 10:52:59 +02:00
david wulliamoz
f0a4fe8a97
allow camt054 to be parsed
...
IMP README
2018-06-01 10:52:59 +02:00
OCA Transbot
c7e5d6ec3c
OCA Transbot updated translations from Transifex
2018-06-01 10:52:59 +02:00
Louis Bettens
a66b4bf7cf
camt: allow modules to enhance the parser
2018-06-01 10:52:59 +02:00
OCA Transbot
ad9a1b23a1
OCA Transbot updated translations from Transifex
2018-06-01 10:52:59 +02:00
Stefan Rijnhart
fe667614ee
[MIG] account_bank_statement_import_camt 10.0
2018-06-01 10:52:59 +02:00
OCA Transbot
64669d6a41
OCA Transbot updated translations from Transifex
2018-06-01 10:52:59 +02:00
OCA Transbot
5264d5188d
OCA Transbot updated translations from Transifex
2018-06-01 10:52:59 +02:00
Stefan Rijnhart
33a11d4a23
Create demo data during the execution of tests This ensures that the demo chart of accounts is already installed when the bank journal account is created for the bank journal that is needed to test the import. Otherwise, the demo chart from l10n_generic_coa will fail to install because there is already a journal account in the system.
2018-06-01 10:52:59 +02:00
Holger Brunn
6e143fa4ff
migrate account_bank_statement_import_camt
2018-06-01 10:52:59 +02:00
OCA Transbot
3a878db918
OCA Transbot updated translations from Transifex
2018-06-01 10:52:59 +02:00
Ronald Portier (Therp BV)
0762dbb206
Support zip files.
2018-06-01 10:52:59 +02:00
Ronald Portier (Therp BV)
6a7d0a665c
Make sure message is filled for camt.
...
Message was not taken from AddtlNtryInf element, if not part of details.
Not sure wether it actually can be part of details (NtryDtls element), but this change least intrusive.
2018-06-01 10:52:59 +02:00
Rudolf Schnapka
6e66eadf8e
german translations for bank-statement-import
2018-06-01 10:52:59 +02:00
Pedro M. Baeza
9f1d755c4d
[MIG] Rename manifest files
2018-06-01 10:52:59 +02:00