diff options
| author | Laurent Smet <las@openerp.com> | 2018-09-20 17:11:52 +0200 |
|---|---|---|
| committer | qdp-odoo <qdp@odoo.com> | 2018-09-20 17:11:52 +0200 |
| commit | 7053ae782887c389ab8fcd8f4e832b46287e2efb (patch) | |
| tree | 025c4ec98c6ef61625e87d024ce1c7541e0c63ed /addons/account/data | |
| parent | e19ecefa8e78b9369fa8274c879e61799f743a06 (diff) | |
[IMP] account: management of reconciliation rules
Bank statement lines need to be matched with entries; We have to automate this operation as much as possible.
At the same time, create an algorithm that fit everyone needs is quite impossible.
For that reason we will let users choose the rules they want with the improvement of reconciliation models.
Note that we did it only for bank statement reconliation, not for manual reconciliations.
Was task: 1877375
Was PR #26669
Diffstat (limited to 'addons/account/data')
| -rw-r--r-- | addons/account/data/account_data.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/addons/account/data/account_data.xml b/addons/account/data/account_data.xml index bd2c6a8d683..4381b3b14f9 100644 --- a/addons/account/data/account_data.xml +++ b/addons/account/data/account_data.xml @@ -182,5 +182,19 @@ <field name="state">code</field> <field name="code">action = records.action_share()</field> </record> + + <!-- Account Reconciliation Models + Create a default rule for the reconciliation widget matching invoices automatically. + --> + <record id="reconciliation_model_default_rule" model="account.reconcile.model"> + <field name="name">Invoices Matching Rule</field> + <field name="sequence">1</field> + <field name="rule_type">invoice_matching</field> + <field name="auto_reconcile" eval="False"/> + <field name="match_nature">both</field> + <field name="match_same_currency" eval="True"/> + <field name="match_total_amount" eval="True"/> + <field name="match_total_amount_param" eval="100"/> + </record> </data> </odoo> |
