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

@@ -16,6 +16,32 @@
<field name="x_fc_contact_type" placeholder="Select contact type..."/>
</xpath>
<!-- LTC section in notebook -->
<xpath expr="//notebook" position="inside">
<page string="LTC Home" name="ltc_info"
invisible="x_fc_contact_type not in ('long_term_care_home',)">
<group string="LTC Facility Information">
<group>
<field name="x_fc_ltc_facility_id"/>
<field name="x_fc_ltc_room_number"/>
</group>
</group>
<group string="Family Contacts">
<field name="x_fc_ltc_family_contact_ids" nolabel="1">
<list editable="bottom">
<field name="name"/>
<field name="relationship"/>
<field name="phone"/>
<field name="phone2"/>
<field name="email"/>
<field name="is_poa"/>
<field name="notes" optional="hide"/>
</list>
</field>
</group>
</page>
</xpath>
<!-- ODSP section in notebook -->
<xpath expr="//notebook" position="inside">
<page string="ODSP" name="odsp_info"
@@ -71,6 +97,8 @@
domain="[('x_fc_contact_type', 'in', ['odsp_customer', 'adp_odsp_customer'])]"/>
<filter name="filter_odsp_office" string="ODSP Offices"
domain="[('x_fc_contact_type', '=', 'odsp_office')]"/>
<filter name="filter_ltc_home" string="LTC Homes"
domain="[('x_fc_contact_type', '=', 'long_term_care_home')]"/>
</xpath>
</field>
</record>