summaryrefslogtreecommitdiff
path: root/addons/mrp
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2016-08-23 09:28:07 +0200
committerYannick Tivisse <yti@odoo.com>2016-08-23 11:14:37 +0200
commitff63f5d0a37a502df420b48656c8d0beb19cb00a (patch)
tree79fdbdce04ee921971ff0ec4ba70c9170ca72869 /addons/mrp
parent92a60f1340f0122e31807fef1ca80ec196b9c7d5 (diff)
[IMP] base_setup: Allow the admin to modify the default user acess rights
Add a link in the general settings to access easily the default_user form view in order to modify the default access rights The default_user manager rights declarations in all the applications have been move in a noupdate="1" definition to avoid the manual configuration overwrittings
Diffstat (limited to 'addons/mrp')
-rw-r--r--addons/mrp/security/mrp_security.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/mrp/security/mrp_security.xml b/addons/mrp/security/mrp_security.xml
index b75a3f0014a..35d843b9aeb 100644
--- a/addons/mrp/security/mrp_security.xml
+++ b/addons/mrp/security/mrp_security.xml
@@ -14,9 +14,6 @@
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
- <record id="base.default_user" model="res.users">
- <field name="groups_id" eval="[(4,ref('mrp.group_mrp_manager'))]"/>
- </record>
<record id="group_mrp_routings" model="res.groups">
<field name="name">Manage Work Order Operations</field>
@@ -25,6 +22,9 @@
</data>
<data noupdate="1">
+ <record id="base.default_user" model="res.users">
+ <field name="groups_id" eval="[(4,ref('mrp.group_mrp_manager'))]"/>
+ </record>
<!-- Multi -->
<record model="ir.rule" id="mrp_production_rule">
<field name="name">mrp_production multi-company</field>