Skip to Content
Menu
This question has been flagged
1 Atsakyti
3750 Rodiniai

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

Portretas
Atmesti
Best Answer

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.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
gruod. 23
1247
1
vas. 23
2377
0
gruod. 22
1800
1
gruod. 18
3890
2
lapkr. 18
6296