Skip to Content
Menu
This question has been flagged
1 Reply
5261 Views

1. I do not know the python so i can make the payroll rule and can you suggest me how can i learn python.

2. In Salary Head , how can i make the rules for deduction because i am not able to understand the calculation of odoo. Because when i create i am not giving any minus (-) symbol then how does it calculating the deduction.

Pleaes educate me.


Avatar
Discard
Best Answer

If you use normal Odoo salary structure, all deductions(amount , percentage or python code) have to be entered with negative sign.

Because Net salary is calculated using result = categories.BASIC + categories.ALW + categories.DED


So if you need subtract deduction from basic and allowance, it have to be entered with -ve sign.


Please refer this for usage of Payroll module.


Avatar
Discard