Skip to Content
Menu
This question has been flagged

I created two fields in the hr.leave.allocation model called x_date_range_from  and x_date_range_to, the purpose behind this is to restrict the particular employee to request time off outside particular date range (I know there is validity on the time off type, but I want for a particular employee)...

Now I need to create an automated action on the ODOO13, that if someone tries to select the date_from and date_to from the hr.leave model, it should raise a warning,'the leave should be selected within the range'

How do I create automation for the same?

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
mar 22
1508
3
máj 21
4717
0
sep 24
1256
0
máj 24
26
4
máj 24
12594