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
This question has been flagged
1
Reply
6464
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 up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
1
Jun 20
|
5893 | ||
|
|
0
Jul 19
|
6286 | ||
|
|
1
Apr 26
|
3987 | ||
|
Odoo Mail Sending Limit
Solved
|
|
2
Dec 23
|
18509 | |
|
|
0
Oct 23
|
33 |