Odoo Help


Python code of salary rules in human resource

on 8/30/13, 6:46 AM 2,098 views

Hi, is it possible to add more available variables of python code? So let's say the available variables are worked_days, rules, categories, etc. And then I would like to add a variable named PTKP. After that, this salary rule's python code is ((gross - 5% of gross) - PTKP)*5%. Thank you

hello davis , Any idea.

on 1/30/14, 7:11 AM

Hi, I have same problem. Do you find the solution?

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

0 follower(s)


Asked: 8/30/13, 6:46 AM
Seen: 2098 times
Last updated: 12/12/16, 3:26 PM