[Analyses pour la ville]Add member analysis views pivot

This commit is contained in:
Youssef Elouahby 2019-01-14 03:29:52 +01:00
parent bf088d413e
commit 703c51c03e

View File

@ -0,0 +1,85 @@
<?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>
<!--pivot-->
<record id="golem_member_analysis_pivot_age_start_gender" model="ir.ui.view">
<field name="name">Golem Member Analysis Age Start Gender Pivot</field>
<field name="model">golem.member.analysis</field>
<field name="arch" type="xml">
<pivot string="Golem Member 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">Golem Member Analysis Age End Gender Pivot</field>
<field name="model">golem.member.analysis</field>
<field name="arch" type="xml">
<pivot string="Golem Member Analysis">
<field name="age_range_end_season" type="row"/>
<field name="gender" type="col"/>
</pivot>
</field>
</record>
<record id="golem_member_analysis_pivot_age_start_area" model="ir.ui.view">
<field name="name">Golem Member Analysis Age Start Area Pivot</field>
<field name="model">golem.member.analysis</field>
<field name="arch" type="xml">
<pivot string="Golem Member 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">Golem Member Analysis Age End Area Pivot</field>
<field name="model">golem.member.analysis</field>
<field name="arch" type="xml">
<pivot string="Golem Member 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_start_tag" model="ir.ui.view">
<field name="name">Golem Member Analysis Age Start Tag Pivot</field>
<field name="model">golem.member.analysis</field>
<field name="arch" type="xml">
<pivot string="Golem Member 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">Golem Member Analysis Age End Tag Pivot</field>
<field name="model">golem.member.analysis</field>
<field name="arch" type="xml">
<pivot string="Golem Member Analysis">
<field name="age_range_end_season" type="col"/>
<field name="category_id" type="row"/>
</pivot>
</field>
</record>
</data>
</odoo>