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
Denna fråga har flaggats
1
Besvara
6468
Vyer
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.
Njuter du av diskussionen? Läs inte bara, delta också!
Skapa ett konto idag för att ta del av exklusiva funktioner och engagera dig i vår fantastiska community!
Registrera dig| Relaterade inlägg | Svar | Vyer | Verksamhet | |
|---|---|---|---|---|
|
|
1
juni 20
|
5893 | ||
|
|
0
juli 19
|
6286 | ||
|
|
1
apr. 26
|
3987 | ||
|
|
2
dec. 23
|
18509 | ||
|
|
0
okt. 23
|
33 |