[IMP] empty dashboard menutip
bzr revid: fp@openerp.com-20120804184605-qvz2kjohox88i4la
This commit is contained in:
parent
b4beb9ccdf
commit
4baca342e8
|
@ -25,13 +25,18 @@
|
|||
<field name="usage">menu</field>
|
||||
<field name="view_id" ref="board_my_dash_view"/>
|
||||
<field name="help" type="html">
|
||||
<p>
|
||||
This is your personal dashboard.
|
||||
</p><p>
|
||||
To customize it, go to any OpenERP screen, fill in the search
|
||||
filter, and click on <i>'Add to Dashboard'</i> in the advanced
|
||||
search options.
|
||||
</p>
|
||||
<div class="oe_empty_custom_dashboard">
|
||||
<p>
|
||||
<b>Your personal dashboard is empty.</b>
|
||||
</p><p>
|
||||
To insert any report into this dashboard, click <i>'Add to
|
||||
Dashboard'</i> in the extended search options of any list
|
||||
or graph.
|
||||
</p><p>
|
||||
You can filter and group data before inserting into the
|
||||
dashboard using the search options.
|
||||
</p>
|
||||
</div>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<field name="model">crm.lead.report</field>
|
||||
<field name="type">graph</field>
|
||||
<field name="arch" type="xml">
|
||||
<graph string="Opportunities By Stage" type="pie">
|
||||
<graph string="Opportunities By Stage" type="area">
|
||||
<field name="stage_id"/>
|
||||
<field name="nbr" operator="+"/>
|
||||
</graph>
|
||||
|
@ -65,16 +65,6 @@
|
|||
<field name="context">{'search_default_Stage':1}</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.act_window" id="crm_case_confirmed_meet">
|
||||
<field name="name">Meetings</field>
|
||||
<field name="res_model">crm.meeting</field>
|
||||
<field name="view_mode">calendar,tree,form,gantt</field>
|
||||
<field name="view_id" ref="base_calendar.view_crm_meeting_tree"/>
|
||||
<field name="context">{"calendar_default_user_id":uid}</field>
|
||||
<field name="domain">[('state','=','open'),('date','>',datetime.date.today().strftime("%Y-%m-%d %H:%M:%S"))]</field>
|
||||
<field name="search_view_id" ref="base_calendar.view_crm_meeting_search"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="board_crm_statistical_form">
|
||||
<field name="name">CRM - Statistical Dashboard Form</field>
|
||||
<field name="model">board.board</field>
|
||||
|
@ -85,7 +75,6 @@
|
|||
<column>
|
||||
<action string="New Leads" name="%(act_crm_tag_tree_view_leads_all)d"/>
|
||||
<action string="My Opportunities" name="%(act_my_oppor)d"/>
|
||||
<action string="My Next Meetings" name="%(crm_case_confirmed_meet)d"/>
|
||||
</column>
|
||||
<column>
|
||||
<action string="Planned Revenue by Stage and User" name="%(act_oppor_stage_user)d"/>
|
||||
|
|
|
@ -245,7 +245,7 @@ class crm_lead(base_stage, osv.osv):
|
|||
'company_currency': fields.related('company_id', 'currency_id', 'symbol', type='char', string='Company Currency', readonly=True),
|
||||
'user_email': fields.related('user_id', 'user_email', type='char', string='User Email', readonly=True),
|
||||
'user_login': fields.related('user_id', 'login', type='char', string='User Login', readonly=True),
|
||||
|
||||
|
||||
# Fields for address, due to separation from crm and res.partner
|
||||
'street': fields.char('Street', size=128),
|
||||
'street2': fields.char('Street2', size=128),
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
<record model="ir.actions.act_window" id="crm_case_category_act_oppor11">
|
||||
<field name="name">Opportunities</field>
|
||||
<field name="res_model">crm.lead</field>
|
||||
<field name="view_mode">kanban,tree,form,calendar</field>
|
||||
<field name="view_mode">kanban,tree,graph,form,calendar</field>
|
||||
<field name="domain">[('type','=','opportunity')]</field>
|
||||
<field name="context">{'stage_type': 'opportunity', 'default_type': 'opportunity'}</field>
|
||||
<field name="view_id" eval="False"/>
|
||||
|
|
|
@ -229,6 +229,20 @@
|
|||
</field>
|
||||
</record>
|
||||
|
||||
<!-- CRM Lead Graph View -->
|
||||
<record model="ir.ui.view" id="crm_case_graph_view_leads">
|
||||
<field name="name">Opportunities</field>
|
||||
<field name="model">crm.lead</field>
|
||||
<field name="type">graph</field>
|
||||
<field name="arch" type="xml">
|
||||
<graph string="Opportunities" type="bar">
|
||||
<field name="stage_id"/>
|
||||
<field name="planned_revenue" operator="+"/>
|
||||
</graph>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
<!-- CRM Lead Tree View -->
|
||||
<record model="ir.ui.view" id="crm_case_tree_view_leads">
|
||||
<field name="name">Leads</field>
|
||||
|
|
Loading…
Reference in New Issue