Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4531 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
jun 20
4146
0
jul 19
4516
2
dic 23
14789
0
oct 23
33
3
oct 23
788