Commit Graph

38 Commits

Author SHA1 Message Date
Guewen Baconnier
1f5fbca723 Put the field transaction_id in the group 'sale_pay'
Add the field inside the group instead of after a field.  In another module, I
add a button right after 'payment_term' and it must be right after it.  Adding
the field in the group prevent it to be placed between the payment_term field
and the button.
2015-03-16 11:19:14 +01:00
Alexandre Fayolle
0c179d85d9 Add OCA as author of OCA addons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
2015-03-02 17:23:22 +01:00
Lorenzo Battistini
5632c37374 [FIX] missing call to super (finalize_invoice_move_lines) 2015-01-05 14:15:52 +01:00
Pedro M. Baeza
f6066625be Merge pull request #71 from guewen/8.0-base_transaction_id-display-ref
Display the transaction ref in the bank statement reconciliation view
2014-12-11 14:22:08 +01:00
Guewen Baconnier
49b9fe0ffb Display the transaction ref in the bank statement reconciliation view
Now, only the name and the ref are displayed. Mostly useful with
https://github.com/OCA/bank-statement-reconcile/pull/54
2014-12-03 15:36:26 +01:00
Guewen Baconnier
842c3ddabc Singular of criteria: criterion 2014-12-03 14:14:44 +01:00
Guewen Baconnier
1b38e23d82 Allow the new bank statement reconciliation to search in transaction_ref
Require https://github.com/odoo/odoo/pull/3025 to be merged to work!
2014-10-20 16:43:51 +02:00
Guewen Baconnier
d755a24b45 Add the transaction ref field to the form view of the move lines 2014-10-09 10:17:53 +02:00
Guewen Baconnier
977bb3c7cf Update translations, add fr translation 2014-10-09 09:51:03 +02:00
Guewen Baconnier
deae01e3e9 Cleaning of the views 2014-10-09 09:30:40 +02:00
Guewen Baconnier
4c2861383e Indent xml with 2 spaces 2014-10-09 09:24:41 +02:00
Guewen Baconnier
7400dd1946 Some cleaning 2014-10-09 09:20:39 +02:00
Guewen Baconnier
b09cdf8a80 Empty the transaction id of a sale order on copy 2014-10-09 09:20:04 +02:00
Guewen Baconnier
9228bb0a68 Avoid to write 2 times on the invoice by using the method that prepare
the values before the write
2014-10-09 09:12:24 +02:00
Guewen Baconnier
0630827efb The module now depends on 'sale_stock' and 'stock_account' 2014-10-09 08:56:32 +02:00
Guewen Baconnier
6a4e50fc7d Use the new api for account.invoice as the base model use it 2014-10-08 16:25:58 +02:00
Guewen Baconnier
ab970ee3ad Use the 'data' key instead of 'update_xml' 2014-10-08 16:13:54 +02:00
Guewen Baconnier
6cd444d760 Set base_transaction_id as installable 2014-10-08 16:12:18 +02:00
Guewen Baconnier
043b2cb1d2 Move base_transaction_id from __unported__ to root folder 2014-10-08 16:11:06 +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
9922f72b16 the transaction id is copied only on account move lines having the same account than the invoice's one (the payable / receivable) 2014-03-05 10:03:44 +01:00
Pedro M. Baeza
1f11041736 [IMP] Translation template files. 2014-01-21 13:07:34 +01:00
Guewen Baconnier
b09e32f56a copy the transaction_ref to the move lines from the invoice 2014-01-17 14:32:52 +01:00
Guewen Baconnier
333ad71aa2 [ADD] account_move_line.transaction_ref field in base_transaction_id 2014-01-16 14:07:19 +01: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
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
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
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
Joël Grand-Guillaume
523093e2a2 [IMP] Merge treasury statement into bank.statement object. We don't need both finaly
(lp:c2c-financial-addons/6.1 rev 24.1.15)
2012-06-08 16:25:17 +02:00
Joël Grand-Guillaume
5d32afb787 [IMP] Quite a huge work on the new intermediate statement stuff as well as on the automatic reconciliation wizard.
(lp:c2c-financial-addons/6.1 rev 24.1.10)
2012-05-30 16:08:58 +02:00
Joël Grand-Guillaume
343f07cdef [IMP] First commit for improving the bank statement with treasury (not working yet, just for backup)
(lp:c2c-financial-addons/6.1 rev 24.1.8)
2012-05-16 16:09:21 +02:00
Yannick Vaucher
51493fd030 [ADD] mod base_transaction_id
(lp:c2c-financial-addons/6.1 rev 24.1.5)
2012-05-15 13:52:10 +02:00