菜单权限
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
]
|
||||
},
|
||||
'demo': [],
|
||||
'depends': ['hr', 'mail', 'base', 'survey', 'account', 'hr_payroll'],
|
||||
'depends': ['hr', 'mail', 'base', 'survey', 'account'],
|
||||
'installable': True,
|
||||
'application': True,
|
||||
}
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo noupdate="0">
|
||||
<!-- 从默认用户模板中移除财务管理员和薪资管理员权限组,新建用户不再默认带这些权限 -->
|
||||
<!-- 从默认用户模板中移除财务管理员权限组,新建用户不再默认带这些权限 -->
|
||||
<record id="base.default_user" model="res.users">
|
||||
<field name="groups_id" eval="[
|
||||
(3, ref('account.group_account_manager')),
|
||||
(3, ref('account.group_account_invoice')),
|
||||
(3, ref('hr_payroll.group_hr_payroll_manager')),
|
||||
]"/>
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
'data': [
|
||||
'security/ir.model.access.csv',
|
||||
'security/salary_security_rule.xml',
|
||||
'data/res_users_data.xml',
|
||||
'data/rank_log_time.xml',
|
||||
'data/meal_cron.xml',
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo noupdate="0">
|
||||
<!-- 从默认用户模板中移除薪资管理员权限组,新建用户不再默认带此权限 -->
|
||||
<record id="base.default_user" model="res.users">
|
||||
<field name="groups_id" eval="[(3, ref('hr_payroll.group_hr_payroll_manager'))]"/>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user