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
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
3389
Views
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.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Jun 20
|
2859 | ||
|
0
Jul 19
|
3388 | ||
Odoo Mail Sending Limit
Solved
|
|
2
Dec 23
|
11991 | |
|
0
Oct 23
|
33 | ||
|
3
Oct 23
|
787 |