mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[imp] pms-api-rest: add fields capacity & room_type_class_id to planning service
This commit is contained in:
committed by
Darío Lodeiros
parent
2008354c49
commit
c19fb35d08
@@ -75,6 +75,8 @@ class PmsCalendarInfo(Datamodel):
|
||||
class PmsCalendarRenderInfo(Datamodel):
|
||||
_name = "pms.calendar.render.info"
|
||||
roomId = fields.Integer(required=True, allow_none=False)
|
||||
capacity = fields.Integer(required=True, allow_none=False)
|
||||
roomTypeClassId = fields.Integer(required=True, allow_none=False)
|
||||
roomTypeId = fields.Integer(required=True, allow_none=False)
|
||||
dates = fields.List(fields.Dict(required=True, allow_none=False))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user