summaryrefslogtreecommitdiff
path: root/addons/l10n_ar
diff options
context:
space:
mode:
authorKatherine Zaoral <kz@adhoc.com.ar>2020-08-12 21:30:48 +0000
committerKatherine Zaoral <kz@adhoc.com.ar>2020-08-12 21:30:48 +0000
commit8793d402117f0c3f3b0e057c0264254aea41479c (patch)
treef9331f154082a7b896b1466e12db91f14eea0317 /addons/l10n_ar
parentfdb23e282b90ad95e4f909f7232eb0aa36038836 (diff)
[FIX] l10n_ar: be able to install demo data
For some reason odoo is not copying the expense_currency_exchange_account_id and income_currency_exchange_account_id from the partner chart template. In order to avoid errors in the demo we explicitly define this accounts in the exempt and responsable inscripto chart templates. closes odoo/odoo#55831 Signed-off-by: Josse Colpaert <jco@openerp.com>
Diffstat (limited to 'addons/l10n_ar')
-rw-r--r--addons/l10n_ar/data/account_chart_template_data2.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/l10n_ar/data/account_chart_template_data2.xml b/addons/l10n_ar/data/account_chart_template_data2.xml
index b592636b596..517c1a34f79 100644
--- a/addons/l10n_ar/data/account_chart_template_data2.xml
+++ b/addons/l10n_ar/data/account_chart_template_data2.xml
@@ -15,10 +15,14 @@
<record id="l10nar_ex_chart_template" model="account.chart.template">
<field name="default_pos_receivable_account_id" ref="base_deudores_por_ventas_pos"/>
+ <field name="expense_currency_exchange_account_id" ref="base_diferencias_de_cambio"/>
+ <field name="income_currency_exchange_account_id" ref="base_diferencias_de_cambio"/>
</record>
<record id="l10nar_ri_chart_template" model="account.chart.template">
<field name="default_pos_receivable_account_id" ref="base_deudores_por_ventas_pos"/>
+ <field name="expense_currency_exchange_account_id" ref="base_diferencias_de_cambio"/>
+ <field name="income_currency_exchange_account_id" ref="base_diferencias_de_cambio"/>
</record>
</odoo>