Skip to content

Commit

Permalink
[FIX] resource_multi_week_calendar: Hide hours_per_day on parent cale…
Browse files Browse the repository at this point in the history
…ndar

Signed-off-by: Carmen Bianca BAKKER <[email protected]>
  • Loading branch information
carmenbianca committed Sep 9, 2024
1 parent 1bfbfb3 commit c12cc65
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
<attribute name="attrs" />
<attribute name="invisible">1</attribute>
</button>
<field name="hours_per_day" position="attributes">
<attribute
name="attrs"
>{'invisible': [('child_calendar_ids', '!=', [])]}</attribute>
</field>
<group name="resource_details" position="inside">
<group name="multi_week">
<!-- TODO: Should this be readonly? If it is, you cannot add
Expand Down

0 comments on commit c12cc65

Please sign in to comment.