mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[REF] pms_api_rest: changed the number of messages in the service by the message_needaction_counter field
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user