Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
4705 Vizualizări


Im  using payroll module. I did basic and allowance salary rule. Remaining is annual increment. Once the employee complete 1 year & 255 days (total date without holidays) in the company 10% from his basic salary will be added. 

the calculation  will be based on started date (contract) and today date. So what i should write in condition & calculation in salary rule of annual allowance 

today-started date = 265 (1 year ) 

1*categories.BASIC * 10% =annual allowance 

2 year 

1*categories.BASIC * 10%


M

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

Refer following link will helps you

https://www.odoo.com/forum/help-1/question/python-code-for-salary-rule-57241

Imagine profil
Abandonează