跳至內容
選單
此問題已被標幟
1 回覆
3724 瀏覽次數

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

頭像
捨棄
最佳答案

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
12月 23
1222
1
2月 23
2361
0
12月 22
1791
1
12月 18
3875
2
11月 18
6285