Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
5 Besvarelser
8067 Visninger

When creating a meeting in odoo we can set its privacy to Only internal users.

How to disable attendees of the meeting from editing the meeting.

I want the meeting to be read only for them.


Avatar
Kassér
Bedste svar

Doesn't it already work like that? There is a pre-defined record rule that prevents anyone else from editing the meeting other than the owner of the invite. Attendees can edit the fields, but they won't be able to Save the changes.

If you go to Settings > Security > Record Rules, and search for "calendar", you will see this access rule.

http://postimg.org/image/g80twztm5/

Avatar
Kassér
Bedste svar

Hello Can anyone share this image (http://postimg.org/image/g80twztm5/) again. Having trouble on setting access in the calendar.

Avatar
Kassér
Forfatter Bedste svar

Rule Definition (Domain Filter) is set to  [(1,'=',1)]

Any idea how to change it so only creators can only edit .

Avatar
Kassér

Added a screenshot link to my answer. Create a record rule similar to that. Hope it helps.

Bedste svar

Try, This example..

<record id="calendar_meeting_personal_rule" model="ir.rule"> <field name="name">Calander Meeting</field> <field model="ir.model" name="model_id" ref="model_basic_calendar"/> <field name="domain_force">[('user_id','=',user.id)]</field> <field name="groups" eval=""/> </record>

Else,

1- Settings >> security >> Record Rule

2- create new record rule on Meeting Object and the domain is

['|',('partner_ids','in',user.partner_id.id),('user_id','=',user.id)]

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
mar. 19
4218
0
jun. 16
3999
0
mar. 15
5541
1
maj 23
6246
2
dec. 22
2692