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

i am trying to learn odoo 15, and i started to develop new odoo module, but when i develop a new module, i can't see its menu,

model file:

class usersMeals(models.Model):
_name = 'res.users.meal'
_description = 'Users Meal'
name = fields.Char("name")
meal_date = fields.Datetime("Date")
user_id = fields.Many2one('res.users',string='User')
notes = fields.Text("Notes")

Views File


Breakfast
res.users.meal
ir.actions.act_window
tree,kanban,form
form







what should i do to get a menu?



Avatar
Discard
Best Answer

Hello, Please go through this article --> https://www.cybrosys.com/blog/menu-submenu-and-action-in-odoo.

from this blog, you can easily understand the way to define the parent menus, sub menus and actions.

Avatar
Discard
Best Answer

Hello,

I think you forgot to add security file for that new model.

Avatar
Discard