Skip to content

Commit

Permalink
[FIX] hr: remove footer buttons on My Profile
Browse files Browse the repository at this point in the history
The "Save" / "Cancel" buttons were wrongly showing on the "My Profile"
page.

closes odoo#78820

Taskid: 2675313
Signed-off-by: Kevin Baptiste <kba@odoo.com>
  • Loading branch information
Kevin Baptiste committed Oct 26, 2021
1 parent 083a377 commit 71e59f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions addons/hr/views/res_users.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
<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 71e59f4

Please sign in to comment.