[FIX] hr_holidays: traceback when group by allocation's description
The 'name' field (Description) has been removed from the 'group by' definition in the allocation search view because this is useless to group by this field as each value will be different from the others. closes odoo/odoo#46478 X-original-commit: 2f6abba160b5e2dac73ba2c56dcb139d10f20273 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
@@ -37,7 +37,6 @@
|
||||
domain="[('activity_ids.date_deadline', '>', context_today().strftime('%Y-%m-%d'))
|
||||
]"/>
|
||||
<group expand="0" string="Group By">
|
||||
<filter name="group_name" string="Description" context="{'group_by':'name'}"/>
|
||||
<filter name="group_employee" string="Employee" context="{'group_by':'employee_id'}"/>
|
||||
<filter name="group_category" string="Category" context="{'group_by':'category_id'}"/>
|
||||
<filter name="group_second_approver_id" string="Validator" context="{'group_by':'second_approver_id'}"/>
|
||||
|
||||
Reference in New Issue
Block a user