Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4587 Lượt xem


Hi All,

when I was testing odoo for Payroll Module, it is always calculating salary for a whole month regardless of the contract start date (employee joining date). I think it is a very annoying bug in Odoo , if any body can help for the same, will be great.

Thanks in advance

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

Odoo 13 EE & CE doesn't have this feature. It's now available in Odoo 15 EE through Work Entries.

But you have work a rounds you can create a salary rule in your structure to calculate the "Out of Contract".
You can use a python code rule to get the  Gross and divide it by the days of the month to get the value of 1 salary pay day then use an input to deduct the out of contract days.

For Example:
    result = - ( (GROSS divided by 30) * inputs.OUT_OF_CONTRACT.amount)

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 20
3726
2
thg 1 25
1179
2
thg 12 24
2217
2
thg 8 24
11323
1
thg 3 24
2242