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

Is that possible to get current salary rule name in python code inside salary rule? I know that there are some variable exist, such as "payslip", "rules", "categories" and etc. But I need to use my current  salary rule name in my function inside salary rule? I use Odoo 12

Avatar
Abbandona
Risposta migliore

Hi,

You can use add a new char field which computes your current salary rule name and you can 

use this field value in your function.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
giu 20
4152
0
lug 19
4524
2
dic 23
14796
0
ott 23
33
3
ott 23
788