- fusion_claims: separated field service logic, updated controllers/views - fusion_tasks: updated task views and map integration - fusion_authorizer_portal: added page 11 signing, schedule booking, migrations - fusion_shipping: new standalone shipping module (Canada Post, FedEx, DHL, Purolator) - fusion_ltc_management: new standalone LTC management module
29 lines
829 B
Python
29 lines
829 B
Python
# -*- coding: utf-8 -*-
|
|
# Copyright 2024-2026 Nexa Systems Inc.
|
|
# License OPL-1 (Odoo Proprietary License v1.0)
|
|
|
|
from odoo import models, fields
|
|
|
|
|
|
class ResPartner(models.Model):
|
|
_inherit = 'res.partner'
|
|
|
|
# ==========================================================================
|
|
# 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',
|
|
)
|