Commit Graph

272 Commits

Author SHA1 Message Date
unknown
591808d8b4 [MRG] [IMP] Refine partner label lookup error message
[FIX] Restore error message in log
[FIX] Fix partner label lookup regexp
2013-05-10 19:11:48 +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
6500ac2765 [MRG] Major refactoring of statement import and completion:
Fix the way to look default account on partner:
- If master account is provided in profile it will be forced
 - 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

Completion:
-Fix and refactor the the invoices lookup for completion
-Various fixes in completion rules
- Non matches lines are not mark as completed.

Optimisation:

Refactoring of statement import:
We by pass ORM to increase performances.
TODO support of sparse field

Refactoring of completion.
We have done some structural changes in order to avoid a lot of un needed call to ORM.
Bypass orm when writing to database.

These merge is required in order to fix transaction id completion rules and import +
Handle the new semantic change in OpenERP partner model
2013-04-25 15:38:42 +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
097aa43ff6 [FIX] po file 2013-04-25 10:27:08 +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
35c0034068 [TYPO] 2013-04-25 09:56:35 +02:00
unknown
2b92e2afc9 [IMP] no loop when computing sequence 2013-04-25 09:55:59 +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
b00de6cc50 [FIX] transaction id import styling 2013-04-24 12:44:39 +02:00
unknown
e417244752 [FIX] transaction_id completion to support optimization 2013-04-24 12:34:20 +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
7f56881f74 [FIX] assignement 2013-04-22 08:23:45 +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
72f13ec325 [TYPO] 2013-04-12 10:27:38 +02:00
unknown
0541e89e73 [TYPO] 2013-04-12 10:25:01 +02:00
unknown
a828f2527a [FIX] poor satement write function performance 2013-04-12 10:24:11 +02:00
unknown
ee6e88adc1 [FIX] remove deprecated on rec_log as it literraly floods logs in normal/warning level. 2013-04-12 09:05:44 +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
9df2f02a33 [IMP] moving insert function to more appropriate class 2013-04-11 17:13:03 +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
unknown
3ec119eb20 [IMP] adresses massive import perfomrance by doing direct insert into database 2013-04-11 10:57:53 +02:00
unknown
0ef301a199 [PEP8] 2013-04-11 10:55:47 +02:00
unknown
7b808d0caf [FIX] coding declaration 2013-04-10 15:44:17 +02:00
unknown
c5573d2b25 [FIX] pep8 + invalid syntax + undefine value. 2013-04-10 15:43:53 +02:00
unknown
072de0f580 [RM] dead comment 2013-04-10 15:06:30 +02:00
unknown
a0364e9f61 [IMP] reactor of type computing + support of use case when partner is customer and supplier or none 2013-04-10 14:51:39 +02:00
unknown
17f2c78065 [PEP8] 2013-04-10 13:25:50 +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
Alexandre Fayolle
1d62b6fd00 [FIX] permissions on account.statement.profil: an accountant needs write access on the model to be able to import a bank statement
otherwise, the message.post call fails
new_partner_model
2013-03-28 13:31:54 +01:00
Alexandre Fayolle
95b660ad5b [FIX] permissions on account.statement.profil: an accountant needs write access on the model to be able to import a bank statement
otherwise, the message.post call fails
2013-03-27 18:39:56 +01:00