Odoo Help


salary rules condition work only with administrator

bessam djerad
on 4/7/16, 10:18 AM 799 views

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.

bessam djerad
On 4/18/16, 8:30 AM

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

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 4/7/16, 10:18 AM
Seen: 799 times
Last updated: 4/18/16, 8:31 AM