Commit Graph

685 Commits

Author SHA1 Message Date
Guewen Baconnier
583b156df7 Cron fails to run when there is no "last history".
Fixes #39
2014-08-26 14:20:57 +02:00
Guewen Baconnier
71f6c4807f pep8 fixes 2014-08-26 14:20:57 +02:00
Guewen Baconnier
8110a47085 add debit lines for matching
according to
279a176e22
2014-08-26 14:20:57 +02:00
Guewen Baconnier
07d0fb418c Extend methods instead of overriding them entirely.
Allows to stay compatible if the original methods change, for instance if new fields are added.
2014-08-26 14:20:57 +02:00
Nicolas Bessi (nbessi)
798fd098a1 Add missing import
Due to merge trouble
2014-08-26 14:20:57 +02:00
Nicolas Bessi
a967226e3e [MRG] [ADD] a cron to run reconciles.
By default it runs one reconcile after the other to be more atomic
  and memory friendly. But you can set run_all agrument to have all reconcile
  run at once
2014-08-26 14:20:57 +02:00
Matthieu Dietrich
c9779f3326 [FIX] optimize new rule 2014-08-26 14:20:57 +02:00
Matthieu Dietrich
b48a46a299 [FIX] updated copyrights 2014-08-26 14:20:57 +02:00
Matthieu Dietrich
9a949d8ea1 [ADD] new reconciliation rule using bank statements 2014-08-26 14:20:57 +02:00
Yannick Vaucher
1602a3be7d Merge pull request #40 from lepistone/7.0-79-chars-lines
convert the repo to 79 columns
2014-08-26 14:03:27 +02:00
Leonardo Pistone
5ad1ee5a04 convert the repo to 79 columns 2014-08-26 13:27:50 +02:00
Leonardo Pistone
733ca47a7a Merge pull request #17 from guewen/reconcile-store-history
The history does not store the reconciled entries
2014-08-26 11:02:33 +02:00
Pedro M. Baeza
ceb174ff98 Merge pull request #18 from guewen/reconcile-partial-optimize
Reconcile optimization: avoid to do a partial reconcile if it was already reconciled with the same lines
2014-08-26 10:36:14 +02:00
Guewen Baconnier
3ac15d6fb2 pep8: E124 closing bracket does not match visual indentation 2014-08-25 10:23:44 +02:00
Guewen Baconnier
f8322fda1e Long line 2014-08-22 16:57:19 +02:00
Guewen Baconnier
9c543fc06f Missing declaration of _logger and _ 2014-08-22 16:41:06 +02:00
Yannick Vaucher
e2c05c6851 remove useless noqa 2014-08-22 16:38:49 +02:00
Guewen Baconnier
da08af927a The history does not store the reconciled entries
Because the new reconciliations are committed in a different transaction
than the one used to create the history.
Move the new cursor initialization to the outer method 'run_reconcile()'
so everything is enclosed in the same transaction.
2014-08-22 16:38:49 +02:00
Guewen Baconnier
7f76d5a6d3 Slightly improved styling 2014-08-22 16:24:57 +02:00
Matthieu Dietrich
b5e62298ae [FIX] added check for size before list access + corrected base columns for transaction ref 2014-08-22 16:22:48 +02:00
Guewen Baconnier
c4a1f50e50 Reconcile optimization: avoid to do a partial reconcile if it was
already reconciled with the same lines

