summaryrefslogtreecommitdiff
path: root/addons/hr_recruitment
diff options
context:
space:
mode:
authorVictor Feyens <vfe@odoo.com>2020-03-10 18:07:12 +0100
committerMartin Trigaux <mat@odoo.com>2020-03-20 16:21:25 +0100
commita3ded9043d34229e4547e16625a86dfbebdbcfaf (patch)
treec3269408cd9534e7abc63b6c730a9fc7108997bc /addons/hr_recruitment
parent532c083cbbe0ee6e7a940e2bdc9c677bd56b62fa (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/hr_recruitment')
-rw-r--r--addons/hr_recruitment/security/hr_recruitment_security.xml6
1 files changed, 2 insertions, 4 deletions
diff --git a/addons/hr_recruitment/security/hr_recruitment_security.xml b/addons/hr_recruitment/security/hr_recruitment_security.xml
index 50d5f825ca4..9979890aefa 100644
--- a/addons/hr_recruitment/security/hr_recruitment_security.xml
+++ b/addons/hr_recruitment/security/hr_recruitment_security.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<odoo>
-<data noupdate="1">
+<odoo noupdate="1">
+
<record model="ir.module.category" id="base.module_category_human_resources_recruitment">
<field name="description">Helps you manage your recruitments.</field>
<field name="sequence">11</field>
@@ -30,6 +30,4 @@
<field name="groups_id" eval="[(4,ref('hr_recruitment.group_hr_recruitment_manager'))]"/>
</record>
-
- </data>
</odoo>