Skip to content

Commit

Permalink
[FIX]connector_pms_wubook: call get_room_type_capacity with ...pms_pr…
Browse files Browse the repository at this point in the history
…operty_id.id
  • Loading branch information
DarioLodeiros committed Apr 17, 2024
1 parent d98d1f8 commit 67d842e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def item(self, record):
values[
"price"
] += board_service_default.amount * room_type.get_room_type_capacity(
pms_property_id=record.backend_id.pms_property_id
pms_property_id=record.backend_id.pms_property_id.id
)
binder = self.binder_for("channel.wubook.pms.room.type")
external_id = binder.to_external(room_type, wrap=True)
Expand Down

0 comments on commit 67d842e

Please sign in to comment.