summaryrefslogtreecommitdiff
path: root/addons/account/security
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/account/security
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/account/security')
-rw-r--r--addons/account/security/account_security.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/addons/account/security/account_security.xml b/addons/account/security/account_security.xml
index 574435c1c00..6d379560a0b 100644
--- a/addons/account/security/account_security.xml
+++ b/addons/account/security/account_security.xml
@@ -21,9 +21,6 @@
<field name="implied_ids" eval="[(4, ref('group_account_user'))]"/>
</record>
- <record id="base.default_user" model="res.users">
- <field name="groups_id" eval="[(4,ref('account.group_account_manager'))]"/>
- </record>
<record id="group_proforma_invoices" model="res.groups">
<field name="name">Pro-forma Invoices</field>
@@ -38,6 +35,10 @@
</data>
<data noupdate="1">
+ <record id="base.default_user" model="res.users">
+ <field name="groups_id" eval="[(4,ref('account.group_account_manager'))]"/>
+ </record>
+
<record id="account_move_comp_rule" model="ir.rule">
<field name="name">Account Entry</field>
<field name="model_id" ref="model_account_move"/>