GOLEM/golem_activity_session_regi.../views/golem_activity_session_regi...

48 lines
1.8 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2016 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/>.
-->
<openerp>
<data>
<!-- Tree -->
<record id="registration_tree" model="ir.ui.view">
<field name="name">Session registration list</field>
<field name="model">golem.activity.session.registration</field>
<field name="arch" type="xml">
<tree create="false" edit="false" delete="false">
<field name="season_id" />
<field name="member_id" />
<field name="session_id" />
<field name="invoice_id" />
<field name="invoice_line_id" />
</tree>
</field>
</record>
<!-- Search -->
<!-- Action -->
<record id="registration_action_list" model="ir.actions.act_window">
<field name="name">GOLEM Activity Session Registration List</field>
<field name="res_model">golem.activity.session.registration</field>
<field name="view_mode">tree</field>
</record>
<!-- Menu -->
<menuitem id="registration_menu_list" name="Session registrations"
parent="golem_activity.activity_menu" action="registration_action_list"
groups="golem_base.group_golem_user"
sequence="20" />
</data>
</openerp>