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
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
4531
Vistas
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.
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
jun 20
|
4146 | ||
|
0
jul 19
|
4516 | ||
Odoo Mail Sending Limit
Resuelto
|
|
2
dic 23
|
14789 | |
|
0
oct 23
|
33 | ||
|
3
oct 23
|
788 |