In backend, we may want to use tags for advanced use cases like reporting, filtering, aggregating in spreadsheet, ... However right now we cannot define tag categories dedicated for 'internal use only'. Similar to eLearning, this commit introduces facility to decide whether or not to show the tag categories on the website. It is based on website.published mixin. is_published field will be used for taht purpose. ACLs are updated accordingly. If the category is hidden from the website then it is used for internal purpose only. In order to make all the events menu together, this commit moves the 'Event Tags Categories' menu after 'Event Stages'. COM PR odoo/odoo#63485 UPG PR odoo/upgrade#2088 Task Id-2300230 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
50 lines
1.4 KiB
XML
50 lines
1.4 KiB
XML
<?xml version="1.0"?>
|
|
<odoo><data>
|
|
|
|
<!-- MAIN MENU -->
|
|
<menuitem name="Events"
|
|
id="event_main_menu"
|
|
sequence="65"
|
|
groups="event.group_event_user"
|
|
web_icon="event,static/description/icon.png"/>
|
|
|
|
<!-- HEADER: EVENTS -->
|
|
<menuitem name="Events"
|
|
id="menu_event_event"
|
|
sequence="1"
|
|
parent="event.event_main_menu"
|
|
groups="event.group_event_user"/>
|
|
|
|
<!-- HEADER: REPORTING -->
|
|
<menuitem name="Reporting"
|
|
id="menu_reporting_events"
|
|
sequence="50"
|
|
parent="event_main_menu"
|
|
groups="event.group_event_manager"/>
|
|
|
|
<!-- HEADER: CONFIGURATION -->
|
|
<menuitem name="Configuration"
|
|
id="menu_event_configuration"
|
|
sequence="99"
|
|
parent="event_main_menu"
|
|
groups="event.group_event_user"/>
|
|
<menuitem name="Event Templates"
|
|
id="menu_event_type"
|
|
sequence="1"
|
|
parent="menu_event_configuration"/>
|
|
<menuitem name="Event Stages"
|
|
id="event_stage_menu"
|
|
sequence="2"
|
|
parent="menu_event_configuration"/>
|
|
<menuitem name="Mail Schedulers"
|
|
id="menu_event_mail_schedulers"
|
|
sequence="10"
|
|
parent="menu_event_configuration"
|
|
groups="base.group_no_one"/>
|
|
<menuitem name="Event Tags Categories"
|
|
id="menu_event_category"
|
|
sequence="3"
|
|
parent="menu_event_configuration"/>
|
|
|
|
</data></odoo>
|