moylop260
2540f699b4
Fix Pylint warnings
2014-11-20 18:00:15 +01:00
Nicolas Bessi (nbessi)
a89c38ca11
Merge pull request #35 from mdietrichc2c/statement_import_correction
...
Corrects issue with customer refunds and partner lookup for imported lines and add account_report_company as account_statement_base_completion dependency
2014-09-26 09:01:03 +02:00
Leonardo Pistone
5ad1ee5a04
convert the repo to 79 columns
2014-08-26 13:27:50 +02:00
Matthieu Dietrich
4871fc66f7
[FIX] add dependency on account_report_company + remove unnecessary conditions
2014-08-11 14:37:48 +02:00
Pedro M. Baeza
c6298b094e
[IMP] account_statement_base_completion: Fix PEP8
2014-08-04 17:31:24 +02:00
Pedro M. Baeza
44a59ce588
autopep8
2014-08-04 15:29:05 +02:00
florian-dacosta
30525cf933
fix docstring
2014-07-23 18:04:23 +02:00
florian-dacosta
c6e8ea5500
[FIX] API Improvement
2014-07-23 17:30:02 +02:00
unknown
78d2f2107c
Minor import fixes plus a couple of other small changes to allow trunk install. Changed method get_default_pay_receive_accounts of account_statement_ext to use orm built in get. Is actually an improvement as get ensures the result is the most specific property whereas the original method gave no such guarentee in a multicompany environment.
...
Without this this method will fail on trunk and am surprised if it worked on 7.0, however the change is backward compatible with 7.0 and more efficient and less code.
2014-05-14 17:45:12 +02:00
Yannick Vaucher
6c61ca8c25
prepare values by calling _symbol_f on values to ensure we don't insert bad values
2014-05-06 14:22:55 +02:00
Yannick Vaucher
f95f68d915
set account_id optional in account_statement_base_completion instead of account_statement_base_import
2014-05-05 17:47:58 +02:00
unknown
20845d56b6
[FIX] too many characters are escaped, leading to an 'invalid regular expression: invalid escape \ sequence' error.
2014-04-27 20:44:20 +02:00
Florian da Costa
f56c48b67b
[Fix] Merge
2014-04-10 15:19:22 +02:00
Florian da Costa
1e3200a070
[FIX] fix line length (pep8)
2014-04-10 15:07:27 +02:00
unknown
ca4f39b3a8
[IMP] Add the number of lines in completion log to let the user know if some hasn't been auto-completed (e.g. 332/335 line compelted)
2014-03-14 11:50:40 +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
Guewen Baconnier
7ff26dbb35
[FIX] too many characters are escaped, leading to an 'invalid regular expression: invalid escape \ sequence' error.
...
Escape only the list of characters that must be escaped according to POSIX-ARE
2014-03-04 14:19:28 +01:00
unknown
31cf6d60b8
[FIX] fix api and put the incorrect method in deprecated
2014-02-21 19:29:07 +01:00
Laurent Mignon (Acsone)
4f19caeb20
[FIX] escape res_partner.name column as second arg of regexp_matches and keep the first one as unescaped. Add a lot of tests for completion based on the res_partner name
2014-02-17 18:24:03 +01:00
Laurent Mignon (Acsone)
b290110758
a little query optimization
2014-02-16 19:41:04 +01:00
Laurent Mignon (Acsone)
4e538950d7
typo
2014-02-16 16:28:57 +01:00
Laurent Mignon (Acsone)
bb06a4b2aa
[FIX] search for name in the statement line label and no vice versa
2014-02-16 16:21:52 +01:00
unknown
3b3379515b
[IMP] account_statement_base_completion: Method get_st_vals in the same line of get_st_line_vals.
2014-02-02 11:58:40 +01:00
Graeme Gellatly
341552eef9
refix imports after rebase
2014-02-02 22:42:28 +13:00
unknown
102a24bd86
[MRG] [ADD] the possibility to use instance of account.statement.completion.rule
2014-01-23 09:44:24 +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
Laetitia Gangloff (Acsone)
6ca1e05c96
rename _get_callable in _get_rules. Correct the args len.
2014-01-14 16:27:23 +01:00
Laetitia Gangloff (Acsone)
d5ecec5a41
Add the possibility to use instance of account.statement.completion.rule
2014-01-14 15:39:02 +01:00
Laurent Mignon (Acsone)
bc879326ed
PEP 8
2014-01-14 15:37:18 +01:00
Sebastien Beau
d1e1c06364
[REF] rename OpenERP class AccountBankSatement into AccountBankStatement
2013-12-04 17:25:04 +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
Leonardo Pistone
5c0e625e11
[imp] account_statement_base_completion: put what depends on sale on a separate module
2013-12-03 16:04:25 +01:00
Laurent Mignon (Acsone)
3d9296ab35
[IMP] Fixes lp:1223834 in case of insert. Batch updates remains error prone. It would be safer to call the update method from the orm for records updating 'complex' fields.
...
A new completion rule based on the bank account number is also provided by the proposal.
About modules dependencies. The module 'account_statement_base_import' depends of 'account_statement_base_completion' but the file statement.py of 'account_statement_base_completion' at line 513 call the method _update_line defined in 'account_statement_base_import'. Since the 'AccountStatementLine' is defined in both addons, I've the feeling that we can merge the two overrides in 'account_statement_base_completion'.
2013-10-16 10:58:12 +02:00
Laurent Mignon (Acsone)
423820aa18
relocate methods defined for AccountStatementLine in account_statement_base_import to account_statement_base_completion
2013-09-12 11:05:01 +02:00
Yannick Vaucher
0dd4dc5830
[FIX] account_statement_base_complestion - use invoice commercial_partner_id instead of partner
2013-06-26 15:47:27 +02:00
unknown
dbdc2d2610
[FIX] inversion in regex
2013-04-30 11:51:39 +02:00
unknown
ccc419b349
[FIX] better error log for completion rules + global error message is logged
2013-04-30 11:39:29 +02:00
unknown
7f921d316a
[FIX] wrong argument id instead of line['profile_id']
2013-04-25 13:48:24 +02:00
Alexandre Fayolle
262bba3373
[IMP] fix a few docstrings
...
small code improvement in account_statement_transactionid_completion/statement.py AccountStatementCompletionRule.get_from_transaction_id_and_so)
2013-04-25 13:30:23 +02:00
unknown
e36acfe43c
[IMP] message logging
2013-04-25 10:27:52 +02:00
unknown
c769917c62
[TYPO]
2013-04-25 10:04:56 +02:00
unknown
a5dc399750
[FIX] partner name lookup now respect security rules
2013-04-25 09:57:13 +02:00
unknown
f699b674ac
[FIX] comment and forgotten print statement
2013-04-25 09:37:42 +02:00
unknown
5395c25beb
[IMP] log code cleanup
2013-04-25 09:33:11 +02:00
unknown
39484b4a96
[IMP] return value
2013-04-25 09:19:08 +02:00
unknown
03a8016fd7
[FIX] dead error management code
2013-04-25 09:16:40 +02:00
unknown
e0cfdc7820
[FIX] dead if statement
2013-04-25 09:08:25 +02:00
unknown
04d2dac21b
[FIX] by partner name completion rule if statement and wrong variable
2013-04-25 09:06:55 +02:00
unknown
f7217d1d81
[IMP] completion messages
2013-04-25 09:02:55 +02:00
unknown
a45011be5c
[FIX] incoherence in type lookup behavior
2013-04-24 15:56:42 +02:00