diff options
| author | Yannick Tivisse <yti@odoo.com> | 2016-08-23 09:28:07 +0200 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2016-08-23 11:14:37 +0200 |
| commit | ff63f5d0a37a502df420b48656c8d0beb19cb00a (patch) | |
| tree | 79fdbdce04ee921971ff0ec4ba70c9170ca72869 /addons/purchase/security | |
| parent | 92a60f1340f0122e31807fef1ca80ec196b9c7d5 (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/purchase/security')
| -rw-r--r-- | addons/purchase/security/purchase_security.xml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/addons/purchase/security/purchase_security.xml b/addons/purchase/security/purchase_security.xml index 0544735c381..1416745a8bb 100644 --- a/addons/purchase/security/purchase_security.xml +++ b/addons/purchase/security/purchase_security.xml @@ -15,10 +15,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('purchase.group_purchase_manager'))]"/> - </record> - <record id="group_analytic_accounting" model="res.groups"> <field name="name">Analytic Accounting for Purchases</field> <field name="category_id" ref="base.module_category_hidden"/> @@ -37,6 +33,9 @@ </data> <data noupdate="1"> + <record id="base.default_user" model="res.users"> + <field name="groups_id" eval="[(4,ref('purchase.group_purchase_manager'))]"/> + </record> <record model="ir.rule" id="purchase_order_comp_rule"> <field name="name">Purchase Order multi-company</field> |
