Files
odoo_source/addons/l10n_fr/data/account_reconcile_model_template.xml
T
wan 30cf7bc798 [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>
2019-12-04 08:37:19 +00:00

17 lines
689 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
@author: Alexis de Lattre <alexis.delattre@akretion.com>
-->
<odoo>
<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_string">100</field>
</record>
</odoo>