Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4535 Переглядів

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
Odoo Mail Sending Limit Вирішено
2
груд. 23
14789
0
жовт. 23
33
3
жовт. 23
788