mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
16 lines
510 B
Python
16 lines
510 B
Python
from marshmallow import fields
|
|
|
|
from odoo.addons.datamodel.core import Datamodel
|
|
|
|
|
|
class PmsCancelationRuleSearchParam(Datamodel):
|
|
_name = "pms.cancelation.rule.search.param"
|
|
pricelistId = fields.Integer(required=False, allow_none=True)
|
|
pmsPropertyId = fields.String(required=False, allow_none=True)
|
|
|
|
|
|
class PmsCancelationRuleInfo(Datamodel):
|
|
_name = "pms.cancelation.rule.info"
|
|
id = fields.Integer(required=True, allow_none=False)
|
|
name = fields.String(required=True, allow_none=False)
|