golem/golem_member/wizard/golem_member_analysis_views.xml
Fabien BOURGEOIS 48507f10d6 [ADD][REF]GOLEM Member : sevrice user analysis
* Small / medium refactoring on analysis ;
* Usage of current instead of new ;
* Renamings / typos.
2019-01-21 10:49:28 +01:00

135 lines
5.2 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>
<!-- Trees -->
<record id="golem_member_analysis_tree" model="ir.ui.view">
<field name="name">Service user Analysis Tree</field>
<field name="model">golem.member.analysis</field>
<field name="arch" type="xml">
<tree editable="bottom" create="false" delete="false">
<field name="season_id" />
<field name="member_id" />
</tree>
</field>
</record>
<!-- Pivots -->
<!-- Gender -->
<record id="golem_member_analysis_pivot_age_start_gender" model="ir.ui.view">
<field name="name">Service user Analysis Age Start Gender Pivot</field>
<field name="model">golem.member.analysis</field>
<field name="arch" type="xml">
<pivot string="Service user Analysis">
<field name="age_range_start_season" type="row"/>
<field name="gender" type="col"/>
</pivot>
</field>
</record>
<record id="golem_member_analysis_pivot_age_end_gender" model="ir.ui.view">
<field name="name">Service user Analysis Age End Gender Pivot</field>
<field name="model">golem.member.analysis</field>
<field name="arch" type="xml">
<pivot string="Service user Analysis">
<field name="age_range_end_season" type="row"/>
<field name="gender" type="col"/>
</pivot>
</field>
</record>
<record id="golem_member_analysis_pivot_age_now_gender" model="ir.ui.view">
<field name="name">Service user Analysis Age Now Gender Pivot</field>
<field name="model">golem.member.analysis</field>
<field name="arch" type="xml">
<pivot string="Service user Analysis">
<field name="age_range_now" type="row"/>
<field name="gender" type="col"/>
</pivot>
</field>
</record>
<!-- Area -->
<record id="golem_member_analysis_pivot_age_start_area" model="ir.ui.view">
<field name="name">Service user Analysis Age Start Area Pivot</field>
<field name="model">golem.member.analysis</field>
<field name="arch" type="xml">
<pivot string="Service user Analysis">
<field name="age_range_start_season" type="col"/>
<field name="area_id" type="row"/>
</pivot>
</field>
</record>
<record id="golem_member_analysis_pivot_age_end_area" model="ir.ui.view">
<field name="name">Service user Analysis Age End Area Pivot</field>
<field name="model">golem.member.analysis</field>
<field name="arch" type="xml">
<pivot string="Service user Analysis">
<field name="age_range_end_season" type="col"/>
<field name="area_id" type="row"/>
</pivot>
</field>
</record>
<record id="golem_member_analysis_pivot_age_now_area" model="ir.ui.view">
<field name="name">Service user Analysis Age Now Area Pivot</field>
<field name="model">golem.member.analysis</field>
<field name="arch" type="xml">
<pivot string="Service user Analysis">
<field name="age_range_now" type="col"/>
<field name="area_id" type="row"/>
</pivot>
</field>
</record>
<!-- Tag -->
<record id="golem_member_analysis_pivot_age_start_tag" model="ir.ui.view">
<field name="name">Service user Analysis Age Start Tag Pivot</field>
<field name="model">golem.member.analysis</field>
<field name="arch" type="xml">
<pivot string="Service user Analysis">
<field name="age_range_start_season" type="col"/>
<field name="category_id" type="row"/>
</pivot>
</field>
</record>
<record id="golem_member_analysis_pivot_age_end_tag" model="ir.ui.view">
<field name="name">Service user Analysis Age End Tag Pivot</field>
<field name="model">golem.member.analysis</field>
<field name="arch" type="xml">
<pivot string="Service user Analysis">
<field name="age_range_end_season" type="col"/>
<field name="category_id" type="row"/>
</pivot>
</field>
</record>
<record id="golem_member_analysis_pivot_age_now_tag" model="ir.ui.view">
<field name="name">Service user Analysis Age Now Tag Pivot</field>
<field name="model">golem.member.analysis</field>
<field name="arch" type="xml">
<pivot string="Service user Analysis">
<field name="age_range_now" type="col"/>
<field name="category_id" type="row"/>
</pivot>
</field>
</record>
</data>
</odoo>