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
- Účtovníctvo
- Sklady
- PoS
- Project
- MRP
This question has been flagged
1
Odpoveď
4534
Zobrazenia
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!
RegistráciaRelated Posts | Replies | Zobrazenia | Aktivita | |
---|---|---|---|---|
|
1
jún 20
|
4146 | ||
|
0
júl 19
|
4519 | ||
Odoo Mail Sending Limit
Solved
|
|
2
dec 23
|
14789 | |
|
0
okt 23
|
33 | ||
|
3
okt 23
|
788 |