Hi, I want to create a report, that includes field total_lead_plan of the department, and, field personal_lead_plan of the current user ( each user will see different number)
Do you know how to show these 2 number in the tree view at the same time?
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
533
Vistas
Hi,
You can create a non stored computed field and show the result based on the condition, i hope you will distinguish different users using some users groups ?
If group_1_users:
return 10
else
return 20
You can adjust the hard coded logic as per your use case.
Thanks
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse
@Niyas Raphy: thank for your answer, but I have at least 20 member in the same department, and I need to display different result of their work when they see the report on treeview
In addition, if 10 members see the report at the same time, is it ok?