Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3735 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
0
déc. 23
1225
1
févr. 23
2365
0
déc. 22
1793
1
déc. 18
3879
2
nov. 18
6289