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

Dear All,

Anyone an idea/experience on how to set up a salary rule which only applies on a specific month? E.g. Condition based on: Payslip Month = March?

Thanks in advance!

Philipp

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

Hi Philipp,

in the salary rule you can configure the field "condition_select" and select 'python' option, there is some avilable objects (e.g: payslip), you can put something like this:

result = payslip.month_date_from == 03 

Note: month_date_from has to be previously computed.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 12 23
1245
1
thg 2 23
2376
0
thg 12 22
1797
1
thg 12 18
3890
2
thg 11 18
6294