mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP] pms_api_rest: add property on domain in get_invoices
This commit is contained in:
committed by
Darío Lodeiros
parent
56eaef7335
commit
f2d9d0ee05
@@ -12,6 +12,7 @@ class PmsInvoiceSearchParam(Datamodel):
|
||||
paymentState = fields.String(required=False, allow_none=True)
|
||||
dateStart = fields.String(required=False, allow_none=True)
|
||||
dateEnd = fields.String(required=False, allow_none=True)
|
||||
pmsPropertyId = fields.Integer(required=False, allow_none=True)
|
||||
|
||||
class PmsAccountInvoiceInfo(Datamodel):
|
||||
_name = "pms.invoice.info"
|
||||
@@ -39,6 +40,7 @@ class PmsAccountInvoiceInfo(Datamodel):
|
||||
originDownPaymentId = fields.Integer(required=False, allow_none=True)
|
||||
originAgencyId = fields.Integer(required=False, allow_none=True)
|
||||
ref = fields.String(required=False, allow_none=True)
|
||||
pmsPropertyId = fields.Integer(required=False, allow_none=True)
|
||||
|
||||
class PmsInvoiceResults(Datamodel):
|
||||
_name = "pms.invoice.results"
|
||||
|
||||
Reference in New Issue
Block a user