[FIX] hr_maintenance: maintenance equipment kanban view

The xpath was wrongly replacing the 'owner_user_id' field before the
kanban templates definition (which isn't displayed in the view).

closes odoo/odoo#53459

X-original-commit: b63043e36702046000aedf3f1f934122d51ef441
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
Victor Feyens
2020-06-22 16:48:12 +00:00
parent b5806ea355
commit 000a329f8f
@@ -98,7 +98,7 @@
<field name="employee_id"/>
<field name="department_id"/>
</xpath>
<xpath expr="//field[@name='owner_user_id']" position='replace'>
<xpath expr="//templates//field[@name='owner_user_id']" position='replace'>
<field name="employee_id" widget="many2one_avatar_employee"/>
</xpath>
<div t-if="record.serial_no.raw_value" position='after'>