Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4729 Представления


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

Аватар
Отменить
Лучший ответ

Hi,

Refer following link will helps you

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

Аватар
Отменить