跳至内容
菜单
此问题已终结

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.


形象
丢弃
最佳答案

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/

形象
丢弃
最佳答案

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

形象
丢弃
编写者 最佳答案

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

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

形象
丢弃

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

最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
0
3月 19
4123
0
6月 16
3962
0
3月 15
5452
1
5月 23
6063
2
12月 22
2556