[IMP] hr_holidays: add placeholder in the responsible field of the timeoff type

In this commit we have added "Nobody will be notified" placeholder in
responsible of the leave type model.

task-3334478

closes odoo/odoo#122452

Signed-off-by: Kevin Baptiste <kba@odoo.com>
This commit is contained in:
utag-odoo
2023-05-31 13:08:03 +02:00
committed by Prakash Prajapati
parent df69ff4bbb
commit a5b8bb3bc3
@@ -65,6 +65,7 @@
<field name="leave_validation_type" string="Approval" widget="radio"/>
<field name="responsible_ids"
widget="many2many_tags"
placeholder="Nobody will be notified"
attrs="{
'invisible': [('leave_validation_type', 'in', ['no_validation', 'manager']), '|', ('requires_allocation', '=', 'no'), ('allocation_validation_type', '!=', 'officer')]}"/>
<field name="request_unit"/>