This question has been flagged
46 Views

Dear odoo support community

kindly i'm new to odoo i work in the HR field and i need to understand the how to write the python code used in the salary rules it's very hard to find any materials in the web

so would you guide me to any website so i can understand how to write any code i wish i don't want to deep dive in python code programming it's too hard for me all i want is to write very simple code and how to find the function

for example 

if i want to get the basic wage i had to write

 result = payslip.paid_amount

and if i want to get the working days i had to write 

result = worked_days['WORK100'] and worked_days['WORK100'].number_of_days


all that i found in very difficult search but i just copy this i didn't understand it's orgin

so would plz help me how to study this 

thanks in advance 

Avatar
Discard