Odoo Help

Welcome!

This community 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.

0

salary rules condition work only with administrator

By
bessam djerad
on 4/7/16, 10:18 AM 320 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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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