Odoo18-Base/addons/hr_holidays/views/calendar_views.xml

17 lines
761 B
XML
Raw Permalink Normal View History

2025-01-06 10:57:38 +07:00
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_calendar_event_form_inherit" model="ir.ui.view">
<field name="name">view.calendar.event.form.inherit</field>
<field name="model">calendar.event</field>
<field name="inherit_id" ref="calendar.view_calendar_event_form"/>
<field name="arch" type="xml">
<xpath expr="//label[@for='videocall_location']" position="attributes">
<attribute name="invisible">res_model == 'hr.leave'</attribute>
</xpath>
<xpath expr="//div[@name='videocall_location_div']" position="attributes">
<attribute name="invisible">res_model == 'hr.leave'</attribute>
</xpath>
</field>
</record>
</odoo>