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
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
1
Trả lời
4558
Lượt xem
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.
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 6 20
|
4152 | ||
|
0
thg 7 19
|
4524 | ||
Odoo Mail Sending Limit
Đã xử lý
|
|
2
thg 12 23
|
14795 | |
|
0
thg 10 23
|
33 | ||
|
3
thg 10 23
|
788 |