This commit is contained in:
gsinghpal
2026-02-24 01:18:44 -05:00
parent e8e554de95
commit f85658c03a
41 changed files with 4440 additions and 119 deletions

View File

@@ -76,6 +76,25 @@ class ResPartner(models.Model):
store=True,
)
# ==========================================================================
# LTC FIELDS
# ==========================================================================
x_fc_ltc_facility_id = fields.Many2one(
'fusion.ltc.facility',
string='LTC Home',
tracking=True,
help='Long-Term Care Home this resident belongs to',
)
x_fc_ltc_room_number = fields.Char(
string='Room Number',
tracking=True,
)
x_fc_ltc_family_contact_ids = fields.One2many(
'fusion.ltc.family.contact',
'partner_id',
string='Family Contacts',
)
@api.depends('x_fc_contact_type')
def _compute_is_odsp_office(self):
for partner in self: