[IMP]pms: new dummy state in checkin partner

This commit is contained in:
Darío Lodeiros
2022-06-29 11:36:25 +02:00
parent f9ef793fe7
commit 2c3412f65c
5 changed files with 62 additions and 20 deletions

View File

@@ -51,3 +51,9 @@ class PmsCheckinParnert(models.Model):
if depends or (country and country.code == CODE_SPAIN):
mandatory_fields.append("residence_state_id")
return mandatory_fields
@api.model
def _checkin_manual_fields(self, country=False, depends=False):
manual_fields = super(PmsCheckinParnert, self)._checkin_manual_fields(depends)
manual_fields.extend(["support_number"])
return manual_fields