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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
4564
瀏覽次數
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
|
4153 | ||
|
0
7月 19
|
4528 | ||
|
2
12月 23
|
14798 | ||
|
0
10月 23
|
33 | ||
|
3
10月 23
|
788 |