Commit Graph

57 Commits

Author SHA1 Message Date
Pedro M. Baeza
593bf0f1a0 Merge pull request #21 from hbrunn/8.0-migrate_from_7.0_therp
[ADD] migration script
2015-07-30 12:38:56 +02:00
Stéphane Bidoul (ACSONE)
72a7095389 Merge pull request #15 from NL66278/8.0_import_parsers_new_api_therp
8.0 import parsers new api therp
2015-07-24 09:34:05 +02:00
Stéphane Bidoul
43b8298eee [IMP] rename bank_statement_parse_ to account_bank_statement_import_
Move parserlib to account_bank_statement_import and remove bank_statement_parse module
2015-07-23 16:09:40 +02:00
Stéphane Bidoul
bdd4e838c2 [IMP] lower case _LOGGER and log some more exception details 2015-07-20 19:11:25 +02:00
Holger Brunn
d8dbff270a [FIX] pass parameters we got to super 2015-07-13 13:22:01 +02:00
Ronald Portier (Therp BV)
aaf375018a [ENH] Support both old and new style parse results. 2015-06-26 16:02:10 +02:00
Ronald Portier (Therp BV)
f317579f58 [FIX] _get_journal method has one less argument. 2015-06-26 14:35:54 +02:00
Ronald Portier (Therp BV)
24f51b8256 [FIX] Removed unneeded (and malformed) comment line. 2015-06-26 14:07:40 +02:00
Ronald Portier (Therp BV)
182ea2893a [FIX] Restructure and expand tests. Fix some bugs.
There is now a common class to test import of statements and their transactions.
Fixes:
- Field in regular expression for mt940 rabo parser was to short for bank-account.
- Wrong name used for reference attribute in mt940 rabo parser;
- Attribute transferred_amount should not have been renamed amount in BankTransaction.
2015-06-26 14:07:40 +02:00
Ronald Portier (Therp BV)
6fe358a6cd [FIX] Copyright headers, vim line and manifest keys. 2015-06-26 14:07:40 +02:00
Ronald Portier (Therp BV)
23eaa765d9 [FIX] Updated headers, README.rst's and removed vim lines. 2015-06-26 14:07:40 +02:00
Ronald Portier (Therp BV)
64d54edae4 [FIX] Attempt to stop flake8 from complaining. 2015-06-26 14:07:40 +02:00
Ronald Portier (Therp BV)
a91cbecc41 [FIX] Solving pylint/flake and test errors.
Also added dutch translation.
2015-06-26 14:07:40 +02:00
Ronald Portier (Therp BV)
c6be8f17e4 [FIX] Now succesfully running tests for all imports. 2015-06-26 14:07:40 +02:00
Ronald Portier (Therp BV)
fe67cec6c3 [FIX] Company and statement currency can be different. 2015-06-26 14:07:40 +02:00
Ronald Portier (Therp BV)
b3a1691db1 [FIX] No journal_id keyword parm on _create_bank_account(..) 2015-06-26 14:06:33 +02:00
Ronald Portier (Therp BV)
9945643158 [ENH] Support multiple accounts/currencies.
Copy of changes proposed for master.
2015-06-26 14:06:33 +02:00
Ronald Portier (Therp BV)
af10ace22d [RFR] Base import parsers on new api and master. 2015-06-26 14:01:38 +02:00
Holger Brunn
41d1fc8512 [ADD] migration script
and a module that takes care of saving imported files (+migration)
2015-06-25 14:44:23 +02:00
Pedro M. Baeza
c8f95fbaef [FIX] account_bank_statement_import: PEP8 2015-06-25 11:46:37 +02:00
Antonio Espinosa
f028947355 [FIX] Change default by compute and between quotes in order to allow inheritance 2015-06-24 11:30:21 +02:00
Pedro M. Baeza
87466ae978 [FIX] account_bank_statement_import: Handle correctly the selection of the journal 2015-06-24 07:57:37 +02:00
Nicolas Bessi (nbessi)
9472ff47cd Avoid demo data using an exisiting account number
Fixes #26
2015-06-10 16:17:23 +02:00
Laurent Mignon (ACSONE)
3744b5a60b [IMP]Move the field journal_id in the main module.
By moving the field in the main module the others parsers can use it without duplicate it
2015-06-08 14:15:46 +02:00
Laurent Mignon (ACSONE)
6db13fce6a [FIX] Keep icon retouched by @pedrobaeza 2015-06-08 12:25:47 +02:00
Laurent Mignon
0550df383c [IMP] Extract description to README
Add OCA as author,
PEP8
2015-06-08 11:17:16 +02:00
Ronald Portier (Therp BV)
1dcd07e893 [FIX] No index=True needed when specifying unique constraint. 2015-06-08 11:17:16 +02:00
Ronald Portier (Therp BV)
5538c234d9 [FIX] Use unique accounts and improved bank search in base. 2015-06-08 11:17:16 +02:00
Laurent Mignon
89afefc370 [FIX] backport from MP on upstream until 5f30c6ed09e92e53ad870d1fd54288ac43a4ca9e 2015-06-08 11:17:16 +02:00
Laurent Mignon
1ebe98df79 [IMP] Specify the currency to use for the account.account and account.journal created by res_partner_bank.post_write 2015-06-08 11:17:16 +02:00
Laurent Mignon
9c9ebe8cda [IMP] Let the res_partner_bank.post_write create the journal if it doesn't exist 2015-06-08 11:17:16 +02:00
Laurent Mignon
31fd68de92 [IMP] Sanitize acc_number to upper case
Use wildcard on both sides when opertor contains 'like'
2015-06-08 11:17:16 +02:00
Laurent Mignon
8181fea31e [IMP] Add sanitezed_acc_number on res.partenr.bank
The new field is computed by sanitzing the acc_number.
2015-06-08 11:17:16 +02:00
Laurent Mignon (ACSONE)
ec26ad79b9 [IMP] use new API
Conflicts:
	account_bank_statement_import/account_bank_statement_import.py
