Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
4536 Prikazi

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
Opusti
Best Answer

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
jun. 20
4146
0
jul. 19
4519
2
dec. 23
14789
0
okt. 23
33
3
okt. 23
788