Skip to Content
Menu
This question has been flagged
5 Replies
8090 Rodiniai

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.


Portretas
Atmesti
Best Answer

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/

Portretas
Atmesti
Best Answer

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

Portretas
Atmesti
Autorius Best Answer

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

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

Portretas
Atmesti

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

Best Answer

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)]

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
kov. 19
4228
0
birž. 16
4003
0
kov. 15
5556
1
geg. 23
6256
2
gruod. 22
2706