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
- Bogføring
- Lager
- PoS
- Project
- MRP
Dette spørgsmål er blevet anmeldt
1
Svar
4547
Visninger
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!
Tilmeld digRelated Posts | Besvarelser | Visninger | Aktivitet | |
---|---|---|---|---|
|
1
jun. 20
|
4148 | ||
|
0
jul. 19
|
4523 | ||
|
2
dec. 23
|
14794 | ||
|
0
okt. 23
|
33 | ||
|
3
okt. 23
|
788 |