mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms_api_rest: add services in reservation service and service lines service
This commit is contained in:
@@ -254,6 +254,11 @@ class PmsFolioService(Component):
|
||||
allowedCheckout=reservation.allowed_checkout,
|
||||
isSplitted=reservation.splitted,
|
||||
priceTotal=reservation.price_room_services_set,
|
||||
servicesCount=len(
|
||||
reservation.service_ids.filtered(
|
||||
lambda x: not x.is_board_service
|
||||
)
|
||||
),
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user