Commit Graph

14 Commits

Author SHA1 Message Date
Stefan Rijnhart
287f87a997 [RFR] Don't unzip xlsx files 2017-02-28 18:44:30 +01:00
Ronald Portier
f1900c6a33 [FIX] Better message for not determined journal. (#86)
* [FIX] Better message for not determined journal.

* [FIX] Only check first (and constant) part of message in text.

Test on import bank statement checked exception message for wrong journal. Part of message has become variable,
so test had to be adapted.
2017-02-28 18:42:15 +01:00
Ronald Portier (Therp BV)
7d12ce19f1 [FIX] Import exceptions.Warning as UserError.
This according to OCA guidelines.
Also reformat README.rst to keep lines within limit.
2015-11-05 15:47:40 +01:00
Laurent Mignon (ACSONE)
43dd1a3f60 The import must fail if the bank_account or the account_journal is not found
The creation of account_journal and bank_account must be prohibited when importing statments.
2015-09-30 13:43:31 +02:00
Stéphane Bidoul
bdd4e838c2 [IMP] lower case _LOGGER and log some more exception details 2015-07-20 19:11:25 +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)
c6be8f17e4 [FIX] Now succesfully running tests for all imports. 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
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