[IMP] pms_api_rest: change domain and filter in get invoices and add ref field in invoice datamodel

This commit is contained in:
Sara Lago
2023-03-06 17:51:34 +01:00
committed by Darío Lodeiros
parent fa55bba9c1
commit a212ce3607
2 changed files with 15 additions and 4 deletions

View File

@@ -38,6 +38,7 @@ class PmsAccountInvoiceInfo(Datamodel):
# create downpayment invoices from payments
originDownPaymentId = fields.Integer(required=False, allow_none=True)
originAgencyId = fields.Integer(required=False, allow_none=True)
ref = fields.String(required=False, allow_none=True)
class PmsInvoiceResults(Datamodel):
_name = "pms.invoice.results"