summaryrefslogtreecommitdiff
path: root/addons/l10n_fr
diff options
context:
space:
mode:
authorwan <wan@odoo.com>2019-08-06 07:02:07 +0000
committerwan <wan@odoo.com>2019-12-04 08:37:19 +0000
commit30cf7bc798ddede8e610001146f4a76352aa582f (patch)
treeb7be7f8370a56e20b8b43caec56e861bcf89ef61 /addons/l10n_fr
parent363959784e7ed86973c03ab91e6b1976456e5104 (diff)
[IMP] account: add account.reconcile.model.line
Task 2046908 Instead of having all the fields duplicated with second_*, we have now a o2m allowing us to * have more than 2 lines * reduce duplicated code * fix bugs and add features at only one place We also remove the computation of writeoff and suggestions from the client side as some code was 4-upled before (twice in in client and twice in server side). The logic is now only at one place. closes odoo/odoo#38119 Related: odoo/enterprise#6324 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Diffstat (limited to 'addons/l10n_fr')
-rw-r--r--addons/l10n_fr/data/account_reconcile_model_template.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/addons/l10n_fr/data/account_reconcile_model_template.xml b/addons/l10n_fr/data/account_reconcile_model_template.xml
index d098a0c1c2d..edee1e908eb 100644
--- a/addons/l10n_fr/data/account_reconcile_model_template.xml
+++ b/addons/l10n_fr/data/account_reconcile_model_template.xml
@@ -6,8 +6,11 @@
<record id="bank_charges_reconcile_model" model="account.reconcile.model.template">
<field name="chart_template_id" ref="l10n_fr_pcg_chart_template"/>
<field name="name">Frais bancaires</field>
+ </record>
+ <record id="bank_charges_reconcile_model_line" model="account.reconcile.model.line.template">
+ <field name="model_id" ref="l10n_fr.bank_charges_reconcile_model"/>
<field name="account_id" ref="pcg_6278"/>
<field name="amount_type">percentage</field>
- <field name="amount">100</field>
+ <field name="amount_string">100</field>
</record>
</odoo>