Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4533 Представления

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

Аватар
Отменить
Лучший ответ

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.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
июн. 20
4146
0
июл. 19
4519
2
дек. 23
14789
0
окт. 23
33
3
окт. 23
788