Skip to content

Commit dad4685

Browse files
committed
[FIX] estate: third level menu renamed to Properties
1 parent f84244c commit dad4685

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

estate/__manifest__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{'name': 'Real Estate',
22
'depends': ['base'],
3+
'data': ['security/ir.model.access.csv',
4+
'views/estate_property_views.xml',
5+
'views/estate_menus.xml'],
36
'application': True,
47
'author': 'leker',
58
'license': 'LGPL-3',

estate/views/estate_menus.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
22
<odoo>
3-
<menuitem id="real_estate_menu_root" name="Properties">
3+
<menuitem id="real_estate_menu_root" name="Real Estate">
44
<menuitem id="adevrisements_first_level_menu" name="Advertisements">
55
<menuitem id="properties_model_menu_action" action="estate_new_record_action"/>
66
</menuitem>

estate/views/estate_property_views.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<odoo>
33
<record id="estate_new_record_action" model="ir.actions.act_window">
4-
<field name="name">New Record</field>
4+
<field name="name">Properties</field>
55
<field name="res_model">estate.property</field>
66
<field name="view_mode">list,form</field>
77
</record>

0 commit comments

Comments
 (0)