跳至内容
菜单
此问题已终结
2 回复
2872 查看

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

形象
丢弃
最佳答案

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.


形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
0
7月 20
2915
2
12月 23
14892
0
10月 23
33
3
10月 23
789
1
10月 23
569