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
此问题已终结
1
回复
6530
查看
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.
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
|
1
6月 20
|
5933 | ||
|
|
0
7月 19
|
6330 | ||
|
|
1
4月 26
|
4523 | ||
|
|
2
12月 23
|
18889 | ||
|
|
0
10月 23
|
33 |