The menu can be configured as required and use.
It allows:
Each entry is associated with a menu action. Action defines the view to open and / or the filter to apply.
Tags:
Example:
<menuitem name="contact-root" parent="" title="Partner" icon="evo-icons/partner.png"/>
<menuitem name="contact-root-partner" parent="contact-root" title="Partners" action="contact.root.partner"/>
<action-view name="contact.root.partner" title="Partners"
model="com.axelor.apps.contact.db.Partner">
<view type="grid"/>
<view type="form"/>
</action-view>
The "folder Tiers "is the <menuitem> " touch-root . " In this case, is attached a menu entry " The Tiers "corresponding to <menuitem> " touch-root-partner . " This entry menu requires action " contact.root.partner "through the tag <action-view> .
The attributes are:
<menuitem>
<action-view>
view-param may contain the following options:
<view-param name="show-toolbar" value="false" />
<view-param name="search-filters" value="filter-contract-line-filters"/>
context may include the following options:
<domain>self.user = :user</domain>
<context name="user" expr="eval: __user__"/>
<context name="_showSingle" expr="true"/>
<context name="_showRecord" expr="6"/>
<context name="__check_version" expr="true"/>