Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

i created a salary rule called Unpaid leave and it depends on a python code like this:

result= worked_days.Unpaid and worked_days.Unpaid.number_of_days*(contract.wage/31) or 0

and the employee took 2 days unpaid leaves

i added the rule to the salay structure of the employee

then in the payslips i compute sheet and show the salary computation tab but the Unpaid leave show as zero inspite of the 2 days leave of that emplayee

is the unpaid number of days is zero? and if not zero why it is not computed in the employee payslip?


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
12
thg 12 23
32784
0
thg 11 16
5009
0
thg 7 15
7596
0
thg 3 15
4441
1
thg 3 15
12850