Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3729 Visualizzazioni

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

Avatar
Abbandona
Risposta migliore

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.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
dic 23
1223
1
feb 23
2363
0
dic 22
1792
1
dic 18
3877
2
nov 18
6289