Skip to content

Commit

Permalink
[FIX] hr: avoid <footer> not found error in view
Browse files Browse the repository at this point in the history
  • Loading branch information
MiquelRForgeFlow committed Nov 29, 2021
1 parent a345d2f commit b8d215c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions addons/hr/views/res_users.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down Expand Up @@ -41,9 +43,6 @@
<attribute name="create">false</attribute>
<attribute name="js_class">hr_employee_profile_form</attribute>
</form>
<footer position="attributes">
<attribute name="invisible">1</attribute>
</footer>
<notebook position="replace">
<field name="hr_presence_state" invisible="1"/>
<header>
Expand Down

0 comments on commit b8d215c

Please sign in to comment.