Commit Graph

608 Commits

Author SHA1 Message Date
Sandy Carter
e5cfdfccb3 Add account-financial-tools dependency 2014-07-16 08:34:07 -04:00
Sandy Carter
8f5861e587 Add meta files 2014-07-16 08:25:47 -04:00
Sandy
7b735ac42d Merge pull request #12 from lepistone/easy_reconcile_commit
[imp] auto reconcile: commit every 10 lines
2014-07-16 08:16:47 -04:00
Leonardo Pistone
8193d5d2f0 refactor as suggested by @guewen 2014-07-15 16:11:06 +02:00
Leonardo Pistone
2971f6652a [imp] auto reconcile: commit every 10 lines 2014-07-15 15:42:38 +02:00
Pedro M. Baeza
56f6818e01 Merge pull request #4 from pedrobaeza/7.0-bank-statement-reconcile-prof_parsing
[IMP] account_statement_base_import: to have profile data stored on a variable across parsers methods, in order to be used to customize, for example, parsing with a parameter introduced on profiles. Dependent modules have been changed accordingly.
2014-07-14 16:02:38 +02:00
Leonardo Pistone
59234d8e15 Merge pull request #9 from lepistone/7.0-account_easy_reconcile-analytic-account
In account_easy_reconcile, now write-off entries can be created with an analytic account
2014-07-11 16:15:29 +02:00
Pedro M. Baeza
beea3e1b36 Create README.md 2014-07-02 20:44:35 +02:00
Pedro M. Baeza
c45e47d54e Improvement on the account_statement_base_import module to have profile data stored on a variable across parsers methods, in order to be used to customize, for example, parsing with a parameter introduced on profiles.
Dependent modules have been changed accordingly.
2014-07-02 13:37:36 +02:00
Launchpad Translations on behalf of banking-addons-team
e85ef765fc Launchpad automatic translations update. 2014-06-20 06:09:57 +00:00
unknown
9a567585df [MRG][ADD] module account_statement_cancel_line 2014-06-16 14:45:01 +02:00
Leonardo Pistone
e972437765 [fix] duplicate moves when confirming a statement with a confirmed line
Add a test to expose the bug.
To reproduce: create a statement with two lines, confirm one, and then confirm
the whole statement. The first line has two associated moves.
2014-06-13 12:04:16 +02:00
Launchpad Translations on behalf of banking-addons-team
c06af1b7cd Launchpad automatic translations update. 2014-06-10 06:51:05 +00:00
Launchpad Translations on behalf of banking-addons-team
a66c661c12 Launchpad automatic translations update. 2014-06-06 06:36:59 +00:00
Launchpad Translations on behalf of banking-addons-team
73b923a4c9 Launchpad automatic translations update. 2014-05-27 06:08:54 +00:00
Launchpad Translations on behalf of banking-addons-team
dfea628fd6 Launchpad automatic translations update. 2014-05-24 06:52:22 +00:00
Yannick Vaucher
8af0f833a5 [ADD] module account_invoice_reference which aims to simplify the "references" fields on the invoices. 2014-05-23 11:33:58 +02:00
Launchpad Translations on behalf of banking-addons-team
ace56fe44a Launchpad automatic translations update. 2014-05-22 06:49:45 +00:00
unknown
179dc6e310 [IMP] Give the possibility to parse and import multiple statments 2014-05-19 08:54:57 +02:00
Laurent Mignon (Acsone)
4f470b2235 [PEP8] 2014-05-16 18:42:08 +02:00
Laurent Mignon (Acsone)
669332ef1c [FIX] keep the name prof to avoid a lot of diff with existing code 2014-05-16 17:25:18 +02:00
Laurent Mignon (Acsone)
1b1183c438 [MRG] lp:banking-addons/bank-statement-reconcile-7.0 and remove conflicts 2014-05-16 17:19:54 +02:00
Laurent Mignon (Acsone)
86a3884fb8 [FIX] prof has been renamed in profile. 2014-05-16 17:15:16 +02:00
Laurent Mignon (Acsone)
8f0b5cefc5 [FIX] Remove comment mismatch with prof parameter vs profile in the comment
add a docstring on multi_statement_import
2014-05-16 17:11:21 +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
Sébastien Beau
886f9617fc [MRG] Add a new module in order to have advanced completion label.
With this module you can auto-complete the account_id or/and the partner_id based on the label of the line
2014-05-13 13:46:22 +02:00
Launchpad Translations on behalf of banking-addons-team
5eb18296e3 Launchpad automatic translations update. 2014-05-13 06:34:14 +00:00
Yannick Vaucher
d937c84450 [MRG] Cleaning for the fix lp:1313689:
* The _insert_lines and _update_line method in *_base_completion/statement.py calls the symbol_f method to prorperly initiate the default value (e.g. integer default null value should be Null not False).

 * The mechanism that allow to have a null account_id in bank statement line has been move in *_base_completion, instead of *_base_import.
