[REF]pms_api_rest: change in get_partner domain and add invoice_month_day and invoice_to_agency fields

This commit is contained in:
braisab
2022-10-04 18:13:05 +02:00
committed by Darío Lodeiros
parent c4b459f7d6
commit 428e8c3870
2 changed files with 127 additions and 59 deletions

View File

@@ -43,8 +43,6 @@ class PmsPartnerInfo(Datamodel):
stateId = fields.Integer(required=False, allow_none=True)
countryId = fields.Integer(required=False, allow_none=True)
residenceCountryId = fields.Integer(required=False, allow_none=True)
tagIds = fields.List(fields.Integer(required=False, allow_none=True))
website = fields.String(required=False, allow_none=True)
vatNumber = fields.String(required=False, allow_none=True)
vatDocumentType = fields.String(required=False, allow_none=True)
comment = fields.String(required=False, allow_none=True)
@@ -57,3 +55,5 @@ class PmsPartnerInfo(Datamodel):
commission = fields.Integer(required=False, allow_none=True)
invoicingPolicy = fields.String(required=False, allow_none=True)
daysAutoInvoice = fields.Integer(required=False, allow_none=True)
invoicingMonthDay = fields.Integer(required=False, allow_none=True)
invoiceToAgency = fields.String(required=False, allow_none=True)