diff options
| author | Harry (Open ERP) <hmo@tinyerp.com> | 2010-03-03 15:00:05 +0530 |
|---|---|---|
| committer | Harry (Open ERP) <hmo@tinyerp.com> | 2010-03-03 15:00:05 +0530 |
| commit | 6244d2f561fa150d4e4e1b59cfdfc896de3a0d05 (patch) | |
| tree | 639b38016d3b33e14267a41f5935e54852f6d868 /addons/crm_project/report_crm_project_bug_view.xml | |
| parent | 2733dea0c8bb4994b0c61f2709b3fefd195c3c4f (diff) | |
| parent | 3e1b0d4d18276ad6ace9d31740c58247a287e427 (diff) | |
[MERGE]
bzr revid: hmo@tinyerp.com-20100303093005-8xc6oin909l1vp87
Diffstat (limited to 'addons/crm_project/report_crm_project_bug_view.xml')
| -rw-r--r-- | addons/crm_project/report_crm_project_bug_view.xml | 194 |
1 files changed, 47 insertions, 147 deletions
diff --git a/addons/crm_project/report_crm_project_bug_view.xml b/addons/crm_project/report_crm_project_bug_view.xml index 4c6ea353ec7..e822d4a7f0a 100644 --- a/addons/crm_project/report_crm_project_bug_view.xml +++ b/addons/crm_project/report_crm_project_bug_view.xml @@ -2,28 +2,32 @@ <openerp> <data> <!-- - Project Bug by user and section + Project Bug --> - <record id="view_crm_project_bug_user_tree" model="ir.ui.view"> - <field name="name">report.crm.project.bug.user.tree</field> - <field name="model">report.crm.project.bug.user</field> - <field name="inherit_id" ref="report_crm.view_crm_case_user_tree"/> + <record id="view_crm_project_bug_tree" model="ir.ui.view"> + <field name="name">report.crm.project.bug.tree</field> + <field name="model">report.crm.project.bug</field> <field name="type">tree</field> <field name="arch" type="xml"> - <field name="nbr" position="after"> - <field name="delay_close"/> + <tree string="Project Bug"> + <field name="name" /> + <field name="month"/> + <field name="nbr" string="#Project Bug"/> <field name="amount_revenue"/> - <field name="amount_costs"/> - <field name="amount_revenue_prob"/> <field name="probability"/> - </field> + <field name="delay_close"/> + <field name="state"/> + <field name="user_id" invisible="1"/> + <field name="stage_id" invisible="1"/> + <field name="categ_id" invisible="1"/> + </tree> </field> </record> - <record id="view_crm_project_bug_user_form" model="ir.ui.view"> - <field name="name">report.crm.project.bug.user.form</field> - <field name="model">report.crm.project.bug.user</field> - <field name="inherit_id" ref="report_crm.view_crm_case_user_form"/> + <record id="view_crm_project_bug_form" model="ir.ui.view"> + <field name="name">report.crm.project.bug.form</field> + <field name="model">report.crm.project.bug</field> + <field name="inherit_id" ref="report_crm.view_crm_case_form"/> <field name="type">form</field> <field name="arch" type="xml"> <field name="nbr" position="after"> @@ -36,12 +40,12 @@ </field> </record> - <record id="view_crm_project_bug_user_graph" model="ir.ui.view"> - <field name="name">report.crm.project.bug.user.graph</field> - <field name="model">report.crm.project.bug.user</field> + <record id="view_crm_project_bug_graph" model="ir.ui.view"> + <field name="name">report.crm.project.bug.graph</field> + <field name="model">report.crm.project.bug</field> <field name="type">graph</field> <field name="arch" type="xml"> - <graph orientation="horizontal" string="Project Bug by User and Section" type="bar"> + <graph orientation="horizontal" string="Project Bug" type="bar"> <field name="state"/> <field name="nbr" operator="+"/> <field group="True" name="user_id"/> @@ -49,10 +53,10 @@ </field> </record> - <record id="view_crm_project_bug_user_filter" model="ir.ui.view"> - <field name="name">report.crm.project.bug.user.select</field> - <field name="model">report.crm.project.bug.user</field> - <field name="inherit_id" ref="report_crm.view_crm_case_user_filter"/> + <record id="view_crm_project_bug_filter" model="ir.ui.view"> + <field name="name">report.crm.project.bug.select</field> + <field name="model">report.crm.project.bug</field> + <field name="inherit_id" ref="report_crm.view_crm_case_filter"/> <field name="type">search</field> <field name="arch" type="xml"> <field name="state" position="before"> @@ -60,134 +64,30 @@ </field> </record> - <record id="action_report_crm_project_bug_user_tree" model="ir.actions.act_window"> - <field name="name">Project Bug by User and Section</field> - <field name="res_model">report.crm.project.bug.user</field> + <record id="action_report_crm_project_bug" model="ir.actions.act_window"> + <field name="name">Project Bug</field> + <field name="res_model">report.crm.project.bug</field> <field name="view_type">form</field> <field name="view_mode">graph,tree</field> - <field name="view_id" ref="view_crm_project_bug_user_graph"/> - <field name="search_view_id" ref="view_crm_project_bug_user_filter"/> + <field name="view_id" ref="view_crm_project_bug_graph"/> + <field name="search_view_id" ref="view_crm_project_bug_filter"/> </record> + + + <record model="ir.actions.act_window.view" id="action_report_project_bug_tree"> + <field name="sequence" eval="2"/> + <field name="view_mode">tree</field> + <field name="view_id" ref="view_crm_project_bug_tree"/> + <field name="act_window_id" ref="action_report_crm_project_bug"/> + </record> + <record model="ir.actions.act_window.view" id="action_report_project_bug_graph"> + <field name="sequence" eval="1"/> + <field name="view_mode">graph</field> + <field name="view_id" ref="view_crm_project_bug_graph"/> + <field name="act_window_id" ref="action_report_crm_project_bug"/> + </record> <menuitem icon="terp-project" id="base.menu_main_pm" name="Project Management" sequence="1"/> - <menuitem id="base.menu_project_report" name="Reporting" parent="base.menu_main_pm" sequence="50"/> - <menuitem name="Project Bug" id="menu_crm_project_bug_tree" parent="base.menu_project_report" sequence="1"/> - <menuitem action="action_report_crm_project_bug_user_tree" id="menu_crm_project_bug_user_tree" parent="menu_crm_project_bug_tree"/> - - <!-- # Project Bug by section and category of case --> - - <record id="view_crm_project_bug_categ_tree" model="ir.ui.view"> - <field name="name">report.crm.project.bug.categ.tree</field> - <field name="model">report.crm.project.bug.categ</field> - <field name="inherit_id" ref="report_crm.view_crm_case_categ_tree"/> - <field name="type">tree</field> - <field name="arch" type="xml"> - <field name="nbr" position="after"> - <field name="delay_close"/> - <field name="amount_revenue"/> - <field name="amount_costs"/> - <field name="amount_revenue_prob"/> - <field name="probability"/> - </field> - </field> - </record> - <record id="view_crm_project_bug_categ_form" model="ir.ui.view"> - <field name="name">report.crm.project.bug.categ.form</field> - <field name="model">report.crm.project.bug.categ</field> - <field name="inherit_id" ref="report_crm.view_crm_case_categ_form"/> - <field name="type">form</field> - <field name="arch" type="xml"> - <field name="nbr" position="after"> - <field name="delay_close"/> - <field name="amount_revenue"/> - <field name="amount_costs"/> - <field name="amount_revenue_prob"/> - <field name="probability"/> - </field> - </field> - </record> - - <record id="view_crm_project_bug_categ_graph" model="ir.ui.view"> - <field name="name">report.crm.project.bug.categ.graph</field> - <field name="model">report.crm.project.bug.categ</field> - <field name="type">graph</field> - <field name="arch" type="xml"> - <graph orientation="horizontal" string="project_bugs by Section and Categories" type="bar"> - <field name="state"/> - <field name="nbr" operator="+"/> - <field group="True" name="categ_id"/> - </graph> - </field> - </record> - - <record id="view_crm_project_bug_categ_filter" model="ir.ui.view"> - <field name="name">report.crm.project.bug.categ.select</field> - <field name="model">report.crm.project.bug.categ</field> - <field name="inherit_id" ref="report_crm.view_crm_case_categ_filter"/> - <field name="type">search</field> - <field name="arch" type="xml"> - <field name="state" position="before"> - </field> - </field> - </record> - - <record id="action_report_crm_project_bug_categ_tree" model="ir.actions.act_window"> - <field name="name">Project Bugs by Categories and Section</field> - <field name="res_model">report.crm.project.bug.categ</field> - <field name="view_type">form</field> - <field name="view_mode">graph,tree</field> - <field name="view_id" ref="view_crm_project_bug_categ_graph"/> - <field name="search_view_id" ref="view_crm_project_bug_categ_filter"/> - </record> - <menuitem action="action_report_crm_project_bug_categ_tree" id="menu_crm_project_bug_categ_tree" parent="menu_crm_project_bug_tree"/> - - <!-- Project Bug by Section --> - - <record id="view_report_crm_project_bug_section_tree" model="ir.ui.view"> - <field name="name">report.crm.project.bug.section.tree</field> - <field name="model">report.crm.project.bug.section</field> - <field name="inherit_id" ref="report_crm.view_report_crm_case_section_tree"/> - <field name="type">tree</field> - <field name="arch" type="xml"> - <field name="nbr_cases" position="after"> - <field name="avg_answers"/> - <field name="perc_done" select="2"/> - <field name="perc_cancel" select="2"/> - <field name="delay_close"/> - </field> - </field> - </record> - - <record id="view_report_crm_project_bug_section_graph" model="ir.ui.view"> - <field name="name">report.crm.project.bug.section.graph</field> - <field name="model">report.crm.project.bug.section</field> - <field name="type">graph</field> - <field name="arch" type="xml"> - <graph orientation="horizontal" string="project_bugs by Section" type="bar"> - <field name="name"/> - <field name="nbr_cases" operator="+"/> - </graph> - </field> - </record> - - <record id="view_report_crm_project_bug_section_filter" model="ir.ui.view"> - <field name="name">report.crm.project.bug.section.select</field> - <field name="model">report.crm.project.bug.section</field> - <field name="inherit_id" ref="report_crm.view_report_crm_case_section_filter"/> - <field name="type">search</field> - <field name="arch" type="xml"> - <field name="nbr_cases" position="before"> - </field> - </field> - </record> - - <record id="action_report_crm_project_bug_section_tree" model="ir.actions.act_window"> - <field name="name">Project Bugs by Section</field> - <field name="res_model">report.crm.project.bug.section</field> - <field name="view_type">form</field> - <field name="view_mode">graph,tree</field> - <field name="view_id" ref="view_report_crm_project_bug_section_graph"/> - <field name="search_view_id" ref="view_report_crm_project_bug_section_filter"/> - </record> - <menuitem action="action_report_crm_project_bug_section_tree" id="menu_crm_project_bug_section_tree" parent="menu_crm_project_bug_tree"/> + <menuitem id="base.menu_project_report" name="Reporting" parent="base.menu_main_pm" sequence="50"/> + <menuitem action="action_report_crm_project_bug" id="menu_crm_project_bug_user_tree" parent="base.menu_project_report"/> </data> </openerp> |