Before this optimization, the same partial reconciliation were created
at each run of the automatic reconcile.
2014-08-22 16:20:13 +02:00
Pedro M. Baeza
9ddc895a81 Merge pull request #38 from pedrobaeza/7.0-fix_exceptions
[FIX] account_statement_ext: Catch also old exceptions (osv.except_osv)
2014-08-21 11:19:13 +02:00
Pedro M. Baeza
76d4b6720b Exception variable in 2.7 syntax 2014-08-21 02:10:01 +02:00
Pedro M. Baeza
42fdf1d77f [FIX] account_statement_ext: Catch also old exceptions (osv.except_osv) 2014-08-20 17:21:47 +02:00
Pedro M. Baeza
c0926e9130 Merge pull request #24 from acsone/7.0-improve-acc-number-completion
[IMP] account_statement_bankaccount_completion: Improve acc number completion
2014-08-07 19:02:13 +02:00
Laurent Mignon (aka lmi)
aed71450ef [FIX] conflicts incorrectly resolved when merging upstream/7.0 2014-08-06 16:20:11 +02:00
Laurent Mignon (aka lmi)
410c8c47b3 [FIX] conflicts incorrectly resolved when merging upstream/7.0 2014-08-06 16:17:36 +02:00
Laurent Mignon (aka lmi)
fe9e0c26a5 Merge remote-tracking branch 'upstream/7.0' into 7.0-improve-acc-number-completion
Conflicts:
	account_statement_bankaccount_completion/statement.py
	account_statement_bankaccount_completion/tests/test_bankaccount_completion.py
	account_statement_base_completion/tests/test_base_completion.py
	account_statement_regex_account_completion/tests/test_regex_account_completion.py
2014-08-06 15:47:44 +02:00
Pedro M. Baeza
c0cbab8b75 Merge pull request #31 from pedrobaeza/7.0-pep8_fix
PEP8 fix
2014-08-06 09:35:05 +02:00
Pedro M. Baeza
a33cfa6936 Fix multiline docstring param 2014-08-05 18:47:52 +02:00
Laurent Mignon
f34f3fbbd6 [FIX] improve code quality 2014-08-05 09:17:55 +02:00
Laurent Mignon
7cafa70ab6 [FIX] rename 'acc_bk_stmt_line_obj' to 'st_line_obj' 2014-08-05 09:17:55 +02:00
Laurent Mignon
55e53a6d5d [PEP8] max-line-length=80 2014-08-05 09:17:55 +02:00
Laurent Mignon (aka lmi)
b25332284f [IMP] Improve the matching on acc_number by removing the formatting characters when querying the res_partner_bank table 2014-08-05 09:17:55 +02:00
Pedro M. Baeza
4e13e0e3b0 F401 remaining 2014-08-04 21:31:44 +02:00
Pedro M. Baeza
b522f28ffb Fix Travis errors 2014-08-04 21:05:19 +02:00
Pedro M. Baeza
b94bebee0e [IMP] account_statement_bankaccount_completion: Fix PEP8 2014-08-04 20:22:25 +02:00
Pedro M. Baeza
85d139f776 [IMP] account_statement_completion_voucher: Fix PEP8 2014-08-04 20:16:08 +02:00
Pedro M. Baeza
5cfa975a67 [IMP] account_statement_completion_voucher: Fix PEP8 2014-08-04 19:06:04 +02:00
Pedro M. Baeza
48e03e6b4d [IMP] account_advanced_reconcile_transaction_ref: Fix PEP8 2014-08-04 19:05:25 +02:00
Pedro M. Baeza
5f0628baad [IMP] account_statement_ofx_import: Fix PEP8 2014-08-04 19:04:24 +02:00
Pedro M. Baeza
9facd19db5 [IMP] account_statement_no_invoice_import: Fix PEP8 2014-08-04 19:01:54 +02:00
Pedro M. Baeza
6ccd6f420b [IMP] account_statement_commission: Fix PEP8 2014-08-04 19:01:20 +02:00
Pedro M. Baeza
a851336a7c [IMP] account_statement_transactionid_completion: Fix PEP8 2014-08-04 18:58:31 +02:00
Pedro M. Baeza
d9a943d2d3 [IMP] account_statement_base_import: Fix PEP8 2014-08-04 18:42:00 +02:00
Pedro M. Baeza
aebcbfdd5d [IMP] account_invoice_reference: Fix PEP8 2014-08-04 18:12:14 +02:00
Pedro M. Baeza
602d39da87 [IMP] account_statement_completion_label: Fix PEP8 2014-08-04 18:10:35 +02:00
Pedro M. Baeza
d64122c923 [IMP] account_statement_regex_account_completion: Fix PEP8 2014-08-04 17:57:26 +02:00
Pedro M. Baeza
66af054fa3 [IMP] account_statement_ext_point_of_sale: Fix PEP8 2014-08-04 17:53:54 +02:00
Pedro M. Baeza
d0a06fd532 [IMP] account_statement_one_move: Fix PEP8 2014-08-04 17:50:16 +02:00