summaryrefslogtreecommitdiff
path: root/addons/resource/security/resource_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/resource/security/resource_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/resource/security/resource_security.xml')
-rw-r--r--addons/resource/security/resource_security.xml5
1 files changed, 2 insertions, 3 deletions
diff --git a/addons/resource/security/resource_security.xml b/addons/resource/security/resource_security.xml
index f2f4937ddc7..c0ccaac3c73 100644
--- a/addons/resource/security/resource_security.xml
+++ b/addons/resource/security/resource_security.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<odoo>
-<data noupdate="1">
+<odoo noupdate="1">
<record model="ir.rule" id="resource_calendar_leaves_rule_group_user_create">
<field name="name">resource.calendar.leaves: employee reads own or global</field>
@@ -27,5 +26,5 @@
<field name="domain_force">[('resource_id', '=', False)]</field>
<field name="perm_read" eval="False"/>
</record>
-</data>
+
</odoo>