2008-08-24 14:45:43 +00:00
<?xml version="1.0"?>
2008-09-10 17:56:00 +00:00
<openerp >
2010-04-16 09:16:25 +00:00
<data >
2010-07-28 07:37:10 +00:00
<menuitem name= "Marketing" icon= "terp-crm" id= "base.marketing_menu" sequence= "17" />
<menuitem name= "Events Organisation" id= "base.menu_event_main" parent= "base.marketing_menu" />
2010-07-16 06:47:14 +00:00
2010-04-16 09:16:25 +00:00
<!-- EVENTS -->
2008-08-24 14:45:43 +00:00
2010-04-16 09:16:25 +00:00
<!-- EVENTS/CONFIGURATION/TYPE OF EVENTS -->
<record model= "ir.ui.view" id= "view_event_type_form" >
<field name= "name" > Event type</field>
<field name= "model" > event.type</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Event Type" >
<field name= "name" select= "1" />
</form>
</field>
</record>
2008-08-24 14:45:43 +00:00
2010-04-16 09:16:25 +00:00
<record model= "ir.ui.view" id= "view_event_type_tree" >
<field name= "name" > Event type</field>
<field name= "model" > event.type</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Event Type" >
<field name= "name" />
</tree>
</field>
</record>
2008-08-24 14:45:43 +00:00
2010-04-16 09:16:25 +00:00
<record model= "ir.actions.act_window" id= "action_event_type" >
<field name= "res_model" > event.type</field>
<field name= "view_type" > form</field>
</record>
2010-08-19 09:18:59 +00:00
<menuitem name= "Configuration" id= "base.menu_marketing_config_root" parent= "base.marketing_menu" sequence= "30" groups= "base.group_extended" />
<menuitem name= "Types of Events" id= "menu_event_type" action= "action_event_type" parent= "base.menu_marketing_config_root" groups= "base.group_extended" />
2008-08-24 14:45:43 +00:00
2010-06-21 06:02:20 +00:00
<!-- Events Organisation/CONFIGURATION/EVENTS -->
2008-08-24 14:45:43 +00:00
2010-04-16 09:16:25 +00:00
<record model= "ir.ui.view" id= "view_event_form" >
<field name= "name" > Events</field>
<field name= "model" > event.event</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Events" >
<group col= "6" colspan= "4" >
2010-07-16 10:16:51 +00:00
<field name= "name" />
2010-07-15 13:41:44 +00:00
<field name= "date_begin" />
2010-04-16 09:16:25 +00:00
<field name= "date_end" />
2010-07-16 06:47:14 +00:00
<field name= "type" widget= "selection" />
2010-07-15 13:41:44 +00:00
<field name= "language" />
2010-07-16 06:47:14 +00:00
<field name= "parent_id" />
2010-04-16 09:16:25 +00:00
</group>
<notebook colspan= "4" >
2010-07-15 13:41:44 +00:00
<page string= "Event" >
2010-08-19 11:51:57 +00:00
<group colspan= "4" col= "4" >
2010-07-16 06:47:14 +00:00
<separator string= "Invoice Information" colspan= "4" />
2010-07-15 13:41:44 +00:00
<field name= "product_id" on_change= "onchange_product(product_id)" colspan= "4" />
<field name= "unit_price" />
2010-10-07 12:49:31 +00:00
<field name= "pricelist_id" widget= "selection" domain= "[('type','=','sale')]" groups= "base.group_extended" />
2010-07-15 13:41:44 +00:00
</group>
<group colspan= "2" col= "2" >
<separator string= "Contact" colspan= "4" />
<field name= "user_id" />
<field name= "section_id" widget= "selection" on_change= "do_team_change(section_id)" />
2010-07-16 06:47:14 +00:00
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2010-07-15 13:41:44 +00:00
</group>
<group colspan= "2" col= "2" >
2010-07-16 06:47:14 +00:00
<separator string= "Location" colspan= "4" />
<field name= "country_id" />
<field name= "address_id" domain= "[('country_id','=',country_id)]" />
2010-07-15 13:41:44 +00:00
</group>
2010-07-16 10:16:51 +00:00
<separator string= "Description" colspan= "4" />
<field name= "note" colspan= "4" nolabel= "1" />
2010-04-16 09:16:25 +00:00
<field name= "state" select= "1" />
<group col= "4" colspan= "2" >
2009-09-24 10:46:21 +00:00
<button string= "Confirm Event" name= "button_confirm" states= "draft" type= "object" icon= "gtk-apply" />
<button string= "Cancel Event" name= "button_cancel" states= "draft,confirm" type= "object" icon= "gtk-cancel" />
<button string= "Event Done" name= "button_done" states= "confirm" type= "object" icon= "gtk-jump-to" />
<button string= "Set To Draft" name= "button_draft" states= "confirm,cancel,done" type= "object" icon= "gtk-convert" />
2010-04-16 09:16:25 +00:00
</group>
2010-07-16 06:47:14 +00:00
</page>
2010-07-15 13:41:44 +00:00
<page string= "Speakers" >
<field name= "main_speaker_id" domain= "[('speaker','=',True)]" />
<field name= "speaker_confirmed" />
<separator string= "Other Speakers" colspan= "4" />
<field name= "speaker_ids" domain= "[('speaker','=',True)]" colspan= "4" nolabel= "1" />
</page>
2010-07-16 06:47:14 +00:00
<page string= "Registrations" >
2010-07-15 13:41:44 +00:00
<field name= "register_min" />
<field name= "register_max" />
<field name= "register_current" />
<field name= "register_prospect" />
2010-07-16 10:16:51 +00:00
<field name= "registration_ids" colspan= "4" nolabel= "1" readonly= "1" >
2010-07-15 13:41:44 +00:00
<form string= "Registration" >
<field name= "name" />
<field name= "date" string= "Date" />
<field name= "partner_id" required= "1" on_change= "onchange_partner_id(partner_id,event_id)" />
2010-07-16 06:47:14 +00:00
<field name= "partner_invoice_id" on_change= "onchange_partner_invoice_id(event_id, partner_invoice_id)" />
2010-07-15 13:41:44 +00:00
<group colspan= "4" col= "4" >
<field name= "event_product" />
<field name= "nb_register" />
<field name= "unit_price" />
<field name= "price_subtotal" />
</group>
<group col= "8" colspan= "4" >
<separator string= "" colspan= "4" />
<newline />
<field name= "state" select= "1" colspan= "2" />
<button name= "button_reg_close" string= "Close Registration" states= "open" type= "object" icon= "gtk-close" />
<button name= "check_confirm" string= "Confirm Registration" states= "draft" type= "object" icon= "gtk-apply" />
<button name= "button_reg_cancel" string= "Cancel Registration" states= "draft,open" type= "object" icon= "gtk-cancel" />
</group>
</form>
2010-07-16 10:16:51 +00:00
<tree string= "Registration" >
<field name= "create_date" string= "Registration Date" />
2010-07-15 13:41:44 +00:00
<field name= "partner_id" required= "1" string= "Partner" on_change= "onchange_partner_id(partner_id,event_id)" />
<field name= "event_product" />
<field name= "nb_register" />
<field name= "unit_price" />
<field name= "price_subtotal" />
<field name= "state" />
<button name= "button_reg_close" string= "Close Registration" states= "open" type= "object" icon= "gtk-close" />
<button name= "check_confirm" string= "Confirm Registration" states= "draft" type= "object" icon= "gtk-apply" />
<button name= "button_reg_cancel" string= "Cancel Registration" states= "draft,open" type= "object" icon= "gtk-cancel" />
</tree>
</field>
2010-04-16 09:16:25 +00:00
</page>
2010-07-15 13:41:44 +00:00
<page string= "Mailing" >
2010-06-23 06:06:50 +00:00
<field name= "reply_to" />
2010-04-16 09:16:25 +00:00
<newline />
2010-07-20 06:22:14 +00:00
<group col= "4" colspan= "4" >
<group col= "2" colspan= "2" >
<separator string= "Auto Registration Email" colspan= "4" />
<field name= "mail_auto_registr" colspan= "4" />
<group colspan= "4" attrs= "{'readonly':[('mail_auto_registr','=',False)]}" >
<separator string= "Registration Email Body" colspan= "4" />
<field name= "mail_registr" colspan= "4" nolabel= "1" />
</group>
</group>
<group col= "2" colspan= "2" >
<separator string= "Auto Confirmation Email" colspan= "4" />
<field name= "mail_auto_confirm" colspan= "4" />
<group colspan= "4" attrs= "{'readonly':[('mail_auto_confirm','=',False)]}" >
<separator string= "Confirmation Email Body" colspan= "4" />
<field name= "mail_confirm" nolabel= "1" colspan= "4" />
</group>
</group>
2010-06-07 06:43:12 +00:00
</group>
2010-08-19 11:51:57 +00:00
</page>
2010-04-16 09:16:25 +00:00
</notebook>
</form>
</field>
</record>
2008-08-24 14:45:43 +00:00
2010-07-12 13:30:56 +00:00
<!-- Event tree view -->
2010-07-16 06:47:14 +00:00
2010-04-16 09:16:25 +00:00
<record model= "ir.ui.view" id= "view_event_tree" >
<field name= "name" > event.event.tree</field>
<field name= "model" > event.event</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Events" colors= "red:register_min>register_current;black:register_min<=register_current" >
<field name= "name" string= "Name" />
2010-07-09 11:15:14 +00:00
<field name= "main_speaker_id" />
<field name= "language" />
2010-06-21 06:02:20 +00:00
<field name= "type" />
2010-04-16 09:16:25 +00:00
<field name= "date_begin" />
2010-07-09 11:15:14 +00:00
<field name= "date_end" />
2010-04-16 09:16:25 +00:00
<field name= "register_min" />
<field name= "register_current" />
<field name= "state" />
2010-07-15 13:41:44 +00:00
<button string= "Confirm Event" help= "Confirm Event" name= "button_confirm" states= "draft" type= "object" icon= "gtk-apply" />
<button string= "Cancel Event" help= "Cancel Event" name= "button_cancel" states= "draft,confirm" type= "object" icon= "gtk-cancel" />
<button string= "Event Done" help= "Event Done" name= "button_done" states= "confirm" type= "object" icon= "gtk-jump-to" />
2010-07-16 06:47:14 +00:00
<button string= "Set To Draft" help= "Set To Draft" name= "button_draft" states= "confirm,cancel,done" type= "object" icon= "gtk-convert" />
2010-04-16 09:16:25 +00:00
</tree>
</field>
</record>
2010-07-16 06:47:14 +00:00
<!-- Events Calendar View -->
2010-06-30 14:21:59 +00:00
<record id= "view_event_calendar" model= "ir.ui.view" >
<field name= "name" > event.event.calendar</field>
<field name= "model" > event.event</field>
<field name= "type" > calendar</field>
<field eval= "2" name= "priority" />
<field name= "arch" type= "xml" >
<calendar color= "user_id" date_start= "date_begin" string= "Event Organization" >
<field name= "name" />
2010-07-02 08:32:50 +00:00
<field name= "type" widget= "selection" />
2010-06-30 14:21:59 +00:00
</calendar>
</field>
</record>
2010-07-16 06:47:14 +00:00
2010-07-12 13:30:56 +00:00
<!-- Event Graph view -->
2010-07-16 06:47:14 +00:00
2010-06-30 14:21:59 +00:00
<record model= "ir.ui.view" id= "view_event_graph" >
<field name= "name" > Event Graph</field>
<field name= "model" > event.event</field>
<field name= "type" > graph</field>
<field name= "arch" type= "xml" >
<graph string= "Event by Registration" type= "bar" orientation= "horizontal" >
<field name= "name" />
<field name= "register_current" operator= "+" />
<field name= "register_prospect" operator= "+" />
</graph>
</field>
</record>
2009-12-23 11:43:11 +00:00
2010-07-12 13:30:56 +00:00
<!-- Event Search View -->
2010-04-16 09:16:25 +00:00
<record model= "ir.ui.view" id= "view_event_search" >
<field name= "name" > Events</field>
<field name= "model" > event.event</field>
<field name= "type" > search</field>
<field name= "arch" type= "xml" >
<search string= "Events" >
<group col= "10" colspan= "4" >
2010-10-05 13:06:14 +00:00
<filter icon= "terp-check" string= "Current" name= "draft" domain= "[('state','in',('draft', 'confirm'))]" help= "Events in draft or confirmed state" />
<filter icon= "terp-camera_test" string= "Confirmed" domain= "[('state','=','confirm')]" help= "Confirmed events" />
2010-04-16 09:16:25 +00:00
<separator orientation= "vertical" />
2010-10-05 13:06:14 +00:00
<field name= "name" select= "1" />
2010-06-07 06:43:12 +00:00
<field name= "user_id" widget= "selection" >
2010-10-05 13:06:14 +00:00
<filter icon= "terp-personal"
string="My Events"
help="My Events"
domain="[('user_id','=',uid)]"/>
2010-06-21 06:02:20 +00:00
</field>
2010-04-16 09:16:25 +00:00
<field name= "date_begin" select= "1" />
2010-10-05 13:06:14 +00:00
<field name= "state" select= "1" />
2010-04-16 09:16:25 +00:00
</group>
2010-06-07 06:43:12 +00:00
<newline />
2010-06-21 06:02:20 +00:00
<group expand= "0" string= "Group By..." colspan= "4" col= "12" >
2010-10-05 13:06:14 +00:00
<filter string= "Responsible" icon= "terp-personal" context= "{'group_by': 'user_id'}" />
<separator orientation= "vertical" />
2010-06-09 13:58:21 +00:00
<filter string= "Event Type" icon= "terp-crm" context= "{'group_by':'type'}" />
2010-06-21 06:02:20 +00:00
<filter string= "state" icon= "terp-stock_effects-object-colorize" context= "{'group_by':'state'}" />
2010-07-16 06:47:14 +00:00
<separator orientation= "vertical" />
2010-10-05 13:06:14 +00:00
<filter string= "Beginning Date" icon= "terp-go-month"
2010-06-21 06:02:20 +00:00
domain="[]" context="{'group_by':'date_begin'}"/>
2010-04-16 09:16:25 +00:00
</group>
</search>
</field>
</record>
2008-08-24 14:45:43 +00:00
2010-04-16 09:16:25 +00:00
<!-- Events Organisation/CONFIGURATION/EVENTS -->
2010-07-16 06:47:14 +00:00
2009-09-24 10:46:21 +00:00
<record model= "ir.actions.act_window" id= "action_event_view" >
<field name= "name" > Events</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > event.event</field>
<field name= "view_type" > form</field>
2010-06-30 14:21:59 +00:00
<field name= "view_mode" > tree,form,calendar,graph</field>
2010-06-22 11:07:52 +00:00
<field name= "context" > {"search_default_draft": "1"}</field>
2009-12-09 13:38:11 +00:00
<field name= "search_view_id" ref= "view_event_search" />
2009-09-24 10:46:21 +00:00
</record>
2010-07-16 06:47:14 +00:00
2010-06-21 06:02:20 +00:00
<act_window
id="act_event_list_register_event"
name="Registration"
res_model="event.registration"
src_model="event.event"
2010-06-30 14:21:59 +00:00
view_mode="tree,form,calendar,graph"
2010-10-05 12:43:01 +00:00
context="{'search_default_event_id': active_id}"
2010-06-21 06:02:20 +00:00
view_type="form"/>
2010-07-16 06:47:14 +00:00
2010-06-30 14:21:59 +00:00
<act_window
id="act_register_event_partner"
name="Subscribe"
res_model="event.registration"
src_model="res.partner"
view_mode="tree,form,calendar,graph"
2010-09-28 13:17:10 +00:00
context="{'search_default_partner_id': [active_id]}"
2010-07-16 06:47:14 +00:00
view_type="form"/>
2009-12-23 11:43:11 +00:00
2010-07-28 07:37:10 +00:00
<menuitem name= "Events" id= "menu_event_event" action= "action_event_view" parent= "base.menu_event_main" />
2008-08-24 14:45:43 +00:00
2010-04-16 09:16:25 +00:00
<!-- EVENTS/REGISTRATIONS/EVENTS -->
2008-08-24 14:45:43 +00:00
2010-07-16 06:47:14 +00:00
2010-06-22 11:07:52 +00:00
<record model= "ir.ui.view" id= "view_event_registration_tree" >
2010-04-16 09:16:25 +00:00
<field name= "name" > event.registration.tree</field>
<field name= "model" > event.registration</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
<tree string= "Registration" >
<field name= "partner_id" />
2010-10-05 13:06:14 +00:00
<field name= "event_id" />
2010-04-16 09:16:25 +00:00
<field name= "nb_register" />
2010-10-05 13:06:14 +00:00
<field name= "price_subtotal" sum= "Total" />
<field name= "user_id" />
2010-04-16 09:16:25 +00:00
<field name= "state" />
2010-07-15 13:41:44 +00:00
<button name= "button_reg_close" string= "Close Registration" states= "open" type= "object" icon= "gtk-close" />
<button name= "check_confirm" string= "Confirm Registration" states= "draft" type= "object" icon= "gtk-apply" />
<button name= "button_reg_cancel" string= "Cancel Registration" states= "draft,open" type= "object" icon= "gtk-cancel" />
2010-04-16 09:16:25 +00:00
</tree>
</field>
</record>
2008-08-24 14:45:43 +00:00
2010-06-22 11:07:52 +00:00
<record model= "ir.ui.view" id= "view_event_registration_form" >
2010-04-16 09:16:25 +00:00
<field name= "name" > event.registration.form</field>
<field name= "model" > event.registration</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Registration" >
<group col= "6" colspan= "4" >
2010-07-15 13:41:44 +00:00
<field name= "event_id" on_change= "onchange_event(event_id, partner_invoice_id)" domain= "[('state','in',('draft','confirm'))]" />
2010-07-16 10:16:51 +00:00
<field name= "create_date" string= "Registration Date" />
2010-07-15 13:41:44 +00:00
<field name= "name" />
<field name= "partner_id" required= "1" on_change= "onchange_partner_id(partner_id,event_id)" />
<field name= "user_id" />
2010-07-16 06:47:14 +00:00
<field name= "tobe_invoiced" />
2010-04-16 09:16:25 +00:00
</group>
<notebook colspan= "4" >
2010-07-16 06:47:14 +00:00
<page string= "Registration" >
2010-07-16 10:16:51 +00:00
<field name= "date" />
<field name= "date_deadline" />
2010-07-15 13:41:44 +00:00
<group colspan= "2" col= "2" >
<separator string= "Registration Cost" colspan= "4" />
2010-06-30 14:21:59 +00:00
<field name= "nb_register" />
<field name= "unit_price" />
2010-07-15 13:41:44 +00:00
<field name= "price_subtotal" />
2010-07-16 06:47:14 +00:00
</group>
<group colspan= "2" col= "2" attrs= "{'invisible':[('tobe_invoiced','=',False)]}" >
<separator string= "Invoice" colspan= "4" />
<field name= "event_product" attrs= "{'required':[('tobe_invoiced','=',True)]}" />
<field name= "partner_invoice_id" attrs= "{'required':[('tobe_invoiced','=',True)]}" on_change= "onchange_partner_invoice_id(event_id, partner_invoice_id)" />
2010-08-19 11:51:57 +00:00
<field name= "invoice_id" />
2010-07-16 06:47:14 +00:00
</group>
2010-07-16 10:16:51 +00:00
<separator string= "Description" colspan= "4" />
<field name= "description" colspan= "4" nolabel= "1" />
2010-07-20 06:40:23 +00:00
<separator string= "" colspan= "4" />
2010-08-19 11:51:57 +00:00
<group col= "8" colspan= "4" >
2010-07-20 06:40:23 +00:00
<field name= "state" select= "1" colspan= "2" />
2010-10-05 13:06:14 +00:00
<button name= "button_reg_cancel" string= "Cancel Registration" states= "draft,open" type= "object" icon= "gtk-cancel" />
2010-06-21 06:02:20 +00:00
<button name= "button_reg_close" string= "Close Registration" states= "open" type= "object" icon= "gtk-close" />
2010-06-09 13:58:21 +00:00
<button name= "check_confirm" string= "Confirm Registration" states= "draft" type= "object" icon= "gtk-apply" />
</group>
</page>
2010-07-15 13:41:44 +00:00
<page string= "Extra Info" >
<separator string= "Contact" colspan= "4" />
<field name= "contact_id" on_change= "onchange_contact_id(contact_id, partner_id)" />
<field name= "email_from" />
<field name= "badge_ids" colspan= "4" nolabel= "1" >
<tree string= "Badges" editable= "bottom" >
<field name= "name" />
<field name= "title" />
<field name= "address_id" />
</tree>
<form string= "Badges" >
<field name= "name" />
<field name= "title" />
<field name= "address_id" />
</form>
</field>
2010-07-16 10:16:51 +00:00
<group col= "2" colspan= "2" groups= "base.group_extended" >
2010-08-19 11:51:57 +00:00
<separator string= "Dates" colspan= "2" />
2010-07-15 13:41:44 +00:00
<field name= "date_closed" />
</group>
2010-07-16 10:16:51 +00:00
<group col= "2" colspan= "2" groups= "base.group_extended" >
2010-07-15 13:41:44 +00:00
<separator string= "Misc" colspan= "2" />
<field name= "id" />
<field name= "active" />
2010-07-16 06:47:14 +00:00
</group>
2010-06-09 13:58:21 +00:00
</page>
2010-06-21 06:02:20 +00:00
<page string= "Emails" groups= "base.group_extended" >
<group colspan= "4" >
2010-07-12 13:30:56 +00:00
<field colspan= "4" name= "email_cc" string= "CC" widget= "char" size= "512" />
2010-06-09 13:58:21 +00:00
</group>
2010-07-16 10:41:21 +00:00
<field name= "message_ids" colspan= "4" nolabel= "1" mode= "tree,form" >
2010-09-17 12:13:18 +00:00
<tree string= "History" >
2010-07-16 10:41:21 +00:00
<field name= "display_text" string= "History Information" />
2010-09-06 10:47:08 +00:00
<field name= "history" invisible= "1" />
2010-07-16 10:41:21 +00:00
<button
2010-08-11 10:57:05 +00:00
string="Reply" attrs="{'invisible': [('history', '!=', True)]}"
2010-07-16 10:41:21 +00:00
name="%(crm.action_crm_send_mail)d"
context="{'mail':'reply', 'model': 'event.registration', 'include_original' : True}"
2010-07-19 06:08:18 +00:00
icon="terp-mail-replied" type="action" />
2010-07-16 10:41:21 +00:00
</tree>
2010-09-17 12:13:18 +00:00
<form string= "History" >
2010-07-16 10:41:21 +00:00
<group col= "4" colspan= "4" >
<field name= "email_from" />
<field name= "date" />
<field name= "email_to" widget= "char" size= "512" />
<field name= "email_cc" widget= "char" size= "512" />
<field name= "name" colspan= "4" widget= "char" size= "512" />
2010-08-11 10:57:05 +00:00
<field name= "history" invisible= "1" />
2010-07-16 10:41:21 +00:00
</group>
2010-06-30 14:21:59 +00:00
<notebook colspan= "4" >
<page string= "Details" >
2010-08-11 10:57:05 +00:00
<group attrs= "{'invisible': [('history', '!=', True)]}" >
<field name= "description" colspan= "4" nolabel= "1" height= "250" />
<button colspan= "4"
string="Reply"
name="%(crm.action_crm_send_mail)d"
context="{'mail':'reply', 'model': 'event.registration', 'include_original' : True}"
icon="terp-mail-replied" type="action" />
</group>
<group attrs= "{'invisible': [('history', '=', True)]}" >
<field name= "display_text" colspan= "4" nolabel= "1" height= "250" />
</group>
2010-06-30 14:21:59 +00:00
</page>
<page string= "Attachments" >
<field name= "attachment_ids" colspan= "4" readonly= "1" nolabel= "1" />
</page>
</notebook>
</form>
2010-07-16 10:41:21 +00:00
</field>
2010-09-20 12:26:34 +00:00
<button string= "Add Internal Note"
2010-09-07 13:21:40 +00:00
name="%(crm.action_crm_add_note)d"
context="{'model': 'crm.lead' }"
icon="terp-document-new" type="action" />
<button string= "Send New Email"
2010-06-21 06:58:03 +00:00
name="%(crm.action_crm_send_mail)d"
context="{'mail':'new', 'model': 'event.registration'}"
2010-07-19 06:08:18 +00:00
icon="terp-mail-message-new" type="action" />
2010-07-16 06:47:14 +00:00
</page>
2010-04-16 09:16:25 +00:00
</notebook>
</form>
</field>
</record>
2010-07-16 06:47:14 +00:00
<!-- Calendar view of event registration -->
2010-06-30 14:21:59 +00:00
<record id= "view_event_registration_calendar" model= "ir.ui.view" >
<field name= "name" > event.registration.calendar</field>
<field name= "model" > event.registration</field>
<field name= "type" > calendar</field>
<field eval= "2" name= "priority" />
<field name= "arch" type= "xml" >
2010-07-16 10:16:51 +00:00
<calendar color= "event_id" date_start= "date" date_delay= "duration" string= "Event Registration" >
2010-06-30 14:21:59 +00:00
<field name= "event_id" />
<field name= "partner_invoice_id" />
</calendar>
</field>
</record>
2010-07-16 06:47:14 +00:00
2010-06-30 14:21:59 +00:00
<record model= "ir.ui.view" id= "view_event_registration_graph" >
<field name= "name" > Registration Graph</field>
<field name= "model" > event.registration</field>
<field name= "type" > graph</field>
<field name= "arch" type= "xml" >
<graph string= "Registration" type= "bar" orientation= "horizontal" >
<field name= "event_id" />
<field name = "nb_register" operator= "+" />
</graph>
</field>
</record>
2010-07-16 06:47:14 +00:00
2008-08-24 14:45:43 +00:00
2010-06-07 06:43:12 +00:00
<!-- Search view of event registration form -->
2010-04-16 09:16:25 +00:00
<record model= "ir.ui.view" id= "view_registration_search" >
<field name= "name" > Registrations</field>
<field name= "model" > event.registration</field>
<field name= "type" > search</field>
<field name= "arch" type= "xml" >
<search string= "Event Registration" >
<group col= "12" colspan= "4" >
2010-10-05 13:06:14 +00:00
<filter icon= "terp-check" string= "Current" name= "draft" domain= "[('state','in',('draft', 'open'))]" help= "Registrations in unconfirmed or confirmed state" />
<filter icon= "terp-camera_test" string= "Confirmed" domain= "[('state','=','open')]" help= "Confirmed registrations" />
2010-04-16 09:16:25 +00:00
<separator orientation= "vertical" />
2010-06-21 06:02:20 +00:00
<field name= "partner_id" />
2010-06-07 06:43:12 +00:00
<field name= "event_id" widget= "selection" />
2010-06-21 06:02:20 +00:00
<field name= "user_id" widget= "selection" >
2010-10-05 13:06:14 +00:00
<filter icon= "terp-personal"
string="My Registrations"
help="My Registrations"
domain="[('user_id','=',uid)]"/>
2010-06-21 06:02:20 +00:00
</field>
2010-10-05 13:06:14 +00:00
<field name= "state" select= "1" />
2010-04-16 09:16:25 +00:00
</group>
2010-07-16 06:47:14 +00:00
<newline />
2010-06-21 06:02:20 +00:00
<group expand= "0" string= "Group By..." >
2010-10-05 13:06:14 +00:00
<filter string= "Responsible" icon= "terp-personal" domain= "[]" context= "{'group_by':'user_id'}" />
<filter string= "Partner" icon= "terp-partner" domain= "[]" context= "{'group_by':'partner_id'}" />
<separator orientation= "vertical" />
2010-06-21 06:02:20 +00:00
<filter string= "Event" icon= "terp-crm" domain= "[]" context= "{'group_by':'event_id'}" />
<filter string= "State" icon= "terp-stock_effects-object-colorize" domain= "[]" context= "{'group_by':'state'}" />
2010-06-07 06:43:12 +00:00
</group>
2010-04-16 09:16:25 +00:00
</search>
</field>
</record>
2009-12-09 13:38:11 +00:00
2010-04-16 09:16:25 +00:00
<record model= "ir.actions.act_window" id= "action_registration" >
<field name= "name" > Registrations</field>
<field name= "res_model" > event.registration</field>
<field name= "view_type" > form</field>
<field name= "domain" > </field>
2010-06-30 14:21:59 +00:00
<field name= "view_mode" > tree,form,calendar,graph</field>
2010-06-22 11:07:52 +00:00
<field name= "context" > {"search_default_draft": "1"}</field>
2010-04-16 09:16:25 +00:00
<field name= "search_view_id" ref= "view_registration_search" />
</record>
2010-07-16 06:47:14 +00:00
2010-04-16 09:16:25 +00:00
<menuitem
name="Registrations"
2010-07-28 07:37:10 +00:00
id="menu_action_registration" parent="base.menu_event_main"
2010-04-16 09:16:25 +00:00
action="action_registration"/>
2010-07-28 07:37:10 +00:00
<menuitem name= "Reporting" id= "base.menu_report_association" parent= "base.marketing_menu" sequence= "20" />
2010-04-16 09:16:25 +00:00
</data>
2008-09-10 17:56:00 +00:00
</openerp>