Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
1986 Visualizzazioni
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
Abbandona
Risposta migliore

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
Abbandona
Autore

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.

Autore Risposta migliore

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
Abbandona