Skip to Content
Menu
This question has been flagged
2 Replies
1500 Views
I want to create or customize new salary rules in the Odoo payroll module. Which fields are important to specify or not to delete?


Avatar
Discard
Best Answer

Hi,

If we create new salary rules for the payroll module in odoo, We must specify the name, category_id, code, salary structure, and 'amount type' which is code, fixed amount, or python code, If we choose the amount type as code then we need to specify the python code for the calculation of the salary rule. We can archive the salary rule instead of deleting the salary rules.

Regards

Avatar
Discard
Author

Hello. Thank you for that answer. To be more precise, I am developing a module for printing payroll reports. But it seems that Odoo makes a difference between the rules it creates itself and the rules created by the user.

Author Best Answer

In fact, by setting up the payroll module, I deleted the basic rules that are created natively and I created my own. But I see that the system does not perform calculations on these rules.

Avatar
Discard