Commit Graph

29 Commits

Author SHA1 Message Date
Guewen Baconnier
4f6a872d2b Merge pull request #49 from guewen/typo-purchase-refund
Typo in purchase_refund, resulting in a 'general' type instead of 'supplier'
2014-11-25 07:59:52 +01:00
vrenaville
0f9ee8776e [FIX] improve test 2014-10-10 17:48:09 +02:00
vrenaville
7d29ec2f33 [FIX] missing import time 2014-10-10 15:25:40 +02:00
vrenaville
d600eff7a2 [FIX] remove eval in python 2014-10-10 15:01:23 +02:00
vrenaville
e8931ac9ae [FIX] improve test 2014-10-10 14:42:22 +02:00
Guewen Baconnier
7f20dba3ec Typo in purchase_refund, resulting in a 'general' type instead of
'supplier'
2014-10-09 11:34:54 +02:00
vrenaville
b7c37f8d7c [FIX] test 2014-10-09 11:28:21 +02:00
vrenaville
e0d576f071 [FIX] improve test 2014-10-09 10:33:33 +02:00
vrenaville
4088bf87c2 [FIx] include test in __openerp__.py 2014-10-09 09:29:09 +02:00
vrenaville
9b4688bfe0 [ADD] test file 2014-10-09 09:26:38 +02:00
vrenaville
81b9befac1 [FIX] rewrite to fix : https://bugs.launchpad.net/banking-addons/+bug/1301781 2014-10-09 08:34:56 +02:00
Leonardo Pistone
5ad1ee5a04 convert the repo to 79 columns 2014-08-26 13:27:50 +02:00
Pedro M. Baeza
b522f28ffb Fix Travis errors 2014-08-04 21:05:19 +02:00
Pedro M. Baeza
5072c719f0 [IMP] statement_voucher_killer: Fix PEP8 2014-08-04 17:05:04 +02:00
Pedro M. Baeza
44a59ce588 autopep8 2014-08-04 15:29:05 +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
Pedro M. Baeza
cf5baee19f [IMP] Translation template files. 2014-03-21 15:46:09 +01:00
Guewen Baconnier
2ad0691b9d merge from master 2014-03-05 13:10:07 +01:00
Guewen Baconnier
04f7f3a5b5 module now depends on statement_voucher_killer, and this module adds hooks in the generation of statement lines so we can add the transaction ids 2014-03-04 17:27:19 +01:00
Pedro M. Baeza
1f11041736 [IMP] Translation template files. 2014-01-21 13:07:34 +01:00
Sebastien Beau
a346f295dd [REF] remove useless comment 2013-12-11 17:22:17 +01:00
Sebastien Beau
0164efeae7 [IMP] hide useless red button of voucher_id on the statement line 2013-12-11 17:18:58 +01:00
unknown
54def1b6f1 [IMP] module description 2013-08-27 08:29:57 +02:00
unknown
a0eda5d15c [IMP] if no date on statement line, statement try to use ml_maturity_date or satement date 2013-08-27 08:20:04 +02:00
unknown
2d96df8881 [PEP8] 2013-08-27 08:13:17 +02:00
Vincent Renaville
fe895af798 [FIX] add date of payment line instead of taking current date by default 2013-08-23 08:43:12 +02:00
unknown
c25fd63e02 [TYPOS] 2013-02-28 13:48:45 +01:00
unknown
3d69fbdf1e [ADD] voucher killer addons. 2013-02-14 12:31:45 +01:00