GOLEM/golem_membership/views/membership_views.xml

45 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<odoo>
<data>
<!-- Menus reorganization -->
<!-- Deactivate classic membership list -->
<record id="membership.menu_membership" model="ir.ui.menu">
<field name="active">0</field>
</record>
<record id="membership.menu_marketing_config_association" model="ir.ui.menu">
<field name="active">0</field>
</record>
<record id="membership.menu_association" model="ir.ui.menu">
<field name="active">0</field>
</record>
<!-- New menus -->
<menuitem name="Members and users" id="menu_association"
sequence="15" web_icon="membership,static/description/icon.png" />
<menuitem name="Configuration" id="menu_config_association"
parent="menu_association" sequence="100" />
<menuitem name="Subscriptions" id="subscription_product_menu"
parent="menu_config_association" sequence="5"
action="membership.action_membership_products"/>
</data>
</odoo>