Skip to content

Commit

Permalink
[FIX] resource_booking: depends on web_calendar_slot_duration
Browse files Browse the repository at this point in the history
  • Loading branch information
norlinhenrik committed Nov 5, 2023
1 parent 7921fe3 commit e35d039
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions resource_booking/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"mail",
"portal",
"resource",
"web_calendar_slot_duration",
],
"data": [
"data/mail.xml",
Expand Down
2 changes: 1 addition & 1 deletion resource_booking/models/resource_booking_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def action_open_bookings(self):
default_type_id=self.id,
# Context used by web_calendar_slot_duration module
calendar_slot_duration=FloatTimeParser.value_to_html(
self.duration, False
self.slot_duration, False
),
),
"domain": [("type_id", "=", self.id)],
Expand Down

0 comments on commit e35d039

Please sign in to comment.