Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
5 Trả lời
4973 Lượt xem

Can I change the permission in odoo? like when I create a new database..only certain applications come up or shows up on the Apps dashboard to install.. instead of all the Applications? If Yes, how do I do this..please help! I am using Odoo 9.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Richa,

Currently i think  it is not possible, all the modules in given the addons path will be shown in the apps list.


Thank You

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello,

I dont think it is possible by changing some settings in Odoo.

If you want to change it by code, you can super button_install method in ir.module.module and give the validations required.

it will still show all modules but you can give restrictions for which users can install which all modules

You can also try adding one more apps menu with your required domain and hide real apps menu from the users according to groups

Ảnh đại diện
Huỷ bỏ

There is a module in the Odoo apps with same functionality , refer this link

https://apps.odoo.com/apps/modules/9.0/restrict_access/

Câu trả lời hay nhất

Dear Risha,

I think you can do this by add 'installable':False, on >>addons >>__openerp__.py  file for all modules that you need to hide them. Then you can make domain on apps action depends on installable field.


I hope I helped you...

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 25
6295
0
thg 7 21
2807
2
thg 2 20
3327
2
thg 1 19
3598
1
thg 11 16
6012