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:
- CRM
- e-Commerce
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
1
회신
4546
화면
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
|
4147 | ||
|
0
7월 19
|
4522 | ||
Odoo Mail Sending Limit
해결 완료
|
|
2
12월 23
|
14793 | |
|
0
10월 23
|
33 | ||
|
3
10월 23
|
788 |