mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms_api_rest: added avail plan rule id to avail plan rule service and datamodele
This commit is contained in:
@@ -26,6 +26,7 @@ class PmsAvailabilityPlanRuleInfo(Datamodel):
|
||||
quota = fields.Integer(required=False, allow_none=True)
|
||||
maxAvailability = fields.Integer(required=False, allow_none=True)
|
||||
pmsPropertyId = fields.Integer(required=False, allow_none=True)
|
||||
availabilityPlanId = fields.Integer(required=False, allow_none=True)
|
||||
|
||||
|
||||
class PmsAvailabilityPlanRulesInfo(Datamodel):
|
||||
|
||||
@@ -20,6 +20,7 @@ class PmsPricelistItemInfo(Datamodel):
|
||||
pricelistId = fields.Integer(required=False, allow_none=True)
|
||||
pmsPropertyId = fields.Integer(required=False, allow_none=True)
|
||||
|
||||
|
||||
class PmsPricelistItemsInfo(Datamodel):
|
||||
_name = "pms.pricelist.items.info"
|
||||
pricelistItems = fields.List(NestedModel("pms.pricelist.item.info"))
|
||||
|
||||
Reference in New Issue
Block a user