Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
5001 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
čvn 20
4590
0
čvc 19
4951
2
pro 23
15804
0
říj 23
33
3
říj 23
790