Commit Graph

43 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
Launchpad Translations on behalf of banking-addons-team
a66c661c12 Launchpad automatic translations update. 2014-06-06 06:36:59 +00: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
Guewen Baconnier
f74149fb47 display the transaction_id field in the bank statement tree view as the form is now unused by default 2014-02-06 13:45:31 +01:00
Pedro M. Baeza
1f11041736 [IMP] Translation template files. 2014-01-21 13:07:34 +01:00
Guewen Baconnier
ab00d43276 add an assert in the completion test 2014-01-20 11:57:18 +01:00
Guewen Baconnier
0e091d0316 add test for the completion from invoice 2014-01-20 10:40:12 +01:00
Guewen Baconnier
b903872c8e comment, if we can't find an invoice, we leave the original ref 2014-01-17 16:07:46 +01:00
Guewen Baconnier
17a3813ab7 [FIX] field name 2014-01-16 16:58:06 +01:00
Guewen Baconnier
0152e486ed wrong variable name, copy the invoice's move ref in statement line's ref 2014-01-16 16:24:10 +01:00
Guewen Baconnier
25e1bfa717 fix syntax 2014-01-16 15:12:25 +01:00
Guewen Baconnier
dadde06c9b account_move_line.transaction_ref is now in base_transaction_id. We do no longer want the ref in transaction_ref 2014-01-16 14:36:36 +01:00
Guewen Baconnier
329b3f239b [ADD] completion rule from invoice, copy the transaction_ref from the bank statement lines to the move lines 2014-01-16 14:26:12 +01:00
Leonardo Pistone
ed60c48bea [add] yaml tests for module account_statement_transactionid_completion 2014-01-07 12:27:26 +01:00
Stéphane Bidoul
a0f4f121cc [IMP] spelling error in help text 2013-09-11 11:12:14 +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
e417244752 [FIX] transaction_id completion to support optimization 2013-04-24 12:34:20 +02: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
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
077c842a7e [MIGR] Fix *transaction* module + completion_voucher -> I think we'll remove this module once as it doesn't apply any more. 2012-12-18 22:06:21 +01:00
Alexandre Fayolle @ camptocamp
9fb2fd48c2 [FIX] spelling
(lp:c2c-financial-addons/6.1 rev 77)
2012-07-31 16:29:55 +02:00
Joël Grand-Guillaume
57c0a63f6a [FIX] Typo
(lp:c2c-financial-addons/6.1 rev 69)
2012-06-26 15:46:03 +02:00
Joël Grand-Guillaume
63faba7eb8 [IMP] noupdate = 1 on data.xml for rules definition sequence.
[IMP] Add the ref in search criteria
(lp:c2c-financial-addons/6.1 rev 67)
2012-06-26 11:21:35 +02:00
Joël Grand-Guillaume
00cd824d35 [FIX] Fix transactionID module import and completion
[IMP] Usability and filter
  [DOC] Little typo
(lp:c2c-financial-addons/6.1 rev 66)
2012-06-22 17:45:50 +02:00
Joël Grand-Guillaume
1f1a75e020 [MRG] Add all the bank statement improvements that we made. This is mostly based on :
account_statement_ext -> provide profile per bank statement, remove period, choose to use balance check or not,...
  account_statement_base_completion -> provide a completion rule system to fullfill the bank statement (partner, account,...)
  account_statement_base_import -> provide a base to create your own file parser for each bank/office and link it to a profile
  account_statement_transactionid_completion and account_statement_transactionid_import to use the transaction ID recorded in th SO
  account_advanced_reconcile -> An advanced way to setup reconciliation rules on every account
  account_financial_report_webkit -> some little fixes
(lp:c2c-financial-addons/6.1 rev 63)
2012-06-20 16:10:01 +02:00
Joël Grand-Guillaume
d8e7cb77a2 [MRG] From customer branch
(lp:c2c-financial-addons/6.1 rev 58)
2012-06-06 16:27:25 +02:00
Guewen Baconnier @ Camptocamp
b95f9e913d [FIX] count of reconciliations was incorrect for partial reconciliations
(lp:c2c-financial-addons/6.1 rev 24.3.1)
2012-06-26 15:25:27 +02:00
Guewen Baconnier @ Camptocamp
231f0b276c [REF] refactoring of account_advanced_reconcile using account_easy_reconcile, intermediate commit
(lp:c2c-financial-addons/6.1 rev 24.2.1)
2012-06-12 22:41:47 +02:00
Guewen Baconnier @ Camptocamp
c471a0f82a [MRG] from upstream
(lp:c2c-financial-addons/6.1 rev 24.1.41)
2012-06-27 10:01:37 +02:00
Joël Grand-Guillaume
ba75bff78c [FIX] Completion errors management
[IMP] Usability improvements (search fields, ...)
(lp:c2c-financial-addons/6.1 rev 24.1.33)
2012-06-22 17:44:18 +02:00
Joël Grand-Guillaume
a0e368461e [FIX] TransactionID importation and completion
(lp:c2c-financial-addons/6.1 rev 24.1.32)
2012-06-22 11:38:01 +02:00
Joël Grand-Guillaume
4abea930b5 [FIX] Correct the bank_label based completion method + open imported statement in new windows
(lp:c2c-financial-addons/6.1 rev 24.1.31)
2012-06-22 11:32:56 +02:00
Joël Grand-Guillaume
6e724ba1b1 [FIX] Transaction ID import generic module
(lp:c2c-financial-addons/6.1 rev 24.1.30)
2012-06-21 16:10:15 +02:00
Guewen Baconnier @ Camptocamp
a9abb64de8 [FIX] syntax
(lp:c2c-financial-addons/6.1 rev 24.1.28)
2012-06-21 14:50:21 +02:00
Guewen Baconnier @ Camptocamp
2a6f881892 [FIX] extra </field>
(lp:c2c-financial-addons/6.1 rev 24.1.27)
2012-06-21 14:44:11 +02:00
Joël Grand-Guillaume
021a76fac1 [FIX] kwargs before args
(lp:c2c-financial-addons/6.1 rev 24.1.26)
2012-06-21 14:18:06 +02:00
Joël Grand-Guillaume
52e490104f [DOC] Comment the whole code of the bank statement improvement modules suite.
(lp:c2c-financial-addons/6.1 rev 24.1.24)
2012-06-20 16:01:43 +02:00
Joël Grand-Guillaume
0e70448fac [FIX] Various fixes after presentation to F.Clementi
(lp:c2c-financial-addons/6.1 rev 24.1.23)
2012-06-18 15:55:15 +02:00
Joël Grand-Guillaume
57215e0aa1 [IMP] Rebuild of all bank statment stuffs. This commit is more a backup cause it is under hard devs V2.0
(lp:c2c-financial-addons/6.1 rev 24.1.18)
2012-06-14 16:21:57 +02:00
Joël Grand-Guillaume
6360ac7369 [IMP] Rebuild of all bank statment stuffs. This commit is more a backup cause it is under hard devs
(lp:c2c-financial-addons/6.1 rev 24.1.17)
2012-06-12 16:21:34 +02:00