Commit Graph

65 Commits

Author SHA1 Message Date
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
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
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
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
unknown
fc100f8a9a [FIX] default type completion 2013-03-01 15:17:11 +01:00
unknown
4ba531b2fa [FIX] default account in completion 2013-03-01 15:11:09 +01:00
unknown
798e9cc38e [MRG] Adds multi-company support on account.statement.profile and adds multi-company support on easy-reconcile related models 2013-02-14 15:11:19 +01:00
unknown
aaee043674 [ADD] multi-company support on account.statement.profile 2013-02-13 09:21:48 +01:00
unknown
4765a4e392 [FIX] statement can't be canceled 2013-02-07 14:34:05 +01:00
unknown
ac3a635768 [MRG] account_statement_ext
Statement ext collide with voucher for some on change. As it almost impossible
to have a finance installation without voucher, we may add voucher as a
dependence on statement ext in order to fix on change, and silent unwanted
voucher behavior.

We also add the right periode computation for each line in the voucher, as it
was previously done in the account_statement_ext_voucher. We mark also this one
as deprecated.
2013-02-06 10:29:20 +01:00
Alexandre Fayolle
bd1438f301 [REF] small reindent of patch 2013-02-01 08:30:39 +01:00
unknown
e7550d2226 [FIX] common onchange with voucher 2013-01-31 13:04:05 +01:00
unknown
a121a99241 [FIX] logger of account.bank.profile that was broken + use mail thread system 2013-01-28 10:48:10 +01:00
Guewen Baconnier @ Camptocamp
1d0987e954 [FIX] standardize the naming of the argument 'uid' instead of 'user' 2012-12-20 14:41:45 +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
Joel Grand-Guillaume
2ac95f1c44 [MIGR] Adapt import to fit last recomandation 2012-12-19 13:58:54 +01:00
Joel Grand-Guillaume
a4836b6f89 [MIGR] Adapt views, fix import and depedencies 2012-12-18 20:51:26 +01:00
Joel Grand-Guillaume
a38ccb448d [MIGR] First pass to migrate the account_statement_ext module:
mainly on create_move_from_st_line method
2012-12-13 17:08:30 +01:00
Alexandre Fayolle @ camptocamp
8b6d3be2e2 [FIX] undo previous schema fix
(lp:c2c-financial-addons/6.1 rev 94)
2012-10-25 09:38:31 +02:00
Alexandre Fayolle @ camptocamp
21c9d56ba3 [FIX] account_statement_profile.commission_account_id must not be mandatory (lp:1071154)
(lp:c2c-financial-addons/6.1 rev 93)
2012-10-25 08:40:13 +02:00
Joël Grand-Guillaume
e52602aee9 [IMP] Fix the case of using draft state on move when cancelling a bank statement
(lp:c2c-financial-addons/6.1 rev 84)
2012-09-19 08:59:33 +02:00