[IMP]: crm: Improvement in statistics report and crm board
bzr revid: rpa@tinyerp.com-20100710060754-u9wqiqkta9lloala
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
<field name="arch" type="xml">
|
||||
<graph string="Opportunities By Stage" type="bar">
|
||||
<field name="stage_id"/>
|
||||
<field name="nbr" operator="+"/>
|
||||
<field name="planned_revenue" operator="+"/>
|
||||
<field name="user_id" group="True"/>
|
||||
</graph>
|
||||
</field>
|
||||
@@ -60,7 +60,7 @@
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.act_window" id="act_oppor_stage_user">
|
||||
<field name="res_model">Number of Opportunities by stage</field>
|
||||
<field name="res_model">Planned revenue by user and stage</field>
|
||||
<field name="res_model">crm.lead.report</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">graph,tree,form</field>
|
||||
@@ -93,7 +93,7 @@
|
||||
<child2>
|
||||
|
||||
<action
|
||||
string="Number of Opportunities by Stage and User"
|
||||
string="Planned Revenue by Stage and User"
|
||||
name="%(act_oppor_stage_user)d"
|
||||
colspan="4"/>
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">graph,tree,form</field>
|
||||
<field name="view_id" ref="view_report_crm_oppor_graph"/>
|
||||
<field name="domain">['&', ('user_id','=',uid), '!' , '&', ('state', '=', 'done'), ('date_closed','>',(datetime.date.today()-datetime.timedelta(days=30)).strftime('%Y-%m-%d'))]</field>
|
||||
<field name="domain">['&', '&', ('user_id','=',uid), ('type', '=', 'opportunity'), '!' , '&', ('state', '=', 'done'), ('date_closed','>',(datetime.date.today()-datetime.timedelta(days=30)).strftime('%Y-%m-%d'))]</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.act_window" id="act_sales_pipeline">
|
||||
@@ -84,11 +84,11 @@
|
||||
</child1>
|
||||
<child2>
|
||||
<action
|
||||
string="Revenues by stage"
|
||||
string="Planned Revenues by Stage"
|
||||
name="%(act_my_oppor_stage)d"
|
||||
colspan="4"/>
|
||||
<action
|
||||
string="Win/Lost Ratio for the last Year"
|
||||
string="Win/Lost Ratio for the Last Year"
|
||||
name="%(act_sales_pipeline)d"
|
||||
colspan="4"/>
|
||||
</child2>
|
||||
|
||||
Reference in New Issue
Block a user