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:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
1
ตอบกลับ
526
มุมมอง
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
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ
@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?