Odoo Help

0

salary rules condition work only with administrator

By
bessam djerad
on 4/7/16, 10:18 AM 383 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.


0
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


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

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.

Register

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)

Stats

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