4 <!-- Hr holidays Read/Unread actions -->
5 <record id="actions_server_holidays_unread" model="ir.actions.server">
6 <field name="name">Mark unread</field>
7 <field name="condition">True</field>
8 <field name="type">ir.actions.server</field>
9 <field name="model_id" ref="model_hr_holidays"/>
10 <field name="state">code</field>
11 <field name="code">self.message_check_and_set_unread(cr, uid, context.get('active_ids'), context=context)</field>
13 <record id="action_holidays_unread" model="ir.values">
14 <field name="name">action_holidays_unread</field>
15 <field name="action_id" ref="actions_server_holidays_unread"/>
16 <field name="value" eval="'ir.actions.server,' + str(ref('actions_server_holidays_unread'))" />
17 <field name="key">action</field>
18 <field name="model_id" ref="model_hr_holidays" />
19 <field name="model">hr.holidays</field>
20 <field name="key2">client_action_multi</field>
23 <record id="actions_server_holidays_read" model="ir.actions.server">
24 <field name="name">Mark read</field>
25 <field name="condition">True</field>
26 <field name="type">ir.actions.server</field>
27 <field name="model_id" ref="model_hr_holidays"/>
28 <field name="state">code</field>
29 <field name="code">self.message_check_and_set_read(cr, uid, context.get('active_ids'), context=context)</field>
31 <record id="action_holidays_read" model="ir.values">
32 <field name="name">action_holidays_read</field>
33 <field name="action_id" ref="actions_server_holidays_read"/>
34 <field name="value" eval="'ir.actions.server,' + str(ref('actions_server_holidays_read'))" />
35 <field name="key">action</field>
36 <field name="model_id" ref="model_hr_holidays" />
37 <field name="model">hr.holidays</field>
38 <field name="key2">client_action_multi</field>
41 <record id="view_hr_holidays_filter" model="ir.ui.view">
42 <field name="name">hr.holidays.filter</field>
43 <field name="model">hr.holidays</field>
44 <field name="type">search</field>
45 <field name="arch" type="xml">
46 <search string="Search Leave">
47 <field name="date_from"/>
48 <filter icon="terp-mail-message-new" string="Inbox" help="Unread messages" name="needaction_pending" domain="[('needaction_pending','=',True)]"/>
50 <filter icon="terp-check" domain="[('state','=','draft')]" string="To Confirm"/>
51 <filter icon="terp-camera_test" domain="[('state','=','confirm')]" string="To Approve" name="approve"/>
52 <filter icon="terp-camera_test" domain="[('state','=','validate')]" string="Validated" name="validated"/>
54 <filter icon="terp-go-year" name="year" string="Year" domain="[('holiday_status_id.active','=',True)]" help="Filters only on allocations and requests that belong to an holiday type that is 'active' (active field is True)"/>
56 <filter string="My Leaves" icon="terp-personal" name="my_leaves" domain="[('employee_id.user_id','=', uid)]" help="My Leaves"/>
58 <filter string="My Department Leaves" icon="terp-personal+" help="My Department Leaves" domain="[('department_id.manager_id','=',uid)]"/>
59 <field name="employee_id"/>
60 <field name="department_id"/>
61 <field name="holiday_status_id"/>
62 <group expand="0" string="Group By...">
63 <filter name="group_date_from" string="Start Date" icon="terp-personal" domain="[]" context="{'group_by':'date_from'}"/>
64 <filter name="group_employee" string="Employee" icon="terp-personal" domain="[]" context="{'group_by':'employee_id'}"/>
65 <filter name="group_category" string="Category" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'category_id'}"/>
66 <filter string="Manager" icon="terp-personal" domain="[]" context="{'group_by':'manager_id'}"/>
67 <filter string="Department" icon="terp-personal+" domain="[]" context="{'group_by':'department_id','set_visible':True}"/>
68 <filter name="group_type" string="Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'holiday_status_id'}"/>
69 <filter string="Status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
75 <!-- Holidays: Leave Request -->
77 <record id="view_holiday_new_calendar" model="ir.ui.view">
78 <field name="name">Leave Request</field>
79 <field name="model">hr.holidays</field>
80 <field name="type">calendar</field>
81 <field name="arch" type="xml">
82 <calendar string="Leave Request" color="user_id" date_start="date_from" date_stop="date_to">
83 <field name="user_id"/>
84 <field name="holiday_status_id"/>
89 <record model="ir.ui.view" id="edit_holiday_new">
90 <field name="name">Leave Request</field>
91 <field name="model">hr.holidays</field>
92 <field name="type">form</field>
93 <field name="priority">1</field>
94 <field name="arch" type="xml">
97 <button string="Submit to Manager" name="confirm" states="draft" type="workflow" class="oe_highlight"/>
98 <button string="Approve" name="validate" states="confirm" type="workflow" groups="base.group_hr_user" class="oe_highlight"/>
99 <button string="Validate" name="second_validate" states="validate1" type="workflow" groups="base.group_hr_user" class="oe_highlight"/>
100 <button string="Refuse" name="refuse" states="confirm,validate1" type="workflow" groups="base.group_hr_user,base.group_hr_manager" class="oe_highlight"/>
101 <button string="Reset to New" name="set_to_draft" states="refuse,validate" type="object" groups="base.group_hr_user" />
102 <field name="state" widget="statusbar" statusbar_visible="draft,confirm,validate" statusbar_colors='{"confirm":"blue","validate1":"blue","refuse":"red"}'/>
104 <sheet string="Leave Request">
107 <field name="name" attrs="{'readonly':[('state','!=','draft'),('state','!=','confirm')]}"/>
108 <field name="holiday_type" on_change="onchange_type(holiday_type)" attrs="{'readonly':[('state','!=','draft')]}" width="130" string="Mode" groups="base.group_hr_user"/>
109 <field name="employee_id" attrs="{'required':[('holiday_type','=','employee')],'invisible':[('holiday_type','=','category')]}" groups="base.group_hr_user"/>
110 <field name="category_id" attrs="{'required':[('holiday_type','=','category')], 'invisible':[('holiday_type','=','employee')], 'readonly':[('state','!=','draft'), ('state','!=','confirm')]}"/>
111 <field name="department_id" attrs="{'readonly':[('holiday_type','=','category')]}" groups="base.group_hr_user"/>
114 <field name="holiday_status_id" on_change="onchange_status_id(holiday_status_id)" context="{'employee_id':employee_id}"/>
115 <label for="number_of_days_temp" string="Duration"/>
117 <field name="date_from" on_change="onchange_date_from(date_to, date_from)" required="1" class="oe_inline"/> -
118 <field name="date_to" on_change="onchange_date_from(date_to, date_from)" required="1" class="oe_inline"/>
120 <field name="number_of_days_temp" class="oe_inline"/> days
125 <notebook colspan="4">
126 <page string="General">
129 <field name="manager_id" groups="base.group_no_one"/>
130 <field name="double_validation" invisible="1"/>
133 <field name="manager_id2" attrs="{'invisible':[('double_validation', '!=', True)]}" groups="base.group_no_one"/>
137 <field name="notes" nolabel="1" colspan="4" placeholder="Add a reason..."/>
141 <div class="oe_chatter">
142 <field name="message_ids" colspan="4" widget="mail_thread" nolabel="1"/>
148 <!-- Holidays: Allocation Request -->
149 <record model="ir.ui.view" id="allocation_leave_new">
150 <field name="name">Allocation Request</field>
151 <field name="model">hr.holidays</field>
152 <field name="type">form</field>
153 <field name="arch" type="xml">
154 <form string="Allocation Request" version="7.0">
156 <button string="Submit to Manager" name="confirm" states="draft" type="workflow" class="oe_highlight"/>
157 <button string="Approve" name="validate" states="confirm" type="workflow" groups="base.group_hr_user" class="oe_highlight"/>
158 <button string="Validate" name="second_validate" states="validate1" type="workflow" groups="base.group_hr_user" class="oe_highlight"/>
159 <button string="Refuse" name="refuse" states="confirm,validate1" type="workflow" groups="base.group_hr_user" class="oe_highlight"/>
160 <button string="Reset to New" name="set_to_draft" states="cancel,validate,refuse" type="object" groups="base.group_hr_user" />
161 <field name="state" widget="statusbar" statusbar_visible="draft,confirm,validate" statusbar_colors='{"confirm":"blue","validate1":"blue","refuse":"red"}'/>
167 <field name="holiday_type" on_change="onchange_type(holiday_type)" attrs="{'readonly':[('state','!=','draft')]}" string="Allocation Mode" groups="base.group_hr_manager"/>
168 <field name="employee_id" attrs="{'required':[('holiday_type','=','employee')], 'invisible':[('holiday_type','=','category')]}"/>
169 <field name="category_id" attrs="{'required':[('holiday_type','=','category')], 'readonly':[('state','!=','draft')], 'invisible':[('holiday_type','=','employee')]}"/>
170 <field name="department_id" attrs="{'readonly':['|', ('holiday_type','=','category'), ('state','not in' ,('draft', 'confirm'))]}"/>
173 <field name="holiday_status_id" on_change="onchange_status_id(holiday_status_id)" context="{'employee_id':employee_id}"/>
174 <field name="number_of_days_temp"/>
178 <page string="General">
180 <field name="double_validation" invisible="1"/>
181 <field name="manager_id"/>
182 <field name="manager_id2" attrs="{'invisible':[('double_validation', '!=', True)]}"/>
184 <field name="notes" placeholder="Add a reason..."/>
188 <div class="oe_chatter">
189 <field name="message_ids" colspan="4" widget="mail_thread" nolabel="1"/>
195 <record model="ir.ui.view" id="view_holiday_allocation_tree">
196 <field name="name">hr.holidays.allocation.tree</field>
197 <field name="model">hr.holidays</field>
198 <field name="type">tree</field>
199 <field name="arch" type="xml">
200 <tree fonts="bold:needaction_pending==True" colors="red:state == 'refuse';blue:state == 'draft';black:state in ('confirm','validate','validate1')" string="Allocation Requests">
201 <field name="needaction_pending" invisible="1"/>
202 <field name="employee_id"/>
203 <field name="holiday_type"/>
204 <field name="category_id"/>
205 <field name="department_id" invisible="1"/>
206 <field name="holiday_status_id"/>
208 <field name="number_of_days" string="Number of Days" sum="Remaining Days"/>
209 <field name="manager_id" invisible="1"/>
210 <field name="user_id" invisible="1"/>
211 <!--field name="type"/-->
212 <field name="state"/>
217 <!-- Holidays: Leaves Management -->
218 <record model="ir.ui.view" id="allocation_company_new">
219 <field name="name">Leaves Management</field>
220 <field name="model">hr.holidays</field>
221 <field name="type">form</field>
222 <field name="arch" type="xml">
223 <form string="Leaves Management" version="7.0">
225 <button string="Submit to Manager" name="confirm" states="draft" type="workflow" icon="gtk-yes"/>
226 <button string="Approve" name="validate" states="confirm" type="workflow" icon="gtk-apply"/>
227 <button string="Refuse" name="refuse" states="confirm,validate,draft" type="workflow" icon="gtk-no"/>
228 <button string="Reset to New" name="set_to_draft" states="cancel" type="object" icon="gtk-convert"/>
229 <field name="state"/>
233 <field name="holiday_status_id"/>
235 <field name="date_from" on_change="onchange_date_from(date_to, date_from)" attrs="{'readonly':[('type','=','add')], 'required':[('type','=','remove')]}"/>
236 <field name="date_to" on_change="onchange_date_from(date_to, date_from)" attrs="{'readonly':[('type','=','add')], 'required':[('type','=','remove')]}"/>
237 <field name="number_of_days_temp"/>
238 <field name="manager_id"/>
240 <field name="notes"/>
245 <record model="ir.ui.view" id="view_holiday_simple">
246 <field name="name">hr.holidays.report_tree</field>
247 <field name="model">hr.holidays</field>
248 <field name="type">tree</field>
249 <field name="priority">20</field>
250 <field name="arch" type="xml">
251 <tree fonts="bold:needaction_pending==True" colors="red:state == 'refuse';blue:state == ' draft';black:state in ('confirm','validate','validate1')" string="Leaves Summary">
252 <field name="needaction_pending" invisible="1"/>
253 <field name="employee_id"/>
254 <field name="category_id" invisible="1"/>
255 <field name="department_id" invisible="1"/>
258 <field name="number_of_days" string="Number of Days" sum="Remaining Days"/>
259 <field name="date_from"/>
260 <field name="date_to"/>
261 <field name="holiday_status_id"/>
262 <field name="manager_id" invisible="1"/>
263 <field name="user_id" invisible="1"/>
264 <field name="state"/>
270 <record model="ir.ui.view" id="view_holiday">
271 <field name="name">hr.holidays.tree</field>
272 <field name="model">hr.holidays</field>
273 <field name="type">tree</field>
274 <field name="arch" type="xml">
275 <tree fonts="bold:needaction_pending==True" colors="red:state == 'refuse';blue:state == ' draft';black:state in ('confirm','validate','validate1')" string="Leave Requests">
276 <field name="needaction_pending" invisible="1"/>
277 <field name="employee_id"/>
278 <field name="holiday_type" string="Mode" groups="base.group_hr_user"/>
280 <field name="date_from"/>
281 <field name="date_to"/>
282 <field name="number_of_days" string="Number of Days" sum="Remaining Days"/>
283 <field name="state"/>
284 <field name="category_id" invisible="1"/>
285 <field name="department_id" invisible="not context.get('set_visible',False)"/>
286 <field name="holiday_status_id" invisible="1"/>
287 <field name="manager_id" invisible="1"/>
288 <field name="user_id" invisible="1"/>
289 <!--field name="type"/-->
294 <menuitem name="Leaves" parent="hr.menu_hr_root" id="menu_open_ask_holidays" sequence="20"/>
296 <record model="ir.actions.act_window" id="open_ask_holidays">
297 <field name="name">Leave Requests</field>
298 <field name="res_model">hr.holidays</field>
299 <field name="view_type">form</field>
300 <field name="view_id" ref="edit_holiday_new"/>
301 <field name="context">{}</field>
302 <field name="domain">[('type','=','remove')]</field>
303 <field name="search_view_id" ref="view_hr_holidays_filter"/>
304 <field name="help">Leave requests can be recorded by employees and validated by their managers. Once a leave request is validated, it appears automatically in the agenda of the employee. You can define several allowance types (paid holidays, sickness, etc.) and manage allowances per type.</field>
307 <record model="ir.actions.act_window.view" id="action_open_ask_holidays_tree">
308 <field name="sequence" eval="2"/>
309 <field name="view_mode">tree</field>
310 <field name="view_id" ref="view_holiday"/>
311 <field name="act_window_id" ref="open_ask_holidays"/>
314 <record model="ir.actions.act_window.view" id="action_open_ask_holidays_form">
315 <field name="sequence" eval="3"/>
316 <field name="view_mode">form</field>
317 <field name="view_id" ref="edit_holiday_new"/>
318 <field name="act_window_id" ref="open_ask_holidays"/>
321 <record model="ir.actions.act_window.view" id="action_open_ask_holidays_calendar">
322 <field name="sequence" eval="1"/>
323 <field name="view_mode">calendar</field>
324 <field name="view_id" ref="view_holiday_new_calendar"/>
325 <field name="act_window_id" ref="open_ask_holidays"/>
328 <menuitem name="My Leave Requests" parent="menu_open_ask_holidays" id="menu_open_ask_holidays_new" action="open_ask_holidays"/>
330 <record model="ir.actions.act_window" id="request_approve_holidays">
331 <field name="name">Requests Approve</field>
332 <field name="res_model">hr.holidays</field>
333 <field name="view_type">form</field>
334 <field name="context">{'default_type': 'add', 'search_default_approve':1}</field>
335 <field name="domain">[('type','=','remove')]</field>
336 <field name="view_id" ref="edit_holiday_new"/>
337 <field name="search_view_id" ref="view_hr_holidays_filter"/>
340 <record model="ir.actions.act_window.view" id="action_request_approve_holidays_tree">
341 <field name="sequence" eval="1"/>
342 <field name="view_mode">tree</field>
343 <field name="view_id" ref="view_holiday"/>
344 <field name="act_window_id" ref="request_approve_holidays"/>
347 <record model="ir.actions.act_window.view" id="action_request_approve_holidays_form">
348 <field name="sequence" eval="2"/>
349 <field name="view_mode">form</field>
350 <field name="view_id" ref="edit_holiday_new"/>
351 <field name="act_window_id" ref="request_approve_holidays"/>
354 <menuitem name="Leave Requests to Approve" parent="menu_open_ask_holidays" id="menu_request_approve_holidays" action="request_approve_holidays" groups="base.group_hr_user"/>
356 <record model="ir.actions.act_window" id="open_allocation_holidays">
357 <field name="name">Allocation Requests</field>
358 <field name="res_model">hr.holidays</field>
359 <field name="view_type">form</field>
360 <field name="context">{'default_type':'add'}</field>
361 <field name="domain">[('type','=','add')]</field>
362 <field name="view_id" ref="allocation_leave_new"/>
363 <field name="search_view_id" ref="view_hr_holidays_filter"/>
366 <record model="ir.actions.act_window.view" id="action_open_allocation_holidays_tree">
367 <field name="sequence" eval="1"/>
368 <field name="view_mode">tree</field>
369 <field name="view_id" ref="view_holiday_allocation_tree"/>
370 <field name="act_window_id" ref="open_allocation_holidays"/>
373 <record model="ir.actions.act_window.view" id="action_open_allocation_holidays_form">
374 <field name="sequence" eval="2"/>
375 <field name="view_mode">form</field>
376 <field name="view_id" ref="allocation_leave_new"/>
377 <field name="act_window_id" ref="open_allocation_holidays"/>
380 <menuitem name="Allocation Requests" parent="menu_open_ask_holidays" id="menu_open_allocation_holidays" action="open_allocation_holidays"/>
382 <record model="ir.actions.act_window" id="open_company_allocation">
383 <field name="name">Leaves Summary</field>
384 <field name="res_model">hr.holidays</field>
385 <field name="view_type">form</field>
386 <field name="view_mode">tree,form</field>
387 <field name="view_id" eval="view_holiday_simple"/>
388 <field name="context">{'search_default_group_type': 1, 'search_default_validated': 1}</field>
389 <field name="domain">[('holiday_type','=','employee')]</field>
390 <field name="search_view_id" ref="view_hr_holidays_filter"/>
393 <menuitem name="Leaves Summary" parent="menu_open_ask_holidays" id="menu_open_company_allocation" action="open_company_allocation" sequence="40"/>
395 <!-- holidays status -->
396 <record id="view_holidays_status_filter" model="ir.ui.view">
397 <field name="name">hr.holidays.status.filter</field>
398 <field name="model">hr.holidays.status</field>
399 <field name="type">search</field>
400 <field name="arch" type="xml">
401 <search string="Search Leave Type">
402 <field name="name" string="Leave Types"/>
403 <field name="categ_id"/>
408 <record model="ir.ui.view" id="edit_holiday_status_form">
409 <field name="name">hr.holidays.status.form</field>
410 <field name="model">hr.holidays.status</field>
411 <field name="type">form</field>
412 <field name="arch" type="xml">
413 <form string="Leave Type" version="7.0">
416 <field name="categ_id"/>
419 <page string="Details">
421 <group name="selection" string="Validation">
422 <field name="double_validation"/>
423 <field name="limit"/>
425 <group name="second" string="Misc">
426 <field name="color_name"/>
427 <field name="active"/>
436 <record model="ir.ui.view" id="view_holiday_status_tree">
437 <field name="name">hr.holidays.status.tree</field>
438 <field name="model">hr.holidays.status</field>
439 <field name="type">tree</field>
440 <field name="arch" type="xml">
441 <tree string="Leave Type">
443 <field name="max_leaves"/>
444 <field name="leaves_taken"/>
445 <field name="remaining_leaves"/>
449 <record model="ir.ui.view" id="view_holiday_status_normal_tree">
450 <field name="name">hr.holidays.status.normal.tree</field>
451 <field name="model">hr.holidays.status</field>
452 <field name="type">tree</field>
453 <field name="priority">35</field>
454 <field name="arch" type="xml">
455 <tree string="Leave Type">
457 <field name="limit"/>
462 <record id="view_hr_holidays_status_search" model="ir.ui.view">
463 <field name="name">hr.holidays.status.search</field>
464 <field name="model">hr.holidays.status</field>
465 <field name="type">search</field>
466 <field name="arch" type="xml">
467 <search string="Leave Type">
468 <field name="name" string="Leave Types"/>
469 <field name="categ_id"/>
474 <record id="open_view_holiday_status" model="ir.actions.act_window">
475 <field name="name">Leave Type</field>
476 <field name="type">ir.actions.act_window</field>
477 <field name="res_model">hr.holidays.status</field>
478 <field name="view_type">form</field>
479 <field name="view_mode">tree,form</field>
480 <field name="view_id" eval="view_holiday_status_normal_tree"/>
481 <field name="search_view_id" ref="view_hr_holidays_status_search"/>
484 <menuitem sequence="3" id="hr.menu_open_view_attendance_reason_config" parent="hr.menu_hr_configuration" name="Leaves"/>
485 <menuitem name="Leave Type" action="open_view_holiday_status" id="menu_open_view_holiday_status" parent="hr.menu_hr_configuration" sequence="10" />
487 <!-- holiday on resource leave -->
488 <record id="resource_calendar_leave_form_inherit" model="ir.ui.view">
489 <field name="name">resource.calendar.leaves.form.inherit</field>
490 <field name="model">resource.calendar.leaves</field>
491 <field name="type">form</field>
492 <field name="inherit_id" ref="resource.resource_calendar_leave_form"/>
493 <field name="arch" type="xml">
494 <field name="name" position="after">
495 <field name="holiday_id"/>
501 <act_window name="Leaves" domain="[('type','=','remove')]" context="{'search_default_employee_id': [active_id], 'default_employee_id': active_id}" res_model="hr.holidays" src_model="hr.employee" view_id="view_holiday" id="act_hr_employee_holiday_request"/>
503 <!-- Assing leave -->
505 <record id="hr_holidays_leaves_assign_tree_view" model="ir.ui.view">
506 <field name="name">hr.employee.leave.tree</field>
507 <field name="model">hr.employee</field>
508 <field name="type">tree</field>
509 <field name="arch" type="xml">
510 <tree string="Assign Leaves" editable="bottom">
511 <field name="name" string="Employee"/>
512 <field name="remaining_leaves" string="Remaining Legal Leaves"/>
517 <record model="ir.actions.act_window" id="hr_holidays_leaves_assign_legal">
518 <field name="name">Allocate Leaves for Employees</field>
519 <field name="type">ir.actions.act_window</field>
520 <field name="res_model">hr.employee</field>
521 <field name="view_type">form</field>
522 <field name="view_mode">tree,form</field>
523 <field name="view_id" ref="hr_holidays_leaves_assign_tree_view"/>
524 <field name="help">You can assign remaining Legal Leaves for each employee, OpenERP will automatically create and validate allocation requests.</field>
527 <!-- Hr employee inherit Legal Leaves -->
529 <record id="view_employee_form_leave_inherit" model="ir.ui.view">
530 <field name="name">hr.employee.leave.form.inherit</field>
531 <field name="model">hr.employee</field>
532 <field name="type">form</field>
533 <field name="inherit_id" ref="hr.view_employee_form"/>
534 <field name="arch" type="xml">
535 <field name="active" position="before">
536 <label for="remaining_leaves"/>
538 <field name="remaining_leaves" class="oe_inline"/>
540 <button name="%(act_hr_employee_holiday_request)d" string="Leaves" type="action" class="oe_inline oe_right"/>
546 <record model="ir.ui.view" id="hr_kanban_view_employees_kanban">
547 <field name="name">HR - Employees Kanban with leave status</field>
548 <field name="model">hr.employee</field>
549 <field name="inherit_id" ref="hr.hr_kanban_view_employees"/>
550 <field name="arch" type="xml">
551 <xpath expr="//templates" position="before">
552 <field name="current_leave_id"/>
553 <field name="current_leave_state"/>
554 <field name="leave_date_from"/>
555 <field name="leave_date_to"/>
557 <xpath expr="//div[@class='oe_employee_details']/ul/li[@id='last_login']" position="inside">
558 <span t-if="record.current_leave_id.raw_value" style="font-size: 100%%"
559 t-att-class="record.current_leave_state.raw_value=='validate'?'oe_kanban_button oe_kanban_color_3':'oe_kanban_button oe_kanban_color_2'"
560 t-att-title="record.leave_date_from.raw_value.toString('ddd dS MMM') + ' - ' + record.leave_date_to.raw_value.toString('ddd dS MMM')">
561 <field name="current_leave_id"/>
568 id="act_hr_leave_request_to_meeting"
569 name="Leave Meetings"
570 src_model="hr.holidays"
571 res_model="crm.meeting"
572 view_mode="tree,form,calendar,gantt"