Contributors mailing list archives

Browse archives


Regarding Hr_holiday module,Time-off

Sarath Suresh
- 14/12/2020 09:58:15

I need a help in completing my task. Please help me to do this.I need the answer for only the date splitting .correspondingly.The thing is selecting a from date and to date by the employee.In the pictures you can see,i need to split the dates accordingly considering the global leaves.As you can see the employee selected a 27 days leaves.On clicking the boolean field it got separated accordingly,but i need to split the dates,ie, on the top it must be 20 days dates and bottom one2many start date must be after that and end date must be the date selected by the employee.Please go through and provide code or reference