[FIX] hr_holidays: Add form view type on leaves
- The leaves list had the view mode form missing, which means we were unable to access the leaves in the form view.
This commit is contained in:
@@ -118,7 +118,7 @@
|
||||
<field name="res_model">hr.leave.report</field>
|
||||
<field name="src_model">hr.employee</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,kanban</field>
|
||||
<field name="view_mode">tree,kanban,form</field>
|
||||
<field name="view_id" eval="hr_leave_report_tree"/>
|
||||
<field name="context">{
|
||||
'search_default_group_type': 1,
|
||||
|
||||
Reference in New Issue
Block a user