diff options
| author | Victor Feyens <vfe@odoo.com> | 2020-03-10 18:07:12 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2020-03-20 16:21:25 +0100 |
| commit | a3ded9043d34229e4547e16625a86dfbebdbcfaf (patch) | |
| tree | c3269408cd9534e7abc63b6c730a9fc7108997bc /addons/website_event | |
| parent | 532c083cbbe0ee6e7a940e2bdc9c677bd56b62fa (diff) | |
[IMP] *: declare ir.rule in noupdate
ir.rule are default values but can be customized based on the
company's policy and needs.
This is typically a record that is in noupdate as should be
customization-friendly.
Diffstat (limited to 'addons/website_event')
| -rw-r--r-- | addons/website_event/security/event_security.xml | 2 |
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'))]"/> |
