[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user