2008-08-24 14:45:43 +00:00
|
|
|
<?xml version="1.0"?>
|
2008-09-10 17:56:00 +00:00
|
|
|
<openerp>
|
2008-10-30 08:20:03 +00:00
|
|
|
<data>
|
2010-06-08 09:16:10 +00:00
|
|
|
<!-- Need to merge this action in associations -->
|
2010-07-02 05:52:27 +00:00
|
|
|
|
2010-06-22 11:07:52 +00:00
|
|
|
<record model ="ir.ui.view" id="view_report_event_reg_graph">
|
|
|
|
<field name="name">Registration Event report</field>
|
|
|
|
<field name="model">report.event.registration</field>
|
|
|
|
<field name="type">graph</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<graph string="Event on Registration" type="bar" >
|
|
|
|
<field name="event_id"/>
|
|
|
|
<field name="draft_state" operator="+"/>
|
|
|
|
<field name="confirm_state" operator="+"/>
|
|
|
|
<field name="register_max" operator="+"/>
|
|
|
|
</graph>
|
|
|
|
</field>
|
2010-07-02 05:52:27 +00:00
|
|
|
</record>
|
|
|
|
|
2010-06-22 11:07:52 +00:00
|
|
|
<record model="ir.actions.act_window" id="act_event_reg">
|
|
|
|
<field name="name">Events On Registrations</field>
|
|
|
|
<field name="res_model">report.event.registration</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">graph,tree</field>
|
|
|
|
<field name="view_id" ref="view_report_event_reg_graph"/>
|
2010-07-02 05:52:27 +00:00
|
|
|
</record>
|
2010-06-22 11:07:52 +00:00
|
|
|
|
|
|
|
<record model="ir.actions.act_window" id="act_event_view">
|
|
|
|
<field name="name">Next Events</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">event.event</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
2010-07-02 05:52:27 +00:00
|
|
|
</record>
|
|
|
|
|
2008-10-30 08:20:03 +00:00
|
|
|
<record model="board.note.type" id="note_association_type">
|
|
|
|
<field name="name">associations</field>
|
|
|
|
</record>
|
2010-07-02 05:52:27 +00:00
|
|
|
|
2008-10-30 08:20:03 +00:00
|
|
|
<record model="ir.ui.view" id="board_associations_manager_form">
|
|
|
|
<field name="name">board.associations.manager.form</field>
|
|
|
|
<field name="model">board.board</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Association Dashboard">
|
|
|
|
<hpaned position="100">
|
|
|
|
<child1>
|
|
|
|
<action string="Next Events"
|
2010-06-22 11:07:52 +00:00
|
|
|
name="%(act_event_view)d"
|
2008-10-30 08:20:03 +00:00
|
|
|
colspan="4"/>
|
|
|
|
<action
|
2010-10-12 12:50:12 +00:00
|
|
|
string="Unconfirmed Registrations"
|
|
|
|
name="%(event.act_event_list_register_event)d"
|
2009-12-14 08:26:02 +00:00
|
|
|
colspan="4"
|
2010-10-12 12:50:12 +00:00
|
|
|
domain="[('state','=','draft')]"/>
|
2008-10-30 08:20:03 +00:00
|
|
|
</child1>
|
|
|
|
<child2>
|
2010-06-22 11:07:52 +00:00
|
|
|
<action string="Register Events"
|
|
|
|
name="%(act_event_reg)d"
|
2010-07-02 05:52:27 +00:00
|
|
|
colspan="4"/>
|
2008-10-30 08:20:03 +00:00
|
|
|
</child2>
|
|
|
|
</hpaned>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2008-08-24 14:45:43 +00:00
|
|
|
|
2008-10-30 08:20:03 +00:00
|
|
|
<record model="ir.actions.act_window" id="open_board_associations_manager">
|
2010-08-10 05:59:04 +00:00
|
|
|
<field name="name">Event Dashboard</field>
|
2008-10-30 08:20:03 +00:00
|
|
|
<field name="res_model">board.board</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="view_id" ref="board_associations_manager_form"/>
|
|
|
|
</record>
|
2010-07-26 05:56:23 +00:00
|
|
|
<menuitem id="board_associations" name="Dashboard" parent="base.menu_report_association" sequence="0"/>
|
2008-10-30 08:20:03 +00:00
|
|
|
<menuitem
|
2010-08-10 05:59:04 +00:00
|
|
|
name="Events" parent="board_associations"
|
2008-10-30 08:20:03 +00:00
|
|
|
action="open_board_associations_manager"
|
|
|
|
sequence="1"
|
|
|
|
id="menu_board_associations_manager"
|
|
|
|
icon="terp-graph"/>
|
2010-08-16 10:37:45 +00:00
|
|
|
<menuitem name="Marketing" icon="terp-crm" id="base.marketing_menu" sequence="17" action="open_board_associations_manager"/>
|
2008-08-24 14:45:43 +00:00
|
|
|
|
2008-10-30 08:20:03 +00:00
|
|
|
</data>
|
2008-09-10 17:56:00 +00:00
|
|
|
</openerp>
|