[FIX] account don't make administrator part of account users group by default

Before that, the administrator could use accounting features by default. This is not what we want, the group only gets assigned by default when installing account_accountant, on enterprise.
This commit is contained in:
Olivier Colson
2018-09-18 16:20:53 +02:00
parent 18a1629c12
commit e2c28ed3d6
+1 -2
View File
@@ -41,9 +41,8 @@
<field name="implied_ids" eval="[(4, ref('group_account_invoice'))]"/>
</record>
<!-- Grant full accounting features to admin -->
<record id="base.user_admin" model="res.users">
<field name="groups_id" eval="[(4, ref('account.group_account_user'))]"/>
<field name="groups_id" eval="[(4, ref('account.group_account_invoice')), (4, ref('account.group_account_manager'))]"/>
</record>
<record id="base.group_system" model="res.groups">