summaryrefslogtreecommitdiff
path: root/addons/l10n_in/data
diff options
context:
space:
mode:
authorRohan Patel <rop@odoo.com>2016-12-30 11:48:17 +0530
committerPierre Masereel <pim@odoo.com>2017-02-06 11:24:20 +0100
commit319789900e703bebc8f2897a6ceb6dd1425ee727 (patch)
treeff7995e72b2dcd18480f0bb10cef9c4803c55b64 /addons/l10n_in/data
parent75895ae9f774cc45e059ff5189cc8fb0deee7a4a (diff)
[FIX] l10n_in: traceback when installing indian accounting module
There was a traceback error while installing the indian accounting module. The commit 9c77467f07c351b35035f3d75e4abf274e901c51 shouldn't have been forwarded. This cancels some account tag ids modifications from the commit 500b73323d3bdd4eb59649d2db8864f8c2e8b9fa. (this commit refactors the account tag id numbering) This implies that some st_tag_in_[0-9]* point to an old references that no longer exist and return an error. To fix this problem, we replaced the old(canceled) account tag reference by those after the refactoring in saas-14.
Diffstat (limited to 'addons/l10n_in/data')
-rw-r--r--addons/l10n_in/data/account_tax_template_data.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/l10n_in/data/account_tax_template_data.xml b/addons/l10n_in/data/account_tax_template_data.xml
index 48d06ad2f3f..92cb1e45eb0 100644
--- a/addons/l10n_in/data/account_tax_template_data.xml
+++ b/addons/l10n_in/data/account_tax_template_data.xml
@@ -484,7 +484,7 @@
<field name="account_id" ref="p11232"/>
<field name="refund_account_id" ref="p20011"/>
<field name="chart_template_id" ref="indian_chart_template_standard"/>
- <field name="tag_ids" eval="[(6, 0, [ref('st_tag_in_33'), ref('st_tag_in_74')])]"/>
+ <field name="tag_ids" eval="[(6, 0, [ref('st_tag_in_26'), ref('st_tag_in_58')])]"/>
</record>
<!--output purchase tax-->
@@ -498,7 +498,7 @@
<field name="account_id" ref="p10050"/>
<field name="refund_account_id" ref="p2107"/>
<field name="chart_template_id" ref="indian_chart_template_standard"/>
- <field name="tag_ids" eval="[(6, 0, [ref('st_tag_in_22'), ref('st_tag_in_67')])]"/>
+ <field name="tag_ids" eval="[(6, 0, [ref('st_tag_in_51'), ref('st_tag_in_15')])]"/>
</record>
<record id="output_tax_12" model="account.tax.template">
<field name="name">(standard)Output Purchase Tax @ 12%</field>
@@ -510,7 +510,7 @@
<field name="account_id" ref="p10050"/>
<field name="refund_account_id" ref="p2107"/>
<field name="chart_template_id" ref="indian_chart_template_standard"/>
- <field name="tag_ids" eval="[(6, 0, [ref('st_tag_in_19'), ref('st_tag_in_64')])]"/>
+ <field name="tag_ids" eval="[(6, 0, [ref('st_tag_in_12'), ref('st_tag_in_48')])]"/>
</record>
<record id="output_tax_4" model="account.tax.template">
<field name="name">(standard)Output Purchase Tax @ 4%</field>