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

When the employee sheet is computed by administrator the rule with python condition :

result= worked_days.Unpaid and worked_days.Unpaid.number_of_days or False

Is executed normally and appears in salary computation, but when calculated by an other user even with administrator right it's didn't in salary computation.


الصورة الرمزية
إهمال
الكاتب أفضل إجابة

The problem was in the "Unpaid" translation, the second user use Arabic, so when the information about Unpaid hours whose loaded it wasn't calculated because the name was in Arabic so not recognized by the rule


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
فبراير 24
1378
0
ديسمبر 23
1290
1
فبراير 23
2424
0
ديسمبر 22
1852
1
ديسمبر 18
3947