2014-05-09 15:24:25 +02:00
Yannick Vaucher
eef1a4bf4e remove account_payable and account_receivable from prepare_statement_vals args as not used anymore 2014-05-07 10:50:38 +02:00
Yannick Vaucher
ac4f54278a merge from upsteam 2014-05-06 15:22:56 +02:00
Yannick Vaucher
6c61ca8c25 prepare values by calling _symbol_f on values to ensure we don't insert bad values 2014-05-06 14:22:55 +02:00
Laurent Mignon (Acsone)
0960cf0d03 [IMP] Give the possibility to parse and import multiple statments 2014-05-05 21:36:31 +02:00
Yannick Vaucher
f95f68d915 set account_id optional in account_statement_base_completion instead of account_statement_base_import 2014-05-05 17:47:58 +02:00
Laurent Mignon (Acsone)
6c84e21644 [MRG] Remove the default value to False on account_id in account_statement_base_completion/statement.py since it breaks existing code 2014-05-05 16:40:14 +02:00
Launchpad Translations on behalf of banking-addons-team
46a5f67193 Launchpad automatic translations update. 2014-05-03 06:52:28 +00:00
Laurent Mignon (Acsone)
4e02873138 [FIX] lp:1313689
Remove default value to False for account_id since it breaks existing code. It's the responsability of the parser to fill a blank/None account_id in the statement_line values if the default one provided by account_statement_ext does not apply to the expected behavior
2014-04-28 17:07:53 +02:00
Laurent Mignon (Acsone)
6b5979fdde PEP-8 2014-04-28 16:42:52 +02:00
unknown
20845d56b6 [FIX] too many characters are escaped, leading to an 'invalid regular expression: invalid escape \ sequence' error. 2014-04-27 20:44:20 +02:00
Sébastien Beau
c098e2feef [REF] account_id is not anymore mandatory for creating a bank statement line. Still mandatory for the validation 2014-04-25 14:59:58 +02:00
Launchpad Translations on behalf of banking-addons-team
28f63d3340 Launchpad automatic translations update. 2014-04-22 08:29:54 +00:00
Sebastien Beau
f5609b41b5 [IMP] set the default value for the account to False as the account is not required anymore 2014-04-15 11:52:48 +02:00
unknown
20b139e1b7 Improvement around the Transaction IDs modules
==============================================

This proposal aims to improve the modules using transaction ids, I will start
by summarizing what are they used for, then what are the existing problems and
what changes I propose.

Transaction IDs?
----------------

The transaction IDs are a technical reference for a move line. They are to
differentiate from the usual reference that are a reference for humans firstly
(more about that here [0]). Usually, the transaction IDs are defined by
external systems such as payment gateways and are a way to streamline the
reconciliations between the invoices, bank statements...

Changes
-------

1) account_move_line.transaction_ref is defined in 'account_advanced_reconcile_transaction_ref' which adds a reconciliation method with transaction id.
It makes much sense to add the field in 'base_transaction_id' so we can use the field in other modules such as the bank statement completion modules. It is a pity that the field on the invoice and the sale order is 'transaction_id' and in move lines 'transaction_ref' but I prefer to keep the backward-compatibility.

So I moved these things from 'account_advanced_reconcile_transaction_ref' to 'base_transaction_id'

2) In account_advanced_reconcile_transaction_ref there is an inherit of the bank statement that copies the line's ref in the move line's transaction_id. I think this is a mismatch between the ref and the transaction_id that we have to avoid. In fact, only the transaction id of the statement lines should be copied if any, or left empty if the statement line has no transaction id.

3) A consequence of the change 2) is that the automatic reconcile from transaction ref will no longer work for those not using the transaction ids in the bank statement but only the ref. So I added a new reconciliation rule that matches 'ref' vs 'transaction id'. The only drawback is that they will need to change their configuration, but at least the rules will be clear on their intentions.

4) completion rules: 'base_transaction_id' adds a transaction_id on sales order and invoices. There is actually a completion rule that searches the bank statement information from a matching invoice with the same transaction_id. I added the same rule that searches for an invoice with the same transaction id. This is the logical continuation and a good complement when an invoice / refund was not generated by a sales order and we still need to autocomplete the bank statement.

[0] https://code.launchpad.net/~camptocamp/banking-addons/7.0-bank-statement-reconcile-account_invoice_reference/+merge/202689
2014-04-14 15:09:19 +02:00
Florian da Costa
f56c48b67b [Fix] Merge 2014-04-10 15:19:22 +02:00
Florian da Costa
1e3200a070 [FIX] fix line length (pep8) 2014-04-10 15:07:27 +02:00
Florian da Costa
0ccf35ebc3 [FIX] replace string substitution in SQL query 2014-04-10 14:49:12 +02:00
Sebastien Beau
fd05628af3 [FIX] add ir_rule for account.statement.label and fix field definition 2014-04-07 09:41:34 +02:00
Launchpad Translations on behalf of banking-addons-team
019d12e190 Launchpad automatic translations update. 2014-04-03 06:06:30 +00:00
unknown
cc68080740 [IMP] Add buttons to open unreconciled and partially reconciled items from a profile to easy the verification and controlling
[IMP] Add the number of lines in completion log to let the user know if some hasn't been auto-completed (e.g. 332/335 line compelted)
  [IMP] Add a group by bank statement in journal items search view to ease the reconciliation
2014-04-02 16:52:35 +02:00
unknown
e0f418a6dc [fix] account_statement_base_import: add all missing default values to the statement line.
This has to be done manually because the module uses sql trickery
2014-04-02 09:56:25 +02:00
Leonardo Pistone
b5d49604f0 [fix] account_statement_base_import: add all missing default values to the statement line.
This has to be done manually because the module uses sql trickery
2014-04-01 17:54:00 +02:00