Skip to content

Commit

Permalink
[FIX] hr_employee_calendar_planning: Hide resource_calendar_id even i…
Browse files Browse the repository at this point in the history
…f hr_contract is installed

TT54640
  • Loading branch information
victoralmau committed Jan 24, 2025
1 parent 9493dba commit b6fcdb9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hr_employee_calendar_planning/views/hr_employee_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<record id="view_employee_form" model="ir.ui.view">
<field name="model">hr.employee</field>
<field name="inherit_id" ref="hr.view_employee_form" />
<!-- It is necessary to set a high priority to avoid that if hr_contract
is installed later, the calendar is still hidden. !-->
<field name="priority">99</field>
<field name="arch" type="xml">
<field name="resource_calendar_id" position="attributes">
<attribute name="invisible">1</attribute>
Expand Down

0 comments on commit b6fcdb9

Please sign in to comment.