Commit Graph

84 Commits

Author SHA1 Message Date
Stéphane Bidoul
fe4f640ca8 [MOV] move addons out of __unported__ (they remain not installable) 2015-10-13 16:29:29 +02:00
Pedro M. Baeza
e4a743bc7d Set as uninstallable and moved to __unported__ all modules. 2014-07-02 12:46:57 +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
Leonardo Pistone
fb9f6f4c32 [imp] docstring for a function field trigger 2014-03-07 11:20:21 +01:00
Leonardo Pistone
063812d7c4 [fix] other related fields found in the statement 2014-03-06 18:14:44 +01:00
Leonardo Pistone
2c763f77eb [fix] account_statement_ext: trigger for a related field 2014-03-06 17:39:02 +01:00
unknown
3a3c9e9109 fix issue when creating empty statement (lp:1247876) and add a module which enables bank statement creation from the point of sale with the banking framework installed. 2014-03-06 11:48:37 +01:00
unknown
31cf6d60b8 [FIX] fix api and put the incorrect method in deprecated 2014-02-21 19:29:07 +01:00
Yannick Vaucher
3875378fc9 PEP8 on changes 2014-02-21 19:25:38 +01:00
unknown
d87196d445 [FIX] Only commercial partners are allowed in bank statement lines 2014-02-21 14:02:10 +01:00
Graeme Gellatly
6d9dc88fbe resolve conflict 2014-02-02 22:37:44 +13:00
Leonardo Pistone
5c728ccd48 [fix] similarly fix another _get_period 2014-01-30 14:11:58 +01:00
Leonardo Pistone
0eb7bf7825 [imp] docstring 2014-01-30 14:06:24 +01:00
Leonardo Pistone
12c51fa3c4 [fix] copy the context before modifying it: safer upstream 2014-01-30 14:01:20 +01:00
Leonardo Pistone
de19604dc0 [fix] on the first/last day on the year, avoid choosing the opening/closing period. 2014-01-30 13:48:51 +01:00
Guewen Baconnier
fda091b8d4 explain the last change 2014-01-17 15:10:42 +01:00
Guewen Baconnier
df53643070 Only commercial partners are allowed in bank statement lines 2014-01-17 14:20:56 +01:00
Leonardo Pistone
ffa46c14af [MRG][FIX] account_statement_ext: unwind related and stored field because it does not work in a constraint in YAML test, for some reason.This probably needs a more general solution. 2014-01-17 14:08:45 +01:00
Graeme Gellatly
50f47bc31b [FIX][REF] Refactor method get_default_pay_receive_accounts of account_statement_ext to not reimplement property searching and also stop failure on trunk. 2014-01-05 21:53:40 +13:00
Leonardo Pistone
8a46f556f1 [imp] pep8 2013-12-19 11:13:30 +01:00
Leonardo Pistone
b54f6997e5 [fix] account_statement_ext: remove hidden fields from on_change 2013-12-18 19:09:04 +01:00
Leonardo Pistone
1c66e3c395 [fix] account_statement_ext: unwind related and stored field because
it does not work in a constraint in YAML test, for some reason.
This probably needs a more general solution.
2013-12-16 14:55:56 +01:00
Sebastien Beau
bbb25a3ac7 [FIX] fix uniq name constraint, should work in multi-company 2013-12-11 17:01:01 +01:00
Sebastien Beau
7be98134f4 [IMP] add constraint to have an uniq name on bank statement 2013-12-04 17:49:14 +01:00
Sebastien Beau
d1e1c06364 [REF] rename OpenERP class AccountBankSatement into AccountBankStatement 2013-12-04 17:25:04 +01:00
unknown
1de11e7e12 [FIX] account_statement: crash when creating a new bank statement without any lines 2013-10-28 10:22:48 +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
Yannick Vaucher
99bea09c69 [IMP] account_statement_ext - docstring for Statement default profile 2013-09-12 10:59:55 +02:00
Olivier LAURENT
347995e9ed [FIX] at installation time, avoid the exception 'There is no period defined for this date' 2013-09-02 16:46:34 +02:00
Yannick Vaucher
e22e4191e5 [IMP] account_statement_ext - add a sequence on bank profile and set the first of the company as default 2013-06-28 16:59:51 +02:00
Yannick Vaucher
ab44bf61aa [IMP] account_statement_ext - rename profil to profile 2013-06-28 12:26:57 +02:00
unknown
6eaca0595d [MRG] [FIX] Restore default period in bank statement by taking context in account 2013-05-24 11:38:35 +02:00
Alexandre Fayolle
2800b90cfd [FIX] value of 'invisible' argument, ensured context is a dict 2013-05-24 11:26:39 +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
c769917c62 [TYPO] 2013-04-25 10:04:56 +02:00
unknown
2b92e2afc9 [IMP] no loop when computing sequence 2013-04-25 09:55:59 +02:00
unknown
a45011be5c [FIX] incoherence in type lookup behavior 2013-04-24 15:56:42 +02:00
unknown
18e7ff815a [REFACTOR] to improve performance by diminishing reads 2013-04-15 17:37:55 +02:00
unknown
a828f2527a [FIX] poor satement write function performance 2013-04-12 10:24:11 +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
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
unknown
830074b986 [FIX] set period id to invisible instead of readonly because on change period_id value is never send to server 2013-03-25 10:32:52 +01:00
unknown
be99efc934 [MRG] restore default period in bank statement 2013-03-21 11:01:39 +01:00
unknown
d308da4aa5 [FIX] line_type assignation 2013-03-01 15:33:32 +01:00