Commit Graph

39 Commits

Author SHA1 Message Date
OCA Transbot
d0717238ff Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2018-12-02 02:33:37 +00:00
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
Nicolas JEUDY
2c09d3b93a [MIG] migrate account_bank_statement_import_ofx to V11
- add #136 patch
2018-08-15 18:52:26 +02:00
OCA Transbot
e1dabad604 OCA Transbot updated translations from Transifex 2018-01-18 15:43:00 +01:00
Alexis de Lattre
db3c1913ac [FIX] crash in account_bank_statement_save_file 2018-01-18 15:43:00 +01:00
Alexis de Lattre
b688211d1b Remove the auto-delete lines with 0 amount (feature now provided by the module account_bank_statement_import) 2018-01-18 15:43:00 +01:00
OCA Transbot
7283b6ad67 OCA Transbot updated translations from Transifex 2018-01-18 15:43:00 +01:00
Alexis de Lattre
0fa332ebaa [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
2018-01-18 15:43:00 +01:00
OCA Transbot
2cfefad510 OCA Transbot updated translations from Transifex 2018-01-18 15:43:00 +01:00
Alexis de Lattre
4f95ebae61 [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
2018-01-18 15:43:00 +01:00
Sylvain LE GAL
61810d00c1 [REF] OCA convention;
[ADD] patch ofx parser to make this module work with some european bank like credit cooperatif;
[IMP] wizard view to display OFX implementation;
2018-01-18 15:43:00 +01:00
Ilyas
5bec5d20e0 Some changes for odoo 9.0 2018-01-18 15:43:00 +01:00
Pedro M. Baeza
ac70891645 [MIG] Rename manifest files 2018-01-18 15:43:00 +01:00
OCA Transbot
9fd216c1ef OCA Transbot updated translations from Transifex 2018-01-18 15:43:00 +01:00
Stéphane Bidoul
cab3ecf629 [UPD] prefix versions with 8.0 2018-01-18 14:28:29 +01:00
OCA Transbot
6b778abc47 OCA Transbot updated translations from Transifex 2018-01-18 14:28:29 +01:00
Ronald Portier (Therp BV)
3be2b77bd7 [ENH] Support both old and new style parse results. 2018-01-18 14:28:29 +01:00
Ronald Portier (Therp BV)
36ad143941 [FIX] Copyright headers, vim line and manifest keys. 2018-01-18 14:28:29 +01:00
Ronald Portier (Therp BV)
ed4f1a1fe7 [FIX] Test of ofx should not fail due to USD currency used. 2018-01-18 14:28:29 +01:00
Ronald Portier (Therp BV)
d13164d0d8 [ENH] Support multiple accounts/currencies.
Copy of changes proposed for master.
2018-01-18 14:28:29 +01:00
Nicolas Bessi
ce75af9d79 account_bank_statement_import_ofx is not automatically installed anymore 2018-01-18 14:28:29 +01:00
Laurent Mignon (ACSONE)
36f6f6aa8c [ADD] i18n 2018-01-18 14:28:29 +01:00
Laurent Mignon
07bcbad765 [IMP] Extract description to README
Add OCA as author,
PEP8
2018-01-18 14:28:29 +01:00
Laurent Mignon
9c410056b8 [IMP] Let the res_partner_bank.post_write create the journal if it doesn't exist 2018-01-18 14:28:29 +01:00
Laurent Mignon
09c86ddc47 [IMP] Improve test coverage 2018-01-18 14:28:29 +01:00
Laurent Mignon (ACSONE)
810e2976bb [IMP] use new API
Conflicts:
	account_bank_statement_import/account_bank_statement_import.py
2018-01-18 14:28:29 +01:00
Laurent Mignon
6e683d8db3 [IMP] Backport from master at 04daefd2d101d90daf5782173b95f31f3bd9e1b6 2018-01-18 14:28:29 +01:00
Ronald Portier (Therp BV)
7a3d496e2f [FIX] Make flake and pylint happy.
No automatic creation of journals. Provide demo data to succesfully
run tests.
2018-01-18 14:28:29 +01:00
Alexis de Lattre
f2e7c3fbcb Enable allow_auto_create_journal in the automated tests 2018-01-18 14:28:29 +01:00
Alexis de Lattre
3f72c8c3f3 Adapt start/end balance in the OFX test 2018-01-18 14:28:29 +01:00
Alexis de Lattre
d87b74891c New backport from odoo/master
Fix bug #5
2018-01-18 14:28:29 +01:00
Ronald Portier (Therp BV)
f3543501d6 [FIX] Forgot to commit some __Init__.py files. 2018-01-18 14:28:29 +01:00
Ronald Portier (Therp BV)
0183c64be0 [FIX] Add noqa even to __init__.py files. 2018-01-18 14:28:29 +01:00
Ronald Portier (Therp BV)
6add789573 [FIX] Apparently noqa tag should also be part of __openerp__.py files. 2018-01-18 14:28:29 +01:00
Ronald Portier (Therp BV)
95eb1e54e6 [FIX] Reverse change of year 2013 to 2014 in test files, and add warning
to module descriptions that periods in 2013 should exist when using
    test-files.
2018-01-18 14:28:29 +01:00
Ronald Portier (Therp BV)
be7975b92b [FIX] Add noqa tags to backported py files. 2018-01-18 14:28:29 +01:00
Ronald Portier (Therp BV)
7bf310582f [FIX] Change year in test files to 2014
[FIX] Change reference to not existing menu
2018-01-18 14:28:29 +01:00
Ronald Portier (Therp BV)
02ee3f410c [RFR] Move backported bank import modules from bank-payment
to bank-statement-import repository.
2018-01-18 14:28:29 +01:00