2010-04-06 13:22:59 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
|
|
|
|
<record id="action_view_current_project_issue_tree" model="ir.actions.act_window">
|
|
|
|
<field name="name">Project issues</field>
|
|
|
|
<field name="res_model">project.issue</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
2010-08-26 14:45:34 +00:00
|
|
|
<field name="domain">[('state','in',['draft','open'])]</field>
|
2010-04-06 13:22:59 +00:00
|
|
|
<field name="view_id" ref="project_issue.project_issue_tree_view"/>
|
|
|
|
</record>
|
|
|
|
|
2010-05-19 08:25:36 +00:00
|
|
|
<record id="action_view_pending_project_issue_tree" model="ir.actions.act_window">
|
|
|
|
<field name="name">Project issues</field>
|
|
|
|
<field name="res_model">project.issue</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
2010-08-26 14:45:34 +00:00
|
|
|
<field name="domain">[('state','=','pending')]</field>
|
2010-05-19 08:25:36 +00:00
|
|
|
<field name="view_id" ref="project_issue.project_issue_tree_view"/>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="action_project_issue_graph_state" model="ir.actions.act_window">
|
|
|
|
<field name="name">Project Issue</field>
|
|
|
|
<field name="res_model">project.issue.report</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">graph</field>
|
2010-08-26 14:45:34 +00:00
|
|
|
<field name="domain">[]</field>
|
2010-05-19 08:25:36 +00:00
|
|
|
<field name="view_id" ref="project_issue.view_project_issue_report_graph"/>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="view_project_issue_graph_stage" 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="vertical" string="Project Issue" type="bar">
|
2010-10-04 23:57:26 +00:00
|
|
|
<field name="type_id"/>
|
2010-05-19 08:25:36 +00:00
|
|
|
<field name="nbr" operator="+"/>
|
|
|
|
<field group="True" name="user_id"/>
|
|
|
|
</graph>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="action_project_issue_graph_stage" model="ir.actions.act_window">
|
|
|
|
<field name="name">Project Issue</field>
|
|
|
|
<field name="res_model">project.issue.report</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">graph</field>
|
2010-08-26 14:45:34 +00:00
|
|
|
<field name="domain">[]</field>
|
2010-05-19 08:25:36 +00:00
|
|
|
<field name="view_id" ref="view_project_issue_graph_stage"/>
|
|
|
|
</record>
|
|
|
|
|
2010-04-06 13:22:59 +00:00
|
|
|
<record id="board_project_issue_form" model="ir.ui.view">
|
|
|
|
<field name="name">board.project.issue.form</field>
|
|
|
|
<field name="model">board.board</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2010-05-19 08:25:36 +00:00
|
|
|
<form string="My Board">
|
|
|
|
<hpaned>
|
2010-04-06 13:22:59 +00:00
|
|
|
<child1>
|
2010-05-19 08:25:36 +00:00
|
|
|
<action colspan="4" name="%(action_view_current_project_issue_tree)d" string="Current Issues" width="510"/>
|
|
|
|
<action colspan="4" name="%(action_view_pending_project_issue_tree)d" string="Pending Issues" width="510"/>
|
2010-04-06 13:22:59 +00:00
|
|
|
</child1>
|
|
|
|
<child2>
|
2010-05-19 08:25:36 +00:00
|
|
|
<vpaned>
|
|
|
|
<child1>
|
|
|
|
<action colspan="4" name="%(action_project_issue_graph_state)d" string="Issues By State" />
|
|
|
|
</child1>
|
|
|
|
<child2>
|
|
|
|
<action colspan="4" name="%(action_project_issue_graph_stage)d" string="Issues By Stage" />
|
|
|
|
</child2>
|
|
|
|
</vpaned>
|
2010-04-06 13:22:59 +00:00
|
|
|
</child2>
|
2010-05-19 08:25:36 +00:00
|
|
|
</hpaned>
|
2010-04-06 13:22:59 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="open_board_project_issue" model="ir.actions.act_window">
|
|
|
|
<field name="name">Project Issue Dashboard</field>
|
|
|
|
<field name="res_model">board.board</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="usage">menu</field>
|
|
|
|
<field name="view_id" ref="board_project_issue_form"/>
|
|
|
|
</record>
|
2010-07-02 14:37:06 +00:00
|
|
|
<menuitem id="menu_deshboard_project_issue" name="Project Issue Dashboard" parent="project.next_id_86"
|
2010-08-26 12:19:26 +00:00
|
|
|
icon="terp-graph"
|
2010-07-26 05:56:23 +00:00
|
|
|
action="open_board_project_issue"/>
|
2010-09-30 05:35:50 +00:00
|
|
|
|
|
|
|
<!-- For Project Dashboard -->
|
|
|
|
<record id="action_view_my_project_issue_tree" model="ir.actions.act_window">
|
|
|
|
<field name="name">My Project Issues</field>
|
|
|
|
<field name="res_model">project.issue</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="domain">['|',('assigned_to','=',uid),('user_id','=',uid)]</field>
|
|
|
|
<field name="view_id" ref="project_issue.project_issue_tree_view"/>
|
|
|
|
</record>
|
|
|
|
<record id="view_my_open_project_issue_graph" model="ir.ui.view">
|
|
|
|
<field name="name">my.open.project.issue.graph</field>
|
|
|
|
<field name="model">project.issue.report</field>
|
|
|
|
<field name="type">graph</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<graph orientation="vertical" string="My Open Project Issue" type="bar">
|
|
|
|
<field name="creation_date"/>
|
|
|
|
<field name="nbr" operator="+"/>
|
|
|
|
</graph>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record id="action_view_my_open_project_issue_tree" model="ir.actions.act_window">
|
|
|
|
<field name="name">My Open Project issues</field>
|
|
|
|
<field name="res_model">project.issue.report</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="domain">[('state','=','open'),'|',('assigned_to','=',uid),('user_id','=',uid)]</field>
|
|
|
|
<field name="view_id" ref="view_my_open_project_issue_graph"/>
|
|
|
|
</record>
|
|
|
|
<record id="board_my_project_issue_form" model="ir.ui.view">
|
|
|
|
<field name="name">board.my.project.issue.form.inherit</field>
|
|
|
|
<field name="model">board.board</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="inherit_id" ref="project.board_project_form"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr="/form/hpaned/child1/action[@string='My Delegated Tasks']" position="after">
|
|
|
|
<action colspan="4" height="100" name="%(action_view_my_project_issue_tree)d" string="My Issues" />
|
|
|
|
</xpath>
|
2010-10-14 08:27:21 +00:00
|
|
|
<xpath expr="/form/hpaned/child2/action[@string='My Remaining Hours by Project']" position="after">
|
2010-09-30 05:35:50 +00:00
|
|
|
<action colspan="4" height="100" name="%(action_view_my_open_project_issue_tree)d" string="My Open Issues by Creation Date" />
|
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2010-04-06 13:22:59 +00:00
|
|
|
</data>
|
|
|
|
</openerp>
|