Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4530 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
cze 20
4146
0
lip 19
4516
2
gru 23
14789
0
paź 23
33
3
paź 23
788