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.
8 years ago
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.
9 years ago
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.
9 years ago
Stéphane Bidoul
bdd4e838c2
[IMP] lower case _LOGGER and log some more exception details
10 years ago
Ronald Portier (Therp BV)
24f51b8256
[FIX] Removed unneeded (and malformed) comment line.
10 years ago
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.
10 years ago
Ronald Portier (Therp BV)
c6be8f17e4
[FIX] Now succesfully running tests for all imports.
10 years ago
Ronald Portier (Therp BV)
b3a1691db1
[FIX] No journal_id keyword parm on _create_bank_account(..)
10 years ago
Laurent Mignon
9c9ebe8cda
[IMP] Let the res_partner_bank.post_write create the journal if it doesn't exist
10 years ago
Laurent Mignon
31fd68de92
[IMP] Sanitize acc_number to upper case
Use wildcard on both sides when opertor contains 'like'
10 years ago
Laurent Mignon
8181fea31e
[IMP] Add sanitezed_acc_number on res.partenr.bank
The new field is computed by sanitzing the acc_number.
10 years ago
Laurent Mignon (ACSONE)
ec26ad79b9
[IMP] use new API
Conflicts:
account_bank_statement_import/account_bank_statement_import.py
10 years ago
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
10 years ago