GOLEM/golem_season/views/golem_season_view.xml

74 lines
2.2 KiB
XML

<?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>
<!-- Forms -->
<record id="form" model="ir.ui.view">
<field name="name">GOLEM Season Form</field>
<field name="model">golem.season</field>
<field name="arch" type="xml">
<form>
<sheet>
<group string="Season">
<field name="name" />
<field name="date_start" />
<field name="date_end" />
</group>
</sheet>
</form>
</field>
</record>
<!-- Trees -->
<record id="tree" model="ir.ui.view">
<field name="name">GOLEM Seasons</field>
<field name="model">golem.season</field>
<field name="arch" type="xml">
<tree>
<field name="name" />
<field name="date_start" />
<field name="date_end" />
</tree>
</field>
</record>
<!-- Search -->
<record id="filter" model="ir.ui.view">
<field name="name">GOLEM Seasons Filters</field>
<field name="model">golem.season</field>
<field name="arch" type="xml">
<search>
<field name="name" />
</search>
</field>
</record>
<!-- Actions -->
<act_window id="action_list" name="GOLEM Seasons"
res_model="golem.season" view_mode="tree,form" />
<!-- Menus -->
<menuitem id="menu_seasons" name="GOLEM Seasons"
parent="base.menu_marketing_config_association" sequence="2"
action="action_list" />
</data>
</openerp>