2010-04-06 13:22:59 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
2010-05-19 08:25:36 +00:00
|
|
|
|
2012-06-05 08:49:52 +00:00
|
|
|
<record model="ir.ui.view" id="project_issue_board_tree_view">
|
2010-10-28 10:18:22 +00:00
|
|
|
<field name="name">Project Issue Board Tree</field>
|
|
|
|
<field name="model">project.issue</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="Issue Tracker Tree" colors="black:state=='open';blue:state=='pending';grey:state in ('cancel', 'done')">
|
|
|
|
<field name="id"/>
|
|
|
|
<field name="create_date"/>
|
|
|
|
<field name="name"/>
|
2012-04-25 14:02:12 +00:00
|
|
|
<field name="partner_id"/>
|
2010-10-28 10:18:22 +00:00
|
|
|
<field name="project_id" />
|
|
|
|
<field name="priority" string="Priority"/>
|
|
|
|
<field name="version_id" widget="selection"/>
|
|
|
|
<field name="progress" widget="progressbar" attrs="{'invisible':[('task_id','=',False)]}"/>
|
2012-05-31 15:15:56 +00:00
|
|
|
<field name="stage_id" widget="selection" readonly="1"/>
|
2012-09-05 09:18:56 +00:00
|
|
|
<field name="state" invisible="1"/>
|
2012-07-11 13:21:30 +00:00
|
|
|
<field name="categ_ids" invisible="1"/>
|
2011-11-15 10:39:27 +00:00
|
|
|
<field name="task_id" invisible="1"/>
|
2010-10-28 10:18:22 +00:00
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
2012-06-05 08:49:52 +00:00
|
|
|
|
2010-09-30 05:35:50 +00:00
|
|
|
<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>
|
2011-09-02 12:20:31 +00:00
|
|
|
<field name="domain">[('state','not in',('cancel','done')),('user_id','=',uid)]</field>
|
2010-10-28 10:18:22 +00:00
|
|
|
<field name="view_id" ref="project_issue_board_tree_view"/>
|
2010-09-30 05:35:50 +00:00
|
|
|
</record>
|
2012-06-05 08:49:52 +00:00
|
|
|
|
|
|
|
<record id="board_my_project_issue_form" model="ir.ui.view">
|
2010-09-30 05:35:50 +00:00
|
|
|
<field name="name">board.my.project.issue.form.inherit</field>
|
|
|
|
<field name="model">board.board</field>
|
|
|
|
<field name="inherit_id" ref="project.board_project_form"/>
|
|
|
|
<field name="arch" type="xml">
|
2012-06-05 08:49:52 +00:00
|
|
|
<xpath expr="/form/board/column/action[@string='My Tasks']" position="after">
|
|
|
|
<action name="%(action_view_my_project_issue_tree)d" string="My Issues"/>
|
2011-12-11 11:28:50 +00:00
|
|
|
</xpath>
|
2010-09-30 05:35:50 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2010-04-06 13:22:59 +00:00
|
|
|
</data>
|
|
|
|
</openerp>
|