diff --git a/pms/models/pms_property.py b/pms/models/pms_property.py
index 51de42f5c..40d9728bc 100644
--- a/pms/models/pms_property.py
+++ b/pms/models/pms_property.py
@@ -38,6 +38,12 @@ class PmsProperty(models.Model):
index=True,
ondelete="restrict",
)
+ parent_id = fields.Many2one(
+ comodel_name="pms.property", string="Parent Property", index=True
+ )
+ child_ids = fields.One2many(
+ comodel_name="pms.property", inverse_name="parent_id", string="Child Properties"
+ )
pms_property_code = fields.Char(
string="Property Code",
help="Short name property",
diff --git a/pms/views/pms_folio_views.xml b/pms/views/pms_folio_views.xml
index 1649218ae..c20f098ef 100644
--- a/pms/views/pms_folio_views.xml
+++ b/pms/views/pms_folio_views.xml
@@ -822,6 +822,7 @@
string="Property"
enable_counters="1"
icon="fa-h-square"
+ domain="[('company_id', '=', company_id)]"
/>
+