Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
5089 Zobrazení

Greeting;
I have created a new module named phpevaluation, and i want to configure security on this module (who use what), so i have to create a set of users groups to define my types of access, the problem is in the users group form , when I try to choose my created module from the list of applications I could not found it;

-I named the module phpevaluation (without dashes nor underscores)
-Inside my manifest.py file the application attribute is setted to True
-When I access using pgAdmin to the "ir_module_module" table I find the record and the "application" attribute is correction setted to True

I am using Odoo 10

Avatar
Zrušit
Autor Nejlepší odpověď

In fact, when creating a new users group the application field means the applications category, odoo apply security on a set of application not the application, I resolved the problem by choosing the "Health Management" category that contains my application phpevaluation

Avatar
Zrušit
Nejlepší odpověď

Try to give

_description = 'Your Description'

to your custom model, this will helps you to select the model on group's access rights. After you just need to type description or correct model name

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
čvn 25
2187
0
bře 19
5376
4
bře 20
23513
3
říj 19
5932
1
říj 18
132