Commit Graph

120 Commits

Author SHA1 Message Date
Laurent Mignon (Acsone)
86a3884fb8 [FIX] prof has been renamed in profile. 2014-05-16 17:15:16 +02:00
Laurent Mignon (Acsone)
8f0b5cefc5 [FIX] Remove comment mismatch with prof parameter vs profile in the comment
add a docstring on multi_statement_import
2014-05-16 17:11:21 +02:00
Laurent Mignon (Acsone)
0960cf0d03 [IMP] Give the possibility to parse and import multiple statments 2014-05-05 21:36:31 +02:00
Laurent Mignon (Acsone)
6c84e21644 [MRG] Remove the default value to False on account_id in account_statement_base_completion/statement.py since it breaks existing code 2014-05-05 16:40:14 +02:00
Launchpad Translations on behalf of banking-addons-team
46a5f67193 Launchpad automatic translations update. 2014-05-03 06:52:28 +00:00
Laurent Mignon (Acsone)
4e02873138 [FIX] lp:1313689
Remove default value to False for account_id since it breaks existing code. It's the responsability of the parser to fill a blank/None account_id in the statement_line values if the default one provided by account_statement_ext does not apply to the expected behavior
2014-04-28 17:07:53 +02:00
Laurent Mignon (Acsone)
6b5979fdde PEP-8 2014-04-28 16:42:52 +02:00
Sébastien Beau
c098e2feef [REF] account_id is not anymore mandatory for creating a bank statement line. Still mandatory for the validation 2014-04-25 14:59:58 +02:00
Launchpad Translations on behalf of banking-addons-team
28f63d3340 Launchpad automatic translations update. 2014-04-22 08:29:54 +00:00
Sebastien Beau
f5609b41b5 [IMP] set the default value for the account to False as the account is not required anymore 2014-04-15 11:52:48 +02:00
Florian da Costa
f56c48b67b [Fix] Merge 2014-04-10 15:19:22 +02:00
Launchpad Translations on behalf of banking-addons-team
019d12e190 Launchpad automatic translations update. 2014-04-03 06:06:30 +00:00
unknown
e0f418a6dc [fix] account_statement_base_import: add all missing default values to the statement line.
This has to be done manually because the module uses sql trickery
2014-04-02 09:56:25 +02:00
Leonardo Pistone
b5d49604f0 [fix] account_statement_base_import: add all missing default values to the statement line.
This has to be done manually because the module uses sql trickery
2014-04-01 17:54:00 +02:00
Launchpad Translations on behalf of banking-addons-team
39f3abc6be Launchpad automatic translations update. 2014-03-22 07:11:39 +00:00
Pedro M. Baeza
cf5baee19f [IMP] Translation template files. 2014-03-21 15:46:09 +01:00
Florian da Costa
a1d2a4806b [FIX] replace old naming of exception + simplify xpath expression to make it more portable 2014-03-13 16:44:34 +01:00
unknown
b4cb3abbeb [IMP] Allow to import xlsx files 2014-03-06 11:31:06 +01:00
unknown
40c3b65b94 Little trick to avoid headhack 2014-03-06 10:40:57 +01:00
Pedro M. Baeza
13d6214155 [IMP] account_statement_base_import: Improved system to inherit selection of the different import types, because as it was, you have to redefine the field on each extension module, due to OpenERP doesn't allow direct inheritance on selection methods.
Now, the selection method calls another private method that can be inherited without problems.
2014-02-28 14:19:47 +01:00
unknown
c064f5d821 [FIX] a regression, the name and date fields had default values until recently. 2014-02-28 14:02:35 +01:00
Laurent Mignon (Acsone)
e164aa12ba [FIX] lp:1280822 define a default value for import_type to avoid breaking tests of completions addons 2014-02-28 13:29:50 +01:00
unknown
60528486d1 [FIX] the sample is insufficient to guess the delimiters on some files 2014-02-26 12:25:52 +01:00
Guewen Baconnier
512fd89093 restore default values to prevent regression introduced in pedro.baeza@serviciosbaeza.com-20140202105840-ndjvkvas1y82pxlw 2014-02-26 12:02:40 +01:00
Guewen Baconnier
ba824ca100 the sample is insufficient to guess the delimiters on some files 2014-02-26 11:23:37 +01:00
Pedro M. Baeza
51c7654445 [FIX] account_statement_base_import: self reference calling method. 2014-02-24 23:45:29 +01:00
Sebastien Beau
da6c89f9dc [REF] add TODO comment for using python exception 2014-02-24 14:05:38 +01:00
unknown
31cf6d60b8 [FIX] fix api and put the incorrect method in deprecated 2014-02-21 19:29:07 +01:00
Yannick Vaucher
fc6032597b UPD account_statement_base_import version 2014-02-21 19:19:53 +01:00
Laurent Mignon (Acsone)
a440f845b9 [FIX] lp:1280822 define a default value for import_type to avoid breaking tests of completions addons 2014-02-16 16:45:03 +01:00
Florian da Costa
3278d9990e [IMP] Allow to import xlsx files 2014-02-12 15:50:40 +01:00
Florian da Costa
0f7fa422b4 [FIX] Clean data 2014-02-03 10:16:01 +01:00
Laurent Mignon (Acsone)
5d7cef8d21 [merge] [IMP] account_statement_base_import: Added some function to be able to fill the balance, the name and the date of the bank statement based on the data of the file parsed.
mirrors closely the approach for statement lines (get_st_line_vals) with the same approch for the statement (get_st_vals)
2014-01-21 17:46:36 +01:00
Pedro M. Baeza
1f11041736 [IMP] Translation template files. 2014-01-21 13:07:34 +01:00
Pedro M. Baeza
3f1999ed8c [IMP] account_statement_base_import: Inheritable method with public name. 2014-01-21 02:04:59 +01:00
Laurent Mignon (Acsone)
e6bb1337c5 add new method to the parser that can be used to provide statement info found in the parsed file 2014-01-14 16:50:19 +01:00
Laurent Mignon (Acsone)
760a4781be Add new hook to build values of the statement from he parser and the profile 2014-01-13 16:14:02 +01:00
Pedro M. Baeza
3e4eb10958 [IMP] account_statement_base_import: private method that returns import type to ease inheritance
[IMP] account_statement_ofx_import: changed accordingly previous improvement
2013-12-24 19:16:40 +01:00
Florian da Costa
c921a71741 [FIX] Change some methods description 2013-12-11 20:11:44 +01:00
Florian da Costa
975df8c3e2 [FIX] Adapt comment of method prepare_statement_lines_vals 2013-12-11 17:52:08 +01:00
Sebastien Beau
1648c431f7 [REF] add a prepare method for custom for creating the bank statement 2013-12-04 18:39:04 +01:00
Florian da Costa
54ff20c0dd [FIX] fix wrong class 2013-12-04 18:12:31 +01:00
Sebastien Beau
4933e28d06 [REF] remove useless unlink as the raise osv will roolback the cursor 2013-12-04 17:13:46 +01:00
Sebastien Beau
98323e2342 [IMP] do not recatch error in debug mode 2013-12-04 17:10:32 +01:00
Sebastien Beau
9205414ee1 [IMP] add the possibility to specify the bank statement date 2013-12-04 15:14:56 +01:00
Sebastien Beau
5e80529485 [IMP] add the posibility to customise the bank statement name in the parser 2013-12-04 15:10:49 +01:00
Sebastien Beau
33dc39874b [REF] account_id is not anymore mandatory for creating a bank statement line. Still mandatory for the validation 2013-12-04 14:53:03 +01:00
Sebastien Beau
b6cb19e401 [FIX] fix api and put the incorrect method in deprecated 2013-12-04 14:41:23 +01:00
Sebastien Beau
3c3b653950 [IMP] account_statement_base_import : add the posibility to set the starting and ending balance 2013-12-04 14:30:34 +01:00
Yannick Vaucher
0ef6e4f94b [FIX] file parser __init__ comment 2013-11-06 18:27:53 +01:00