2010-06-09 13:58:21 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<openerp>
|
2012-10-10 16:36:25 +00:00
|
|
|
<data>
|
2010-10-14 17:22:48 +00:00
|
|
|
|
2010-06-09 13:58:21 +00:00
|
|
|
<record model ="ir.ui.view" id="report_event_registration_graph">
|
|
|
|
<field name="name">report.event.registration.graph</field>
|
|
|
|
<field name="model">report.event.registration</field>
|
|
|
|
<field name="arch" type="xml">
|
2013-12-31 14:34:14 +00:00
|
|
|
<graph string="Event on Registration" type="pivot" >
|
2014-01-27 09:49:18 +00:00
|
|
|
<field name="event_type" type="row"/>
|
|
|
|
<field name="event_date" interval="month" type="col"/>
|
2014-08-21 10:53:47 +00:00
|
|
|
<field name="nbregistration" type="measure"/>
|
2014-01-27 09:49:18 +00:00
|
|
|
<field name="confirm_state" type="measure"/>
|
2010-06-09 13:58:21 +00:00
|
|
|
</graph>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-08-19 11:51:57 +00:00
|
|
|
|
2012-10-10 16:36:25 +00:00
|
|
|
<!-- Event on Registration search view -->
|
2010-06-09 13:58:21 +00:00
|
|
|
<record model="ir.ui.view" id="view_report_event_registration_search">
|
2010-10-13 09:44:28 +00:00
|
|
|
<field name="name">report.event.registration.search</field>
|
2010-06-09 13:58:21 +00:00
|
|
|
<field name="model">report.event.registration</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<search string="Event on Registration">
|
2014-08-21 10:53:47 +00:00
|
|
|
<filter string="New" domain="[('event_state','=','draft')]" help="Events which are in New state"/>
|
|
|
|
<filter string="Confirm" domain="[('event_state','=','confirm')]" help="Events which are in confirm state"/>
|
2012-07-30 08:50:27 +00:00
|
|
|
<separator/>
|
2014-08-21 10:53:47 +00:00
|
|
|
<filter string="My Events" help="My Events" domain="[('user_id','=',uid)]"/>
|
2012-07-31 11:28:04 +00:00
|
|
|
<field name="event_id" string="Event"/>
|
|
|
|
<field name="user_id"/>
|
2012-04-25 14:35:28 +00:00
|
|
|
<group expand="0" string="Extended Filters...">
|
2012-01-10 14:08:26 +00:00
|
|
|
<field name="event_type" widget="selection"/>
|
2012-01-09 14:17:04 +00:00
|
|
|
<field name="event_date"/>
|
2010-10-26 05:37:35 +00:00
|
|
|
</group>
|
|
|
|
<newline/>
|
2014-05-22 09:44:35 +00:00
|
|
|
<group expand="1" string="Group By">
|
2014-08-21 10:53:47 +00:00
|
|
|
<filter string="Participant" context="{'group_by':'name_registration'}" help="Registration contact"/>
|
|
|
|
<filter string="Event Type" context="{'group_by':'event_type'}"/>
|
|
|
|
<filter string="Event" name="event" context="{'group_by':'event_id', 'max_reg_event_visible':0}"/>
|
|
|
|
<filter string="Event State" context="{'group_by':'event_state'}"/>
|
|
|
|
<filter string="Company" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
|
|
|
|
<separator/>
|
|
|
|
<filter string="Event Month" context="{'group_by':'event_date:month'}" help="Event Beginning Date"/>
|
2012-01-06 13:59:55 +00:00
|
|
|
</group>
|
2012-06-15 13:12:31 +00:00
|
|
|
<group expand="0" string="Display">
|
2014-08-21 10:53:47 +00:00
|
|
|
<filter string="Show Confirmed Registrations" domain="[('event_state','<>','draft')]"
|
2012-07-24 05:57:24 +00:00
|
|
|
help="Registrations in confirmed or done state" context="{'no_of_draft_invisible':1}"/>
|
2012-06-15 13:12:31 +00:00
|
|
|
</group>
|
2010-06-09 13:58:21 +00:00
|
|
|
</search>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2012-10-10 16:36:25 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_report_event_registration">
|
2010-10-14 17:22:48 +00:00
|
|
|
<field name="name">Events Analysis</field>
|
2010-06-09 13:58:21 +00:00
|
|
|
<field name="res_model">report.event.registration</field>
|
|
|
|
<field name="view_type">form</field>
|
2013-12-31 14:34:14 +00:00
|
|
|
<field name="view_mode">graph</field>
|
2010-06-09 13:58:21 +00:00
|
|
|
<field name="search_view_id" ref="view_report_event_registration_search"/>
|
2014-01-27 09:49:18 +00:00
|
|
|
<field name="context">{"group_by_no_leaf":1, "group_by":[]}</field>
|
2010-06-09 13:58:21 +00:00
|
|
|
</record>
|
2010-08-19 11:51:57 +00:00
|
|
|
|
2012-10-10 16:36:25 +00:00
|
|
|
<record model="ir.actions.act_window.view" id="action_report_event_registration_graph">
|
2010-06-22 07:47:52 +00:00
|
|
|
<field name="sequence" eval="2"/>
|
|
|
|
<field name="view_mode">graph</field>
|
|
|
|
<field name="view_id" ref="report_event_registration_graph"/>
|
|
|
|
<field name="act_window_id" ref="action_report_event_registration"/>
|
2012-10-10 16:36:25 +00:00
|
|
|
</record>
|
2010-06-22 07:47:52 +00:00
|
|
|
|
2012-03-07 09:51:24 +00:00
|
|
|
<menuitem parent="base.menu_reporting" id="menu_reporting_events" sequence="30" groups="event.group_event_manager" name="Events"/>
|
2012-03-05 11:56:07 +00:00
|
|
|
<menuitem parent="menu_reporting_events" action="action_report_event_registration" id="menu_report_event_registration" sequence="3" groups="event.group_event_manager"/>
|
2010-08-19 11:51:57 +00:00
|
|
|
|
2010-06-09 13:58:21 +00:00
|
|
|
</data>
|
2010-08-19 11:51:57 +00:00
|
|
|
</openerp>
|