Commit Graph

569 Commits

Author SHA1 Message Date
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
Launchpad Translations on behalf of banking-addons-team
39f3abc6be Launchpad automatic translations update. 2014-03-22 07:11:39 +00:00
Pedro M. Baeza
cf5baee19f [IMP] Translation template files. 2014-03-21 15:46:09 +01:00
unknown
47ea0ca32c [IMP] Add a group by bank statement in journal items search view to ease the reconciliation 2014-03-14 11:51:41 +01:00
unknown
ca4f39b3a8 [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) 2014-03-14 11:50:40 +01:00
unknown
496205218f [IMP] Add buttons to open unreconciled and partially reconciled items from a profile to easy the verification and controlling 2014-03-14 11:48:30 +01:00
Launchpad Translations on behalf of banking-addons-team
b519b1046d Launchpad automatic translations update. 2014-03-14 07:02:43 +00:00
Florian da Costa
a1d2a4806b [FIX] replace old naming of exception + simplify xpath expression to make it more portable 2014-03-13 16:44:34 +01:00
unknown
852aa06307 [fix] account_statement_ext: trigger related fields 2014-03-12 16:20:42 +01:00
Guewen Baconnier
376b9c9ac1 wrong model name 2014-03-10 13:40:48 +01:00
Leonardo Pistone
fb9f6f4c32 [imp] docstring for a function field trigger 2014-03-07 11:20:21 +01:00
Leonardo Pistone
063812d7c4 [fix] other related fields found in the statement 2014-03-06 18:14:44 +01:00
Leonardo Pistone
2c763f77eb [fix] account_statement_ext: trigger for a related field 2014-03-06 17:39:02 +01:00
unknown
3a3c9e9109 fix issue when creating empty statement (lp:1247876) and add a module which enables bank statement creation from the point of sale with the banking framework installed. 2014-03-06 11:48:37 +01:00
unknown
b4cb3abbeb [IMP] Allow to import xlsx files 2014-03-06 11:31:06 +01:00
unknown
9f965c1f04 [ADD] module account_statement_one_move 2014-03-06 10:57:18 +01:00