mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
17 lines
543 B
Python
17 lines
543 B
Python
from marshmallow import fields
|
|
|
|
from odoo.addons.datamodel.core import Datamodel
|
|
|
|
|
|
class PmsUbicationSearchParam(Datamodel):
|
|
_name = "pms.ubication.search.param"
|
|
name = fields.String(required=False, allow_none=True)
|
|
pmsPropertyIds = fields.List(fields.Integer(), required=False)
|
|
|
|
|
|
class PmsUbicationInfo(Datamodel):
|
|
_name = "pms.ubication.info"
|
|
id = fields.Integer(required=False, allow_none=True)
|
|
name = fields.String(required=False, allow_none=True)
|
|
pmsPropertyIds = fields.List(fields.Integer(), required=False)
|