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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
0
dez. 23
|
1222 | ||
|
1
fev. 23
|
2362 | ||
|
0
dez. 22
|
1791 | ||
|
1
dez. 18
|
3876 | ||
|
2
nov. 18
|
6285 |