Skip to Content
Menu
This question has been flagged
2 Replies
6259 Views

I’m working on a custom module but I need some help because I don’t know where’s the issue.

The module is uploaded in the database and it shows up in the Apps list with other installable modules. I can install it and upgrade it. But it doesn’t show up in Odoo main page (/web#cids=1&action=menu). This is my manifest:

# -*- coding: utf-8 -*-

{

    'name': "GEI_dashboard",

 

    'summary': "A dashboard for the server´s resources",

 

    'description': "This module shows a dashboard with a server's resources, such as used RAM and total RAM, how many users are connected, how many users are in total, etc. It also shows alerts.",

 

    'author': "GEI Project",

    'website': "https://gei-project.odoo.com/",

 

    # Categories can be used to filter modules in modules listing

    # Check https://github.com/odoo/odoo/blob/master/odoo/addons/base/module/module_data.xml

    # for the full list

    'category': 'Uncategorized',

    'version': '0.2',

 

    # any module necessary for this one to work correctly

    'depends': ['base'],

 

    # always loaded

    'data': [

        # 'security/ir.model.access.csv',

        'views/views.xml',

        'views/templates.xml',

    ],

 

    'application': True,

    'installable': True,

    'odoo': '13.0+'

}


Avatar
Discard
Author

Done, it works now. Thanks! Sorry I'm new using Odoo

Best Answer

You need to load the `ir.model.access.csv` as well. Usually when a custom module does not show up in the menu, it is because this file is not loaded or not configured properly.

Avatar
Discard
Best Answer

Hi,

If you are new to odoo development, follow this tutorial for the beginners:  Odoo 16 Development

Menu wont be visible, if the access rights is not set for the related model or if there is no action linked with menu or no sub menus and if any user group is set for the menu.

Reasons:

1. Missing access rights
2. User not added to group assigned to the menu

3. Action or sub menus is not linked with menu.

See: Different Reasons For A Menu Not Visible In Odoo

Thanks

Avatar
Discard
Related Posts Replies Views Activity
0
Dec 19
3069
0
Feb 24
1329
1
Jul 24
1188
1
Jan 24
3845
2
Mar 23
2058