2010-04-19 08:38:25 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
<!-- Report for project issue -->
|
|
|
|
<record id="view_project_issue_report_tree" model="ir.ui.view">
|
|
|
|
<field name="name">project.issue.report.tree</field>
|
|
|
|
<field name="model">project.issue.report</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
2010-04-23 09:49:04 +00:00
|
|
|
<tree string="Project Issue">
|
|
|
|
<field name="name" invisible="1"/>
|
|
|
|
<field name="month" invisible="1"/>
|
|
|
|
<field name="project_id" invisible="1"/>
|
|
|
|
<field name="stage_id" invisible="1"/>
|
2010-06-07 08:01:33 +00:00
|
|
|
<field name="type_id" string="Version" invisible="1"/>
|
2010-04-23 09:49:04 +00:00
|
|
|
<field name="priority" invisible="1"/>
|
|
|
|
<field name="company_id" invisible="1" groups="base.group_multi_company"/>
|
2010-04-19 08:38:25 +00:00
|
|
|
<field name="section_id" invisible="1"/>
|
|
|
|
<field name="user_id" invisible="1"/>
|
|
|
|
<field name="categ_id" invisible="1"/>
|
2010-04-23 09:49:04 +00:00
|
|
|
<field name="canal_id" invisible="1"/>
|
|
|
|
<field name="partner_id" invisible="1"/>
|
|
|
|
<field name="task_id" invisible="1"/>
|
|
|
|
<field name="assigned_to" invisible="1"/>
|
2010-04-19 08:38:25 +00:00
|
|
|
<field name="date_closed" invisible="1"/>
|
2010-04-23 09:49:04 +00:00
|
|
|
<field name="state" invisible="1"/>
|
|
|
|
<field name="day" invisible="1"/>
|
2010-06-29 10:59:47 +00:00
|
|
|
<field name="nbr" string="#Project Issues" sum='#Number of Project Issues'/>
|
2010-06-04 17:54:17 +00:00
|
|
|
<field name="delay_open" avg='Avg Opening Delay'/>
|
|
|
|
<field name="delay_close" avg='Avg Closing Delay'/>
|
|
|
|
<field name="working_hours_open" sum='Open Working Hours'/>
|
|
|
|
<field name="working_hours_close" sum='Close Working hours'/>
|
2010-06-29 10:59:47 +00:00
|
|
|
<field name="email" sum='# Emails'/>
|
2010-04-23 09:49:04 +00:00
|
|
|
</tree>
|
2010-04-19 08:38:25 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record id="view_project_issue_report_graph" model="ir.ui.view">
|
|
|
|
<field name="name">project.issue.report.graph</field>
|
|
|
|
<field name="model">project.issue.report</field>
|
|
|
|
<field name="type">graph</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<graph orientation="horizontal" string="Project Issue" type="bar">
|
|
|
|
<field name="state"/>
|
|
|
|
<field name="nbr" operator="+"/>
|
|
|
|
<field group="True" name="user_id"/>
|
|
|
|
</graph>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-05-12 07:30:22 +00:00
|
|
|
|
2010-04-19 08:38:25 +00:00
|
|
|
<record id="view_project_issue_report_filter" model="ir.ui.view">
|
|
|
|
<field name="name">project.issue.report.select</field>
|
|
|
|
<field name="model">project.issue.report</field>
|
|
|
|
<field name="type">search</field>
|
|
|
|
<field name="arch" type="xml">
|
2010-05-12 07:30:22 +00:00
|
|
|
<search string="Search">
|
|
|
|
<group col="16" colspan="8">
|
2010-09-22 14:00:24 +00:00
|
|
|
<filter string="Year" icon="terp-go-year" help="Current Year"
|
|
|
|
domain="[('create_date','<=', time.strftime('%%Y-%%m-%%d')),('create_date','>=',time.strftime('%%Y-01-01'))]"
|
|
|
|
/>
|
2010-05-12 07:30:22 +00:00
|
|
|
|
2010-09-22 07:58:44 +00:00
|
|
|
<filter string="Month" icon="terp-go-month" name="This Month"
|
2010-09-22 14:00:24 +00:00
|
|
|
domain="[('create_date','<=', time.strftime('%%Y-%%m-%%d')),('create_date','>=',time.strftime('%%Y-%%m-01'))]"
|
|
|
|
/>
|
|
|
|
<filter icon="terp-go-week" string="Month-1" separator="1" help="Previous Month"
|
|
|
|
domain="[('create_date','<=', (datetime.date (int(time.strftime('%%Y')), datetime.date.today().month, 1) - datetime.timedelta (days = 1)).strftime('%%Y-%%m-%%d')),('create_date','>',(datetime.date (int(time.strftime('%%Y')), datetime.date.today().month-1, 1)).strftime('%%Y-%%m-%%d'))]"
|
|
|
|
/>
|
2010-05-12 07:30:22 +00:00
|
|
|
|
|
|
|
<separator orientation="vertical" />
|
2010-06-04 17:54:17 +00:00
|
|
|
<filter icon="terp-camera_test"
|
|
|
|
string="Current"
|
|
|
|
domain="[('state','in',('draft','open'))]"/>
|
|
|
|
<filter icon="terp-gtk-media-pause"
|
2010-05-12 07:30:22 +00:00
|
|
|
string="Pending"
|
|
|
|
domain="[('state','=','pending')]"/>
|
2010-06-04 17:54:17 +00:00
|
|
|
<filter icon="terp-dialog-close"
|
|
|
|
string="Done"
|
|
|
|
domain="[('state','=','done')]"/>
|
2010-04-23 09:49:04 +00:00
|
|
|
|
2010-05-12 07:30:22 +00:00
|
|
|
<separator orientation="vertical" />
|
|
|
|
<field name="section_id"
|
2010-09-22 07:58:44 +00:00
|
|
|
string="Sale Team "
|
2010-05-12 07:30:22 +00:00
|
|
|
default="context.get('section_id', False)"
|
|
|
|
widget="selection"
|
|
|
|
context="{'invisible_section': False}">
|
2010-04-23 09:49:04 +00:00
|
|
|
|
2010-05-12 07:30:22 +00:00
|
|
|
<filter icon="terp-crm"
|
|
|
|
context="{'invisible_section': False}"
|
|
|
|
domain="[('section_id.user_id','=',uid)]"
|
2010-09-22 14:00:24 +00:00
|
|
|
help="My Sale Team" />
|
2010-05-12 07:30:22 +00:00
|
|
|
|
|
|
|
</field>
|
2010-06-04 17:54:17 +00:00
|
|
|
<field name="project_id"/>
|
2010-05-19 13:45:31 +00:00
|
|
|
<field name="user_id" select="1" widget="selection"/>
|
2010-05-12 07:30:22 +00:00
|
|
|
</group>
|
|
|
|
<newline/>
|
2010-09-27 07:41:24 +00:00
|
|
|
<group expand="0" string="Extended Filters..." colspan="10" col="12" groups="base.group_extended">
|
|
|
|
<field name="partner_id"/>
|
|
|
|
<field name="assigned_to" widget="selection"/>
|
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<field name="priority" />
|
|
|
|
<separator orientation="vertical"/>
|
2010-09-27 11:42:33 +00:00
|
|
|
<field name="type_id" widget="selection" />
|
2010-09-27 07:41:24 +00:00
|
|
|
<field name="categ_id" widget="selection" domain="[('object_id.model', '=', 'project.issue')]"/>
|
|
|
|
<field name="stage_id" widget="selection" domain="[('object_id.model', '=', 'project.issue')]" />
|
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<field name="company_id" widget="selection" groups="base.group_multi_company"/>
|
|
|
|
<newline/>
|
|
|
|
<field name="creation_date"/>
|
|
|
|
<field name="opening_date"/>
|
|
|
|
<field name="date_closed" string="Date Closed"/>
|
|
|
|
</group>
|
|
|
|
<newline/>
|
2010-06-04 17:54:17 +00:00
|
|
|
<group expand="1" string="Group By..." colspan="4" col="8">
|
2010-09-22 07:58:44 +00:00
|
|
|
<filter name="User" string="Responsible" icon="terp-personal"
|
2010-06-07 08:01:33 +00:00
|
|
|
domain="[]" context="{'group_by':'user_id'}" />
|
|
|
|
<filter string="Assigned to" name="Responsible" icon="terp-personal"
|
|
|
|
domain="[]" context="{'group_by':'assigned_to'}" />
|
2010-09-22 07:58:44 +00:00
|
|
|
<filter string="Partner" icon="terp-partner" context="{'group_by':'partner_id'}" />
|
|
|
|
<separator orientation="vertical" />
|
|
|
|
<filter string="Sale Team" icon="terp-personal+"
|
2010-05-12 07:30:22 +00:00
|
|
|
domain="[]"
|
|
|
|
context="{'group_by':'section_id'}" />
|
2010-09-22 07:58:44 +00:00
|
|
|
<separator orientation="vertical" />
|
|
|
|
<filter string="Project" name="project" icon="terp-folder-blue" context="{'group_by':'project_id'}" />
|
|
|
|
<filter string="Task" icon="terp-stock_align_left_24" domain="[]" context="{'group_by':'task_id'}"/>
|
|
|
|
<separator orientation="vertical" />
|
2010-06-04 17:54:17 +00:00
|
|
|
<filter string="Category" icon="terp-stock_symbol-selection"
|
|
|
|
domain="[]" context="{'group_by':'categ_id'}" />
|
2010-06-07 08:01:33 +00:00
|
|
|
<filter string="Version" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type_id'}"/>
|
2010-09-22 07:58:44 +00:00
|
|
|
<separator orientation="vertical" />
|
|
|
|
<filter string="Priority" icon="terp-rating-rated" domain="[]" context="{'group_by':'priority'}" />
|
2010-06-04 17:54:17 +00:00
|
|
|
<filter string="Stage" icon="terp-stage" domain="[]" context="{'group_by':'stage_id'}"/>
|
2010-06-01 10:47:58 +00:00
|
|
|
<filter string="State" icon="terp-stock_effects-object-colorize"
|
2010-05-12 07:30:22 +00:00
|
|
|
domain="[]" context="{'group_by':'state'}" />
|
2010-06-04 17:54:17 +00:00
|
|
|
<separator orientation="vertical"/>
|
|
|
|
<filter string="Company" icon="terp-go-home"
|
|
|
|
domain="[]"
|
|
|
|
context="{'group_by':'company_id'}" />
|
2010-05-12 07:30:22 +00:00
|
|
|
<separator orientation="vertical" />
|
2010-06-16 11:41:41 +00:00
|
|
|
<filter string="Day" icon="terp-go-today"
|
2010-09-22 07:58:44 +00:00
|
|
|
domain="[]" context="{'group_by':'day'}" help="Current Day"/>
|
2010-05-12 07:30:22 +00:00
|
|
|
|
2010-06-01 10:47:58 +00:00
|
|
|
<filter string="Month" icon="terp-go-month"
|
2010-09-22 07:58:44 +00:00
|
|
|
domain="[]" context="{'group_by':'month'}" help="Current Month"/>
|
2010-05-12 07:30:22 +00:00
|
|
|
|
2010-06-01 10:47:58 +00:00
|
|
|
<filter string="Year" icon="terp-go-year"
|
2010-09-22 07:58:44 +00:00
|
|
|
domain="[]" context="{'group_by':'name'}" help="Current Year"/>
|
2010-05-12 07:30:22 +00:00
|
|
|
|
|
|
|
</group>
|
|
|
|
</search>
|
2010-04-19 08:38:25 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="action_project_issue_report" model="ir.actions.act_window">
|
2010-07-01 10:03:53 +00:00
|
|
|
<field name="name">Issue Analysis</field>
|
2010-04-19 08:38:25 +00:00
|
|
|
<field name="res_model">project.issue.report</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">graph,tree</field>
|
2010-06-07 09:04:43 +00:00
|
|
|
<field name="context">{'search_default_This Month':1,'search_default_project':1,'group_by_no_leaf':1,'group_by':[]}</field>
|
2010-04-19 08:38:25 +00:00
|
|
|
<field name="view_id" ref="view_project_issue_report_tree"/>
|
|
|
|
<field name="search_view_id" ref="view_project_issue_report_filter"/>
|
2010-08-20 06:34:55 +00:00
|
|
|
<field name="help">Track your projects issues and fixing delay with a high accuracy. A multicriteria search tool allows fine-grained analysis.</field>
|
2010-04-19 08:38:25 +00:00
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
|
|
<record model="ir.actions.act_window.view" id="action_project_issue_report_tree">
|
|
|
|
<field name="sequence" eval="1"/>
|
|
|
|
<field name="view_mode">tree</field>
|
|
|
|
<field name="view_id" ref="view_project_issue_report_tree"/>
|
|
|
|
<field name="act_window_id" ref="action_project_issue_report"/>
|
|
|
|
</record>
|
|
|
|
<record model="ir.actions.act_window.view" id="action_project_issue_report_graph">
|
|
|
|
<field name="sequence" eval="2"/>
|
|
|
|
<field name="view_mode">graph</field>
|
|
|
|
<field name="view_id" ref="view_project_issue_report_graph"/>
|
|
|
|
<field name="act_window_id" ref="action_project_issue_report"/>
|
|
|
|
</record>
|
2010-06-17 12:16:52 +00:00
|
|
|
<menuitem icon="terp-project" id="base.menu_main_pm" name="Project" sequence="10"/>
|
2010-04-19 08:38:25 +00:00
|
|
|
<menuitem id="base.menu_project_report" name="Reporting" parent="base.menu_main_pm" sequence="50"/>
|
2010-08-09 10:05:57 +00:00
|
|
|
<menuitem action="action_project_issue_report" id="menu_project_issue_report_tree" parent="base.menu_project_report" groups="project.group_project_manager"/>
|
2010-04-23 09:49:04 +00:00
|
|
|
|
|
|
|
|
2010-04-19 08:38:25 +00:00
|
|
|
</data>
|
2010-05-04 08:52:09 +00:00
|
|
|
</openerp>
|