mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] Wrong Fix. men is used for _all_ adults in the booked rooms
This commit is contained in:
@@ -99,8 +99,6 @@ class HotelReservationImporter(Component):
|
|||||||
split_booking, dates_checkin, dates_checkout, real_checkin, real_checkout, book):
|
split_booking, dates_checkin, dates_checkout, real_checkin, real_checkout, book):
|
||||||
is_cancellation = book['status'] in WUBOOK_STATUS_BAD
|
is_cancellation = book['status'] in WUBOOK_STATUS_BAD
|
||||||
tax_inclusive = True
|
tax_inclusive = True
|
||||||
# men = Number of adults (when not defined, equal to -1)
|
|
||||||
persons = book.get('men', -1) > -1 and book.get('men') or room_type_bind.ota_capacity
|
|
||||||
# Dates
|
# Dates
|
||||||
real_checkin_str = real_checkin.strftime(
|
real_checkin_str = real_checkin.strftime(
|
||||||
DEFAULT_SERVER_DATETIME_FORMAT)
|
DEFAULT_SERVER_DATETIME_FORMAT)
|
||||||
|
|||||||
Reference in New Issue
Block a user