Commit Graph

82 Commits

Author SHA1 Message Date
Leonardo Pistone
ff3d5d8a7f [MRG][ADD] In account_statement_base_completion, account_statement_transactionid_completion provide YAML tests 2014-01-17 14:22:47 +01:00
Leonardo Pistone
53f2c55faa [del] TODO 2013-12-20 17:25:50 +01:00
Leonardo Pistone
562250842a [fix] yaml: !record is to create. use python write 2013-12-20 15:16:41 +01:00
Leonardo Pistone
b16ece087d [imp] bank statements: check 4 lines 2013-12-20 11:55:21 +01:00
Leonardo Pistone
59d5df20de [fix] in yaml tests, you really want to use _ref, not ref 2013-12-20 11:04:31 +01:00
Leonardo Pistone
1a2da08be8 [imp] completion tests 2013-12-13 21:10:44 +01:00
Leonardo Pistone
ea399af06b [add] statement completion: more tests 2013-12-13 20:08:52 +01:00
Leonardo Pistone
89e7700d21 [add] tests for account_statement_base_completion: customer invoice 2013-12-13 17:25:10 +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
unknown
e934e9d814 [MRG][FIX] account_statement_base_completion - use invoice commercial_partner_id instead of partner 2013-10-15 16:23:39 +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
c81b428629 [IMP] account_statement_base_completion - move 'Auto completion' button in flux button to set it more accessible 2013-06-28 17:22:13 +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
unknown
c043e69b0f [TYPO] 2013-04-24 11:30:08 +02:00
unknown
b693a0d28b [FIX] complete from invoice does false positive if master account is set on profile 2013-04-24 11:24:27 +02:00
unknown
6a2cb72e26 [FIX] error log + type 2013-04-22 09:18:14 +02:00
unknown
18e7ff815a [REFACTOR] to improve performance by diminishing reads 2013-04-15 17:37:55 +02:00
unknown
b07d39ca7e [IMP] ref are striped 2013-04-15 12:23:18 +02:00
unknown
97788aa5a6 [FIX] typo supplier instead of customer 2013-04-15 11:02:17 +02:00
unknown
58bb19fd53 [FIX] no value found during completion result in bad SQL" 2013-04-12 19:49:10 +02:00
unknown
7996785ddb [FIX] auto completion line treated by auto completion != auto completed as if is actually the case 2013-04-12 15:00:28 +02:00
unknown
66de35aa57 [RM] debug statement 2013-04-12 14:13:33 +02:00
unknown
0dbc2cfdce [FIX] completion rules + to ensure minimum default and take in account the profile account as master value 2013-04-12 14:09:05 +02:00
unknown
a1335c3f61 [ADD] refactoring the structure of completion in order to limit the number of browse.
We only tries to alter function that should not be inherited on strandard way of using the addons
2013-04-12 08:38:48 +02:00
unknown
cd75b4532c [IMP] refactor invoice lookup function + fix the fact that they should lokk account_id on invoice not on partner 2013-04-11 13:29:51 +02:00
Joel Grand-Guillaume
8c16725ecb [FIX][IMP] As we saw that we have a difference in bank statement line type and account finding using manual entry and importation/completion method, we make this refactor implementing a method to determine the type following this rule:
- If the customer checkbox is checked on the found partner, type and account will be customer and receivable
         - If the supplier checkbox is checked on the found partner, type and account will be supplier and payable
         - If both checkbox are checked or none of them, it'll be based on the amount :
              If amount is positif the type and account will be customer and receivable,
              If amount is negativ, the type and account will be supplier and payable
2013-04-05 09:52:53 +02:00
unknown
5b016572f4 [IMP] import readability 2013-03-22 09:31:27 +01:00
unknown
4c54f0e1a2 [FIX] escape regexp strings (also in get_from_label_and_partner_name).
remove dead code.
Fix typos.
Fix indentation
2013-03-22 09:09:03 +01:00
unknown
be201a42c7 [MRG] fix lookup on partner bank_statement_label 2013-03-21 16:09:37 +01:00
unknown
01dda831d4 [FIX] force line type to supplier 2013-03-01 14:33:03 +01:00
unknown
5d01f4ee6c [FIX] default data in new rule 2013-03-01 13:57:29 +01:00
unknown
c7d8263cf5 [FIX] rules priority 2013-03-01 13:41:33 +01:00
unknown
eeae7b34d5 [ADD] completion rule to look on supplier_invoice_number 2013-03-01 13:16:16 +01:00
Alexandre Fayolle
f9986d94e4 [IMP] use a list of lines and join for efficient concatenation, reinit the msg list at the correct place 2013-01-30 11:00:31 +01:00