Skip to content

Commit

Permalink
Add menus
Browse files Browse the repository at this point in the history
  • Loading branch information
mpurnell1 committed Sep 30, 2024
1 parent c00025b commit 24765b3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion estate/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "Estate", # The name that will appear in the App list
"version": "17.0.0.10", # Version
"version": "17.0.0.11", # Version
"application": True, # This line says the module is an App, and not a module
"depends": ["base"], # dependencies
"data": [
'security/ir.model.access.csv',
'views/estate_menus.xml',
'views/estate_property_views.xml',
],
"installable": True,
Expand Down
8 changes: 8 additions & 0 deletions estate/views/estate_menus.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<odoo>
<menuitem id="estate_menu_root" name="Real Estate">
<menuitem id="estate_first_level_menu" name="Advertisements">
<menuitem id="estate_model_menu_action" action="estate_property_action"/>
</menuitem>
</menuitem>
</odoo>

0 comments on commit 24765b3

Please sign in to comment.