Skip to Content
Menu
This question has been flagged
1 Reply
3389 Views

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
Discard
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
Discard
Related Posts Replies Views Activity
1
Jun 20
2859
0
Jul 19
3388
2
Dec 23
11991
0
Oct 23
33
3
Oct 23
787