Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
2848 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.ค. 20
2894
Odoo Mail Sending Limit แก้ไขแล้ว
2
ธ.ค. 23
14852
0
ต.ค. 23
33
3
ต.ค. 23
788
1
ต.ค. 23
569