I create Salary rule ( basic salary, allowance, gross and annual increment) in payroll. The annual increment statement will be run only when the employee complete 1 year or 365 days in the company. 10% of his basic salary will be added to the gross.
example(1): his basic salary 300 and he completed 1 year (300*3%)*1= 9 so the total 309
example (2): his basic salary 300 and he completed 2 year (300*3%)*2 = 18 so the total 318 So, please can anyone help me how to write python condition and computation in salary rule?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
2
Replies
2894
Views
salary + (((salary*ratio)/100) * years)
@mostafa
I already did basic and allowance salary rule. remaining is annual increment. The once the employee complete 255 days 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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up