Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1972 Lượt xem
I want to create or customize new salary rules in the Odoo payroll module. Which fields are important to specify or not to delete?


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Tác giả Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