تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
2846 أدوات العرض

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
يوليو 20
2894
2
ديسمبر 23
14852
0
أكتوبر 23
33
3
أكتوبر 23
788
1
أكتوبر 23
569