Commit Graph

126 Commits

Author SHA1 Message Date
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
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
unknown
bef1aacb02 [IMP] better call string repr 2013-01-28 13:56:53 +01:00
unknown
fdb899c540 [FIX] base_completion error message + index out of range error 2013-01-28 11:53:33 +01:00
Joel Grand-Guillaume
e3e435f9a6 [FIX] Remove the active key in the __openerp__.py 2013-01-10 16:09:55 +01:00
Guewen Baconnier @ Camptocamp
fa6f29f176 [FIX] standardize the naming of the argument 'cr' instead of 'cursor' 2012-12-20 14:40:22 +01:00
Guewen Baconnier @ Camptocamp
412d86809d [FIX] pep8, pylint, eyeballing 2012-12-20 14:37:01 +01:00
Joel Grand-Guillaume
a5979a9f45 [FIX] Import osv for osv.except 2012-12-19 14:14:59 +01:00