Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
4174 Visualizações

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
Cancelar
Autor Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
fev. 24
1378
0
dez. 23
1290
1
fev. 23
2424
0
dez. 22
1852
1
dez. 18
3947