2015-06-08 11:17:16 +02:00
Laurent Mignon (ACSONE)
1565f8ac10 [FIX] bank_account created by the import must belong to the partner linked to the company of the provided journal
PR on master: odoo/odoo#5821
2015-06-08 11:17:16 +02:00
Laurent Mignon
c7c6954df7 [IMP] Backport from master at 04daefd2d101d90daf5782173b95f31f3bd9e1b6 2015-06-08 11:17:16 +02:00
Andrius Preimantas
599fcb6fb5 [IMP][l18n] Minor LT translation change 2015-05-25 17:10:49 +03:00
Andrius Preimantas
0c6331db60 [IMP][i18n] Lithuanian translation for account_bank_statement_import 2015-05-25 16:49:50 +03:00
Alexis de Lattre
3516c1e617 FIX identify partner by res.partner.bank 2015-03-21 12:13:58 +01:00
Pedro M. Baeza
8614c60ddd Merge pull request #8 from pedrobaeza/8.0-i18n_es
[IMP] account_bank_statement_import: POT and ES translation files
2015-03-18 14:55:59 +01:00
Pedro M. Baeza
488033b3ce Merge pull request #9 from pedrobaeza/8.0-icon
[IMP] Icon in PNG and SVG retouched
2015-03-18 14:55:09 +01:00
Laurent Mignon (ACSONE)
9a11b67d6a [FIX]Take a copy of the context before update
If the method `import_file` is called with the new API, the context is a frozendict and the update will raise `NotImplementedError: 'update' not supported on frozendict`
PR on master: https://github.com/odoo/odoo/pull/5798
2015-03-17 17:43:41 +01:00
Pedro M. Baeza
d33408ef9b [IMP] Icon in PNG and SVG retouched 2015-02-20 01:57:00 +01:00
Pedro M. Baeza
6f514aea43 [IMP] account_bank_statement_import: POT and ES translation files 2015-02-20 01:34:34 +01:00
Ronald Portier (Therp BV)
d999af6fbb [FIX] Use hashes to comment out code.
When using string delimiters to comment out code (""" before and after),
pylint will complain about useless strings.
2015-02-07 02:47:09 +01:00
Ronald Portier (Therp BV)
4d3e5c6636 [FIX] Make flake and pylint happy.
No automatic creation of journals. Provide demo data to succesfully
run tests.
2015-02-07 02:09:35 +01:00
Ronald Portier (Therp BV)
5f3e8cf3d9 [FIX] Error with duplicate key currency_id in dict. 2015-02-06 00:35:31 +01:00
Alexis de Lattre
49c1183201 If partner_id is in the transactions dict, take it into account 2015-02-05 14:33:07 +01:00
Alexis de Lattre
6da8103d22 Re-activate the code to auto-create journal, but needs a special key in context 2015-01-24 22:08:30 +01:00
Alexis de Lattre
c017b6864b New backport from odoo/master
Fix bug #5
2015-01-23 22:50:24 +01:00