[FIX] l10n_in: fix the xpath

Currently, there is traceback while installing the l10n_in module
due to the wrong xpath.

So in this commit, fix the xpath and added the l10n_in_code inside
the uom_ids's tree view instead of uom category.

closes odoo/odoo#70157

Taskid: 2515007
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
bbh-odoo
2021-05-05 07:18:17 +00:00
committed by Barad Mahendra
parent 5fd86a5c9f
commit 48230c4744
+2 -2
View File
@@ -16,9 +16,9 @@
<field name="model">uom.category</field>
<field name="inherit_id" ref="uom.product_uom_categ_form_view"/>
<field name="arch" type="xml">
<field name="name" position="after">
<xpath expr="//field[@name='uom_ids']/tree/field[@name='name']" position="after">
<field name="l10n_in_code"/>
</field>
</xpath>
</field>
</record>
</odoo>