summaryrefslogtreecommitdiff
path: root/addons/website_event/security/event_security.xml
diff options
context:
space:
mode:
authorOdoo's Mergebot <xmo+roboto@odoo.com>2020-03-20 17:24:11 +0100
committerGitHub <noreply@github.com>2020-03-20 17:24:11 +0100
commitfd113d48a2379f63fcfeae22fc62a28a0e8e5e90 (patch)
treeb9dc888b51b0dfd4e78cc8dd02c6d668948520ea /addons/website_event/security/event_security.xml
parent979de450669b9175b4ff78bea15ae14bd455761a (diff)
parenta3ded9043d34229e4547e16625a86dfbebdbcfaf (diff)
[MERGE] *: ir.rule declaration cleanup
* remove global assignation in xml, it is a computed field anyway, let the orm compute it * put all `ir_rule` definition as noupdate in the xml closes odoo/odoo#47688 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/website_event/security/event_security.xml')
-rw-r--r--addons/website_event/security/event_security.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/website_event/security/event_security.xml b/addons/website_event/security/event_security.xml
index 0b86e8cf8cc..d34a1f76a48 100644
--- a/addons/website_event/security/event_security.xml
+++ b/addons/website_event/security/event_security.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
+ <data noupdate="1">
<record id="event_event_public" model="ir.rule">
<field name="name">event: Public</field>
<field name="model_id" ref="event.model_event_event"/>
@@ -21,6 +22,7 @@
<field name="perm_create" eval="False"/>
<field name="perm_unlink" eval="False"/>
</record>
+ </data>
<record id="event.group_event_manager" model="res.groups">
<field name="implied_ids" eval="[(4, ref('website.group_website_publisher'))]"/>