-
Notifications
You must be signed in to change notification settings - Fork 574
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] estate: Chapter 6, add my first views and menus
Playing with views and menus, adding my first views and menus to the estate module. Use of the Active reserved field to enable archive & unarchive records. Use of the State reserved field to enable lifecycle stages.
- Loading branch information
1 parent
8006195
commit 9e5e90e
Showing
4 changed files
with
42 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0"?> | ||
<odoo> | ||
|
||
<menuitem id="estate_menu_root" name="Real Estate"> | ||
<menuitem id="estate_advertisement_menu" name="Advertisements"> | ||
<menuitem id="estate_property_menu_action" name="Properties" action="estate_property_action"> | ||
</menuitem> | ||
</menuitem> | ||
</menuitem> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0"?> | ||
<odoo> | ||
|
||
<record id="estate_property_action" model="ir.actions.act_window"> | ||
<field name="name">Properties</field> | ||
<field name="res_model">estate.property</field> | ||
<field name="view_mode">tree,form</field> | ||
</record> | ||
|
||
</odoo> |