[REF] pms_api_rest: changed the number of messages in the service by the message_needaction_counter field

This commit is contained in:
braisab
2022-04-25 11:04:59 +02:00
committed by Darío Lodeiros
parent 48f0a3ed7c
commit a5f78d94e3

View File

@@ -74,7 +74,7 @@ class PmsCalendarService(Component):
== line.date,
totalPrice=line.reservation_id.price_total,
pendingPayment=line.reservation_id.folio_pending_amount,
numNotifications=len(line.reservation_id.message_ids),
numNotifications=line.reservation_id.message_needaction_counter,
adults=line.reservation_id.adults,
nextLineSplitted=next_line_splitted,
previousLineSplitted=previous_line_splitted,