mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] HOT FIX guests in Booking.com reservations
This commit is contained in:
@@ -148,7 +148,7 @@ class HotelReservationImporter(Component):
|
||||
# Parse 'ancyllary' info
|
||||
if 'ancillary' in broom:
|
||||
if 'guests' in broom['ancillary']:
|
||||
persons = broom['ancillary']['guests']
|
||||
persons = min(broom['ancillary']['guests'], persons)
|
||||
if 'tax_inclusive' in broom['ancillary'] and not broom['ancillary']['tax_inclusive']:
|
||||
_logger.info("--- Incoming Reservation without taxes included!")
|
||||
tax_inclusive = False
|
||||
|
||||
Reference in New Issue
Block a user