Skip to content

Commit 6e502f7

Browse files
committed
[IMP] estate: added new record action and menu
1 parent 33109ca commit 6e502f7

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

estate/views/estate_menus.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0"?>
2+
<odoo>
3+
<menuitem id="real_estate_menu_root" name="Properties">
4+
<menuitem id="adevrisements_first_level_menu" name="Advertisements">
5+
<menuitem id="properties_model_menu_action" action="estate_new_record_action"/>
6+
</menuitem>
7+
</menuitem>
8+
</odoo>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0"?>
2+
<odoo>
3+
<record id="estate_new_record_action" model="ir.actions.act_window">
4+
<field name="name">New Record</field>
5+
<field name="res_model">estate.property</field>
6+
<field name="view_mode">list,form</field>
7+
</record>
8+
</odoo>

0 commit comments

Comments
 (0)