2009-12-04 14:15:17 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<openerp>
|
2010-05-13 08:39:35 +00:00
|
|
|
<data>
|
2010-05-27 09:26:52 +00:00
|
|
|
<!-- Fund Raising Configuration Menu -->
|
|
|
|
<menuitem id="menu_config_fundrising" name="Fund Raising"
|
2012-04-25 11:51:39 +00:00
|
|
|
groups="base.group_no_one"
|
2012-03-19 12:24:13 +00:00
|
|
|
parent="base.menu_base_config" sequence="65" />
|
2009-12-04 14:15:17 +00:00
|
|
|
|
2010-05-13 08:39:35 +00:00
|
|
|
<!-- Fund Raising Categories Form View -->
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-05-13 08:39:35 +00:00
|
|
|
<record id="crm_fund_categ_action" model="ir.actions.act_window">
|
|
|
|
<field name="name">Fundraising Categories</field>
|
|
|
|
<field name="res_model">crm.case.categ</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_id" ref="crm.crm_case_categ_tree-view"/>
|
|
|
|
<field name="domain">[('object_id.model', '=', 'crm.fundraising')]</field>
|
2011-11-24 14:20:01 +00:00
|
|
|
<field name="context" eval="{'object_id': ref('model_crm_fundraising')}"/>
|
2010-10-16 08:26:55 +00:00
|
|
|
<field name="help">Manage and define the fund raising categories you want to be maintained in the system.</field>
|
2010-05-13 08:39:35 +00:00
|
|
|
</record>
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-06-29 10:52:26 +00:00
|
|
|
<menuitem action="crm_fund_categ_action" name="Categories"
|
2012-03-19 10:09:54 +00:00
|
|
|
id="menu_crm_case_fundraising-act" groups="base.group_no_one"
|
2010-05-27 09:26:52 +00:00
|
|
|
parent="menu_config_fundrising" />
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-05-13 08:39:35 +00:00
|
|
|
<!-- Fund Stage Form View -->
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-04-06 16:15:10 +00:00
|
|
|
<record id="crm_fundraising_stage_act" model="ir.actions.act_window">
|
|
|
|
<field name="name">Fundraising Stages</field>
|
|
|
|
<field name="res_model">crm.case.stage</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_id" ref="crm.crm_case_stage_tree"/>
|
2011-02-21 10:11:00 +00:00
|
|
|
<field name="context">{'search_default_fundraising':1}</field>
|
2010-10-16 08:26:55 +00:00
|
|
|
<field name="help">Create and manage fund raising activity categories you want to be maintained in the system.</field>
|
2010-04-06 16:15:10 +00:00
|
|
|
</record>
|
2011-02-18 11:23:34 +00:00
|
|
|
|
2010-05-13 08:39:35 +00:00
|
|
|
<!-- Fund Raising Tree View -->
|
2010-03-05 12:43:16 +00:00
|
|
|
|
2010-05-13 08:39:35 +00:00
|
|
|
<record model="ir.ui.view" id="crm_case_tree_view_fund">
|
|
|
|
<field name="name">CRM - Funds Tree</field>
|
|
|
|
<field name="model">crm.fundraising</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="Funds Tree"
|
2010-09-20 11:33:27 +00:00
|
|
|
colors="blue:state=='pending';grey:state in ('cancel', 'done')">
|
2010-05-13 08:39:35 +00:00
|
|
|
<field name="name" string="Fund Description" />
|
|
|
|
<field name="categ_id" />
|
|
|
|
<field name="type_id" string="Payment Mode" />
|
|
|
|
<field name="planned_cost" string="Amount" />
|
|
|
|
<field name="probability" />
|
|
|
|
<field name="user_id" />
|
|
|
|
<field name="state" />
|
|
|
|
<field name="partner_id" invisible="1"/>
|
2010-10-11 13:35:12 +00:00
|
|
|
<button name="case_cancel" string="Cancel"
|
|
|
|
states="draft,open,pending" type="object"
|
|
|
|
icon="gtk-cancel" />
|
2010-05-13 08:39:35 +00:00
|
|
|
<button name="case_open" string="Open"
|
|
|
|
states="draft,pending" type="object"
|
|
|
|
icon="gtk-go-forward" />
|
|
|
|
<button name="case_pending" string="Pending"
|
|
|
|
states="draft,open" type="object" icon="gtk-media-pause" />
|
|
|
|
<button name="case_escalate" string="Escalate"
|
|
|
|
states="open,draft,pending" type="object"
|
|
|
|
icon="gtk-go-up" />
|
2010-06-24 13:16:40 +00:00
|
|
|
<button name="case_close" string="Done"
|
|
|
|
states="open,draft,pending" type="object"
|
|
|
|
icon="gtk-close" />
|
2010-05-13 08:39:35 +00:00
|
|
|
<button name="case_reset" string="Reset to Draft"
|
|
|
|
states="done,cancel" type="object" icon="gtk-convert" />
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-05-13 08:39:35 +00:00
|
|
|
<!-- Fund Raising Form View -->
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-05-13 08:39:35 +00:00
|
|
|
<record model="ir.ui.view" id="crm_case_form_view_fund">
|
|
|
|
<field name="name">CRM - Funds Form</field>
|
|
|
|
<field name="model">crm.fundraising</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Funds Form">
|
2010-02-08 08:44:04 +00:00
|
|
|
<group colspan="4" col="6">
|
2010-05-13 08:39:35 +00:00
|
|
|
<field name="name" select="1" string="Name"/>
|
2010-02-08 09:21:58 +00:00
|
|
|
<field name="section_id" colspan="1" widget="selection"/>
|
2010-05-13 08:39:35 +00:00
|
|
|
<field name="user_id" string="Responsible"/>
|
2010-04-06 16:15:10 +00:00
|
|
|
<field name="date"/>
|
2010-05-13 08:39:35 +00:00
|
|
|
<field name="categ_id" select="1" widget="selection" domain="[('object_id.model', '=', 'crm.fundraising')]"/>
|
2010-10-01 12:37:19 +00:00
|
|
|
<field name="type_id" string="Payment Mode" select="1" widget="selection"/>
|
2009-12-04 14:15:17 +00:00
|
|
|
</group>
|
2010-05-13 08:39:35 +00:00
|
|
|
<notebook colspan="4">
|
|
|
|
<page string="Funds">
|
|
|
|
<group colspan="2" col="2">
|
|
|
|
<separator colspan="4" string="Communication"/>
|
|
|
|
<field name="partner_id" select="1"
|
|
|
|
on_change="onchange_partner_id(partner_id, email_from)"
|
|
|
|
colspan="2" />
|
|
|
|
<field name="email_from" colspan="2"/>
|
|
|
|
</group>
|
|
|
|
<group colspan="2" col="2">
|
|
|
|
<separator colspan="4" string="Estimates"/>
|
|
|
|
<field name="planned_cost"/>
|
|
|
|
<field name="planned_revenue"/>
|
|
|
|
<field name="probability"/>
|
|
|
|
</group>
|
|
|
|
<separator colspan="4" string="Notes"/>
|
|
|
|
<field name="description" nolabel="1" colspan="4"/>
|
|
|
|
<separator colspan="4"/>
|
|
|
|
<group col="8" colspan="4">
|
2011-09-21 05:17:20 +00:00
|
|
|
<field name="state" widget="statusbar" statusbar_visible="draft,open,done" statusbar_colors='{"pending":"blue"}'/>
|
2010-10-11 13:35:12 +00:00
|
|
|
<button name="case_cancel" string="Cancel"
|
|
|
|
states="draft,open,pending" type="object"
|
|
|
|
icon="gtk-cancel" />
|
2010-05-13 08:39:35 +00:00
|
|
|
<button name="case_open" string="Open"
|
|
|
|
states="draft,pending" type="object"
|
|
|
|
icon="gtk-go-forward" />
|
|
|
|
<button name="case_pending" string="Pending"
|
|
|
|
states="draft,open" type="object"
|
|
|
|
icon="gtk-media-pause" />
|
|
|
|
<button name="case_escalate" string="Escalate"
|
|
|
|
states="open,draft,pending" type="object"
|
|
|
|
icon="gtk-go-up" />
|
2010-06-24 13:16:40 +00:00
|
|
|
<button name="case_close" string="Done"
|
|
|
|
states="open,draft,pending" type="object"
|
|
|
|
icon="gtk-close" />
|
2010-05-13 08:39:35 +00:00
|
|
|
<button name="case_reset"
|
|
|
|
string="Reset to Draft" states="done,cancel"
|
|
|
|
type="object" icon="gtk-convert" />
|
|
|
|
</group>
|
|
|
|
</page>
|
2012-04-25 11:51:39 +00:00
|
|
|
<page string="Communication & History">
|
2010-05-13 08:39:35 +00:00
|
|
|
<group colspan="4">
|
2010-07-16 11:43:18 +00:00
|
|
|
<field colspan="4" name="email_cc" string="Global CC" widget="char"/>
|
2010-05-13 08:39:35 +00:00
|
|
|
</group>
|
2011-12-05 14:02:57 +00:00
|
|
|
<field name="message_ids" colspan="4" nolabel="1" mode="tree" readonly="1">
|
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"/>
|
2011-09-09 14:18:44 +00:00
|
|
|
<field name="email_from" invisible="1"/>
|
2011-09-23 17:22:47 +00:00
|
|
|
<button
|
|
|
|
string="Reply" attrs="{'invisible': [('email_from', '=', False)]}"
|
|
|
|
name="%(mail.action_email_compose_message_wizard)d"
|
|
|
|
context="{'mail.compose.message.mode':'reply', 'message_id':active_id}"
|
|
|
|
icon="terp-mail-replied" type="action" />
|
2010-07-16 10:41:21 +00:00
|
|
|
</tree>
|
2010-05-13 08:39:35 +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" />
|
2011-09-23 17:22:47 +00:00
|
|
|
<button string="Send New Email"
|
|
|
|
name="%(mail.action_email_compose_message_wizard)d"
|
|
|
|
icon="terp-mail-message-new" type="action"/>
|
2010-05-13 08:39:35 +00:00
|
|
|
</page>
|
2012-04-25 11:51:39 +00:00
|
|
|
<page string="Extra Info">
|
2010-06-29 10:52:26 +00:00
|
|
|
<group col="2" colspan="2">
|
|
|
|
<separator colspan="4" string="Misc"/>
|
|
|
|
<field name="active"/>
|
|
|
|
<field name="id" select="1"/>
|
|
|
|
<field name="priority" string="Priority"/>
|
|
|
|
</group>
|
2012-03-19 08:43:04 +00:00
|
|
|
<group col="2" colspan="2" groups="base.group_no_one">
|
2010-06-29 10:52:26 +00:00
|
|
|
<separator colspan="4" string="Dates"/>
|
|
|
|
<field name="create_date"/>
|
|
|
|
<field name="date_closed"/>
|
|
|
|
<field name="duration"/>
|
|
|
|
</group>
|
|
|
|
<newline/>
|
|
|
|
<group colspan="4" col="2">
|
|
|
|
<separator colspan="4" string="References"/>
|
|
|
|
<field colspan="4" name="ref"/>
|
|
|
|
<field colspan="4" name="ref2"/>
|
|
|
|
</group>
|
|
|
|
</page>
|
2010-05-13 08:39:35 +00:00
|
|
|
</notebook>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-05-13 08:39:35 +00:00
|
|
|
<!-- Fund Raising Calendar View -->
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-05-13 08:39:35 +00:00
|
|
|
<record model="ir.ui.view" id="crm_case_calendar_view_fund">
|
|
|
|
<field name="name">CRM - Funds Calendar</field>
|
|
|
|
<field name="model">crm.fundraising</field>
|
|
|
|
<field name="type">calendar</field>
|
|
|
|
<field name="priority" eval="2"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<calendar string="Funds" date_start="date" color="user_id" date_delay="duration">
|
|
|
|
<field name="name"/>
|
|
|
|
<field name="partner_id"/>
|
|
|
|
</calendar>
|
|
|
|
</field>
|
|
|
|
</record>
|
2009-12-23 11:43:11 +00:00
|
|
|
|
2010-05-13 08:39:35 +00:00
|
|
|
<!-- Fund Raising Graph View -->
|
2010-03-22 10:40:26 +00:00
|
|
|
|
2010-05-13 08:39:35 +00:00
|
|
|
<record model="ir.ui.view" id="crm_case_graph_view_fund">
|
|
|
|
<field name="name">CRM - Funds Graph</field>
|
2009-12-31 12:57:20 +00:00
|
|
|
<field name="model">crm.fundraising</field>
|
2010-05-13 08:39:35 +00:00
|
|
|
<field name="type">graph</field>
|
2009-12-04 14:15:17 +00:00
|
|
|
<field name="arch" type="xml">
|
2010-05-13 08:39:35 +00:00
|
|
|
<graph string="Funds by Categories" type="bar" orientation="horizontal">
|
|
|
|
<field name="categ_id"/>
|
|
|
|
<field name="planned_cost" operator="+"/>
|
|
|
|
<field name="state" group="True"/>
|
|
|
|
</graph>
|
2009-12-04 14:15:17 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2009-12-23 11:43:11 +00:00
|
|
|
|
2010-05-19 13:45:31 +00:00
|
|
|
<!-- Fund Raising Search View -->
|
2010-05-13 08:39:35 +00:00
|
|
|
<record id="view_crm_case_fund_filter" model="ir.ui.view">
|
|
|
|
<field name="name">CRM - Funds Search</field>
|
|
|
|
<field name="model">crm.fundraising</field>
|
|
|
|
<field name="type">search</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<search string="Search Funds">
|
2010-05-25 16:33:03 +00:00
|
|
|
<group>
|
2011-09-19 07:09:09 +00:00
|
|
|
<filter icon="terp-check" string="New"
|
2011-09-21 07:15:44 +00:00
|
|
|
domain="[('state','=','draft')]" name="current"
|
|
|
|
help="New Funds" />
|
2010-06-07 12:35:16 +00:00
|
|
|
<filter icon="terp-camera_test" string="Open"
|
2010-05-13 08:39:35 +00:00
|
|
|
domain="[('state','=','open')]"
|
|
|
|
help="Open Funds" />
|
2010-06-07 12:35:16 +00:00
|
|
|
<filter icon="terp-gtk-media-pause"
|
2010-05-13 08:39:35 +00:00
|
|
|
string="Pending"
|
|
|
|
domain="[('state','=','pending')]"
|
|
|
|
help="Pending Funds" />
|
|
|
|
<separator orientation="vertical" />
|
2011-03-15 12:41:11 +00:00
|
|
|
<field name="state"/>
|
|
|
|
<field name="name"
|
2010-05-13 08:39:35 +00:00
|
|
|
string="Fund Description" />
|
2011-03-15 12:41:11 +00:00
|
|
|
<field name="user_id"
|
2010-05-13 08:39:35 +00:00
|
|
|
widget="selection">
|
2010-06-07 12:35:16 +00:00
|
|
|
<filter icon="terp-personal-"
|
2010-05-13 08:39:35 +00:00
|
|
|
domain="[('user_id','=', False)]"
|
|
|
|
help="Unassigned" />
|
|
|
|
</field>
|
2011-03-15 12:41:11 +00:00
|
|
|
<field name="section_id" widget="selection" string="Sales Team">
|
2012-04-25 11:51:39 +00:00
|
|
|
<filter icon="terp-personal+"
|
2012-05-21 16:07:45 +00:00
|
|
|
domain="['|', ('section_id.user_id','=',uid), ('section_id.member_ids', 'in', [uid])]"
|
2010-10-05 06:48:31 +00:00
|
|
|
help="My Sales Team(s)" />
|
2010-05-13 08:39:35 +00:00
|
|
|
</field>
|
|
|
|
</group>
|
|
|
|
<newline/>
|
2010-06-07 12:35:16 +00:00
|
|
|
<group expand="0" string="Group By...">
|
2010-09-20 10:40:59 +00:00
|
|
|
<filter string="Partner" icon="terp-partner"
|
2010-05-13 08:39:35 +00:00
|
|
|
domain="[]"
|
|
|
|
context="{'group_by':'partner_id'}" />
|
2010-06-07 12:35:16 +00:00
|
|
|
<filter string="Responsible" icon="terp-personal"
|
2010-05-13 08:39:35 +00:00
|
|
|
domain="[]"
|
|
|
|
context="{'group_by':'user_id'}" />
|
|
|
|
<separator orientation="vertical" />
|
2010-06-24 13:16:40 +00:00
|
|
|
<filter string="Category" help="Fund Category"
|
|
|
|
icon="terp-stock_symbol-selection" domain="[]"
|
|
|
|
context="{'group_by':'categ_id'}" />
|
|
|
|
<filter string="Payment Mode" help="Payment Mode"
|
|
|
|
icon="terp-dolar" domain="[]"
|
2010-05-13 08:39:35 +00:00
|
|
|
context="{'group_by':'type_id'}" />
|
2010-06-24 13:16:40 +00:00
|
|
|
<separator orientation="vertical" />
|
|
|
|
<filter string="State" icon="terp-stock_effects-object-colorize" domain="[]"
|
|
|
|
context="{'group_by':'state'}" />
|
2010-05-13 08:39:35 +00:00
|
|
|
</group>
|
|
|
|
</search>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
</data>
|
2009-12-04 14:15:17 +00:00
|
|
|
</openerp>
|