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
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
1
Beantwoorden
4563
Weergaven
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.
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
1
jun. 20
|
4152 | ||
|
0
jul. 19
|
4527 | ||
Odoo Mail Sending Limit
Opgelost
|
|
2
dec. 23
|
14798 | |
|
0
okt. 23
|
33 | ||
|
3
okt. 23
|
788 |