How can I add a user group change with a new module?
I want to import the hr.payslip rights for read, write, create and delete in human ressource / employee.
see screenshots:
I need a module that adds this user right
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
How can I add a user group change with a new module?
I want to import the hr.payslip rights for read, write, create and delete in human ressource / employee.
see screenshots:
I need a module that adds this user right
Hi,
You can import access right base on file csv:
You create:
module_custom/security/ir.model.access.csv
add 'security/ir.model.access.csv' in data file openerp.
In file ir.model.access.csv:
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_hr_payslip_group_user,hr_payslip.group_user,hr_payroll.model_hr_payslip,base.group_user,1,1,1,1
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 8 16
|
2962 | ||
|
4
thg 1 20
|
2918 | ||
|
0
thg 8 16
|
2883 | ||
|
1
thg 9 15
|
3463 | ||
|
0
thg 8 24
|
936 |