[FIX] event: events smartbutton on partner display if user has rights
With a user that do not have access to the the Event module, go into Contacts > open a contact Before this commit, a ACL error was thrown. This was because of the presence of a smartbutton refering to events in the form view of the partner After this commit, the form view of the partner displays correctly OPW 1851783 closes #24931
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
<field name="name">view.res.partner.form.event.inherited</field>
|
||||
<field name="model">res.partner</field>
|
||||
<field name="inherit_id" ref="base.view_partner_form"/>
|
||||
<field name="groups_id" eval="[(4, ref('event.group_event_user'))]"/>
|
||||
<field name="arch" type="xml">
|
||||
<div name="button_box" position="inside">
|
||||
<button class="oe_stat_button"
|
||||
|
||||
Reference in New Issue
Block a user