[ADD]pms_api_rest: OTA API configurations

This commit is contained in:
Darío Lodeiros
2023-12-31 12:01:53 +01:00
parent b807d75744
commit a07aba7188
9 changed files with 137 additions and 7 deletions

View File

@@ -93,3 +93,10 @@ class PmsProperty(models.Model):
string="Hotel image",
store=True,
)
ota_property_settings_ids = fields.One2many(
string="OTA Property Settings",
help="OTA Property Settings",
comodel_name="ota.property.settings",
inverse_name="pms_property_id",
)