Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
2852 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 7 20
2896
2
thg 12 23
14877
0
thg 10 23
33
3
thg 10 23
788
1
thg 10 23
569