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

20 lines
845 B
XML
Raw Permalink Normal View History

2025-01-06 10:57:38 +07:00
<?xml version="1.0"?>
<odoo>
<!-- Activity types config -->
<record id="mail_activity_type_action_config_hr_holidays" model="ir.actions.act_window">
<field name="name">Activity Types</field>
<field name="res_model">mail.activity.type</field>
<field name="view_mode">list,kanban,form</field>
<field name="domain">['|', ('res_model', '=', False), ('res_model', 'in', ['hr.leave', 'hr.leave.allocation'])]</field>
<field name="context">{'default_res_model': 'hr.leave'}</field>
<field name="help" type="html">
<p class="o_view_nocontent_empty_folder">
No data to display
</p>
<p>
Try to add some records, or make sure that there is no active filter in the search bar.
</p>
</field>
</record>
</odoo>