[FIX] hr_holidays: leaves_count on stat button only counts type 'remove'
The stat button 'Leaves' on the employee's form view displays the total number of leaves (including holidays allocations and leave requests). When the button is clicked, only leave requests are show, which makes inconsistent the number displayed with the list of results. This fixes this behavior. opw-640349master
Reference in new issue