golem/golem_member/views/golem_member_age_range_views.xml

47 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 Fabien Bourgeois <fabien@yaltik.com>
Copyright 2019 Youssef El Ouahby <youssef@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>
<!-- Tree -->
<record model="ir.ui.view" id="golem_member_age_range_tree">
<field name="name">GOLEM Member Age Range Tree</field>
<field name="model">golem.member.age.range</field>
<field name="arch" type="xml">
<tree editable="botom">
<field name="name"/>
<field name="lower_bound" />
<field name="higher_bound"/>
</tree>
</field>
</record>
<!-- Actions -->
<act_window id="golem_member_age_range_action" name="Age Ranges"
res_model="golem.member.age.range" view_mode="tree" />
<!-- Menus -->
<menuitem id="golem_member_age_range_menu" name="Age Ranges"
parent="golem_membership.menu_config_association" sequence="0"
action="golem_member_age_range_action" />
</data>
</odoo>