[IMP]: Project Dashboard.
bzr revid: rch@rch-desktop-20101028101822-7g19nfq3p8n3eind
This commit is contained in:
parent
17aa989125
commit
9c416c90fd
|
@ -65,10 +65,10 @@
|
|||
<child2>
|
||||
<vpaned>
|
||||
<child1>
|
||||
<action colspan="4" name="%(action_project_issue_graph_state)d" string="Issues By State" />
|
||||
<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" />
|
||||
<action colspan="4" name="%(action_project_issue_graph_stage)d" string="Issues by Stage" />
|
||||
</child2>
|
||||
</vpaned>
|
||||
</child2>
|
||||
|
@ -90,13 +90,41 @@
|
|||
action="open_board_project_issue"/>
|
||||
|
||||
<!-- For Project Dashboard -->
|
||||
<record model="ir.ui.view" id="project_issue_board_tree_view">
|
||||
<field name="name">Project Issue Board Tree</field>
|
||||
<field name="model">project.issue</field>
|
||||
<field name="type">tree</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"/>
|
||||
<field name="partner_id" groups="base.group_extended"/>
|
||||
<field name="project_id" />
|
||||
<field name="priority" string="Priority"/>
|
||||
<field name="type_id" widget="selection" readonly="1"/>
|
||||
<button name="prev_type" string="Previous" type="object" icon="gtk-go-back" help="Change to Previous Stage"/>
|
||||
<button name="next_type" string="Next" type="object" icon="gtk-go-forward" help="Change to Next Stage"/>
|
||||
<field name="version_id" widget="selection"/>
|
||||
<field name="progress" widget="progressbar" attrs="{'invisible':[('task_id','=',False)]}"/>
|
||||
<field name="state"/>
|
||||
<button name="case_cancel" string="Cancel" states="draft,open,pending" type="object" icon="gtk-cancel"/>
|
||||
<button name="case_close" string="Done" states="open,draft,pending" type="object" icon="gtk-jump-to"/>
|
||||
<button name="case_open" string="Open" states="draft,pending" type="object" icon="gtk-go-forward" help="To Do"/>
|
||||
<button name="case_pending" string="Pending" states="draft,open" type="object" icon="gtk-media-pause"/>
|
||||
<button name="case_escalate" string="Escalate" states="open,draft,pending" type="object" icon="gtk-go-up"/>
|
||||
<button name="case_reset" string="Reset to Draft" states="done,cancel" type="object" icon="gtk-convert"/>
|
||||
<field name="categ_id" invisible="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
<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"/>
|
||||
<field name="domain">[('state','not in',('cancel','done')),'|',('assigned_to','=',uid),('user_id','=',uid)]</field>
|
||||
<field name="view_id" ref="project_issue_board_tree_view"/>
|
||||
</record>
|
||||
<record id="view_my_open_project_issue_graph" model="ir.ui.view">
|
||||
<field name="name">my.open.project.issue.graph</field>
|
||||
|
|
|
@ -110,6 +110,7 @@
|
|||
<field name="arch" type="xml">
|
||||
<tree string="Scrum Sprint">
|
||||
<field name="name"/>
|
||||
<field name="date_start"/>
|
||||
<field name="progress" widget="progressbar"/>
|
||||
<field name="effective_hours" widget="float_time"/>
|
||||
<field name="expected_hours" widget="float_time"/>
|
||||
|
|
Loading…
Reference in New Issue