Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
2880 Weergaven

Is there anyway to create leave request entry without date from and to in odoo12 CE?

By default, date from and to are required fields in Leave module. 

Please suggest possibilities to achieve this

Avatar
Annuleer
Beste antwoord

I hope you need to adjust leave balance of employees against Encashment like activities.

This can be achieved by removing the sql constraint for allocation model to allow negative values.

You can now create allocation with negative balance to match it.

Hope this will be helpful.


Avatar
Annuleer
Beste antwoord

Hi, 

By default there is no option for the same. You have to customize the system accordingly, either you can remove the required attribute(make sure that it wont alter any existing functionalities) or you can create a new model for the request and once approved you can create a record in leave model. 

Thanks

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
jul. 20
2922
2
dec. 23
14903
0
okt. 23
33
3
okt. 23
789
1
okt. 23
569