Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4163 Zobrazení

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.


Avatar
Zrušit
Autor Nejlepší odpověď

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


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
úno 24
1377
0
pro 23
1285
1
úno 23
2422
0
pro 22
1846
1
pro 18
3946