Files
pms/pms_api_rest/datamodels/pms_transaction_report.py
2024-04-22 17:24:59 +02:00

17 lines
578 B
Python

from marshmallow import fields
from odoo.addons.datamodel.core import Datamodel
class PmsTransactionReportSearchParam(Datamodel):
_name = "pms.transaction.report.search.param"
dateFrom = fields.String(required=False, allow_none=True)
dateTo = fields.String(required=False, allow_none=True)
pmsPropertyId = fields.Integer(required=False, allow_none=True)
class PmsTransactionReportInput(Datamodel):
_name = "pms.transaction.report"
fileName = fields.String(required=False, allow_none=True)
binary = fields.String(required=False, allow_none=True)