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
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
1
Rispondi
4560
Visualizzazioni
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.
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
1
giu 20
|
4152 | ||
|
0
lug 19
|
4524 | ||
Odoo Mail Sending Limit
Risolto
|
|
2
dic 23
|
14796 | |
|
0
ott 23
|
33 | ||
|
3
ott 23
|
788 |