[IMP, FIX] board_crm: (1) Renamed 'board_crm_configuration' to 'board_crm'. (2) Rename menu 'Dashboards > CRM Configuration' with 'Dashboards > CRM'. (3) Fixed error of field.
bzr revid: uco@tinyerp.co.in-20100309112251-q5z0ikltbxzyvnnw
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
|
||||
{
|
||||
'name': 'Dashboard for CRM Configuration',
|
||||
'name': 'Dashboard for CRM',
|
||||
'version': '1.0',
|
||||
'category': 'Board/CRM',
|
||||
'description': """
|
||||
@@ -31,7 +31,7 @@ This module implements a dashboard for CRM that includes:
|
||||
* My Meetings (list)
|
||||
* Sales Pipeline by Stage (graph)
|
||||
* My Cases (list)
|
||||
* Jobs Tracking (graph)
|
||||
* Leads of the month by user (list)
|
||||
""",
|
||||
'author': 'Tiny',
|
||||
'depends': ['board', 'crm'],
|
||||
+1
-3
@@ -12,7 +12,6 @@
|
||||
<graph string="Leads By Stage" type="pie">
|
||||
<field name="stage_id"/>
|
||||
<field name="nbr" operator="+"/>
|
||||
<field name="state" group="True"/>
|
||||
</graph>
|
||||
</field>
|
||||
</record>
|
||||
@@ -25,7 +24,6 @@
|
||||
<graph string="Opportunities" type="bar" orientation="horizontal">
|
||||
<field name="categ_id"/>
|
||||
<field name="nbr" operator="+"/>
|
||||
<field name="state" group="True"/>
|
||||
</graph>
|
||||
</field>
|
||||
</record>
|
||||
@@ -100,7 +98,7 @@
|
||||
|
||||
<menuitem icon="terp-graph" id="base.dashboard" name="Dashboards" sequence="2" parent="base.reporting_menu"/>
|
||||
<menuitem
|
||||
name="CRM Configuration" parent="base.dashboard"
|
||||
name="CRM" parent="base.dashboard"
|
||||
id="menu_board_crm_config"
|
||||
groups="crm.group_crm_manager"/>
|
||||
<menuitem
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
<openerp>
|
||||
<data>
|
||||
<record model="board.note.type" id="note_crm_type">
|
||||
<field name="name">CRM Configuration</field>
|
||||
<field name="name">CRM</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="view_crm_opportunity_user_graph1">
|
||||
@@ -14,7 +14,8 @@ class crm_opportunity_report(osv.osv):
|
||||
'categ_id': fields.many2one('crm.case.categ', 'Category', domain="[('section_id','=',section_id),('object_id.model', '=', 'crm.opportunity')]", readonly=True),
|
||||
'stage_id':fields.many2one('crm.case.stage', 'Stage', domain="[('section_id','=',section_id),('object_id.model', '=', 'crm.opportunity')]", readonly=True),
|
||||
'partner_id': fields.many2one('res.partner', 'Partner',readonly=True),
|
||||
'company_id': fields.many2one('res.company', 'Company',readonly=True),
|
||||
'company_id': fields.many2one('res.company', 'Company',readonly=True),
|
||||
'user_id':fields.many2one('res.users', 'User', readonly=True),
|
||||
}
|
||||
def init(self, cr):
|
||||
tools.drop_view_if_exists(cr, 'crm_opportunity_report')
|
||||
|
||||
Reference in New Issue
Block a user