[FIX] hr: avoid <footer> not found error in view

closes odoo/odoo#80554

X-original-commit: fc5ae487fc178d43c487271d174e27d060b56d1d
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
Miquel Raïch
2021-12-08 11:17:15 +00:00
parent 341ad3f4dd
commit 70ae1cf628
+3 -1
View File
@@ -12,7 +12,9 @@
<field name="inherit_id" ref="base.view_users_form_simple_modif"/>
<field name="mode">primary</field>
<field name="arch" type="xml">
<footer position="replace"/>
<footer position="attributes">
<attribute name="invisible">1</attribute>
</footer>
<h1 position="replace"/>
<xpath expr="//field[@name='image_1920']" position="replace"/>
<xpath expr="//field[@name='company_id']" position="attributes">