[Analyses pour la ville] Create Age range views

This commit is contained in:
Youssef Elouahby 2019-01-14 03:27:48 +01:00
parent 4a762f83e9
commit 3277a0c476
1 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,46 @@
<?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>