Files
Odoo-Modules/fusion_ltc_management/views/technician_task_views.xml
gsinghpal db4b9aa278 changes
2026-03-11 12:15:53 -04:00

18 lines
647 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Add facility_id to technician task form -->
<record id="view_technician_task_form_ltc" model="ir.ui.view">
<field name="name">fusion.technician.task.form.ltc</field>
<field name="model">fusion.technician.task</field>
<field name="inherit_id" ref="fusion_tasks.view_technician_task_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='priority']" position="after">
<field name="facility_id"
invisible="task_type != 'ltc_visit'"/>
</xpath>
</field>
</record>
</odoo>