Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
1300 Visninger

hello everyone 

i make one module the hospital management in odoo 15 

in this module i can add doctor patient i book apointment for doctor .


now i want if any doctor is login then saw only this doctor appointment in calandar .

and second login hospital management so they can see all of this apointment .

Avatar
Kassér
Bedste svar

Hi  Ra_one_1_11,

You can achieve this by creating record rules,


Doctor: Own Records Only

[('doctor_user_field','=',user.id)]


Manager: All Records

[(1,'=',1)]

Refer https://odootricks.tips/about/building-blocks/security/record-rules/



Hope it helps,

Kiran K

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
sep. 25
2026
1
jun. 25
2050
3
jul. 25
3659
1
maj 25
1784
4
maj 25
3079