2006-12-15 07:15:10 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<terp>
|
|
|
|
<data>
|
|
|
|
|
|
|
|
<record model="board.note.type" id="note_project_type">
|
|
|
|
<field name="name">Project managers</field>
|
|
|
|
</record>
|
|
|
|
|
2007-08-09 11:20:56 +00:00
|
|
|
<!--
|
|
|
|
Board for project managers
|
|
|
|
-->
|
2007-05-30 20:22:11 +00:00
|
|
|
<act_window name="My projects"
|
|
|
|
domain="[('manager', '=', uid)]"
|
|
|
|
res_model="project.project"
|
|
|
|
view_type="form"
|
|
|
|
view_mode="tree,form"
|
|
|
|
id="act_my_project"/>
|
|
|
|
|
|
|
|
<act_window name="My accounts to invoice"
|
2007-07-04 10:44:05 +00:00
|
|
|
domain="[('user_id','=',uid),('state','<>','close')]"
|
2007-05-30 20:22:11 +00:00
|
|
|
res_model="account.analytic.account"
|
|
|
|
view_type="form"
|
|
|
|
view_mode="tree,form"
|
|
|
|
view_id="view_account_analytic_simplified"
|
|
|
|
id="act_my_account"/>
|
|
|
|
|
2007-06-28 13:44:47 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_project_pipeline_user">
|
|
|
|
<field name="name">Pipeline of tasks</field>
|
|
|
|
<field name="res_model">report.task.user.pipeline.open</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">graph,tree</field>
|
2007-12-18 20:12:16 +00:00
|
|
|
<field name="domain">[('user_id','in',department_users_get())]</field>
|
2007-06-28 13:44:47 +00:00
|
|
|
</record>
|
2007-05-30 20:48:08 +00:00
|
|
|
|
|
|
|
<record model="ir.ui.view" id="hr_timesheet_sheet_tree">
|
|
|
|
<field name="name">hr.timesheet.sheet.tree.simplified.board</field>
|
|
|
|
<field name="model">hr_timesheet_sheet.sheet</field>
|
|
|
|
<field name="type">tree</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<tree string="Timesheets">
|
|
|
|
<field name="date_from" />
|
|
|
|
<field name="user_id"/>
|
|
|
|
<field name="name" />
|
|
|
|
<field name="total_attendance"/>
|
|
|
|
<field name="total_timesheet"/>
|
|
|
|
<field name="state"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record model="ir.actions.act_window" id="act_hr_timesheet_sheet">
|
|
|
|
<field name="name">Timesheets</field>
|
|
|
|
<field name="res_model">hr_timesheet_sheet.sheet</field>
|
2007-06-28 13:44:47 +00:00
|
|
|
<field name="domain">[('state','<>','done'),('user_id','in',department_users_get())]</field>
|
2007-05-30 20:48:08 +00:00
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_id" ref="hr_timesheet_sheet_tree"/>
|
|
|
|
</record>
|
|
|
|
|
2007-05-30 20:22:11 +00:00
|
|
|
|
|
|
|
<record model="ir.ui.view" id="board_project_manager_form">
|
|
|
|
<field name="name">board.project.manager.form</field>
|
2006-12-15 07:15:10 +00:00
|
|
|
<field name="model">board.board</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2007-05-30 20:22:11 +00:00
|
|
|
<form string="Project manager board">
|
2006-12-15 07:15:10 +00:00
|
|
|
<hpaned>
|
|
|
|
<child1>
|
|
|
|
<action
|
2007-05-30 20:22:11 +00:00
|
|
|
string="My projects"
|
|
|
|
name="%(act_my_project)d"
|
2006-12-15 07:15:10 +00:00
|
|
|
colspan="4"
|
|
|
|
height="220"
|
|
|
|
width="510"/>
|
|
|
|
|
|
|
|
<action
|
2007-05-30 20:22:11 +00:00
|
|
|
string="My accounts to invoice"
|
|
|
|
name="%(act_my_account)d"
|
2006-12-15 07:15:10 +00:00
|
|
|
height="150"
|
|
|
|
colspan="4"/>
|
|
|
|
|
|
|
|
<action
|
2007-05-30 20:48:08 +00:00
|
|
|
string="User's timesheets"
|
|
|
|
name="%(act_hr_timesheet_sheet)d"
|
2007-05-30 20:22:11 +00:00
|
|
|
colspan="4"
|
2006-12-15 07:15:10 +00:00
|
|
|
height="150"/>
|
|
|
|
|
|
|
|
</child1>
|
|
|
|
<child2>
|
2007-05-30 20:48:08 +00:00
|
|
|
<button
|
|
|
|
string="My tasks board"
|
|
|
|
name="%(open_board_project)d"
|
|
|
|
icon="gtk-ok"
|
|
|
|
type="action"
|
|
|
|
colspan="4"/>
|
|
|
|
|
2006-12-15 07:15:10 +00:00
|
|
|
|
|
|
|
<action
|
2007-06-28 14:56:28 +00:00
|
|
|
string="My project's planning"
|
2007-08-02 12:23:11 +00:00
|
|
|
name="%(report_analytic_planning.action_account_analytic_planning_stat_my_manager_form)d"
|
2006-12-15 07:15:10 +00:00
|
|
|
colspan="4"/>
|
|
|
|
|
|
|
|
<action
|
2007-05-30 20:48:08 +00:00
|
|
|
string="My user's pipeline"
|
|
|
|
name="%(action_project_pipeline_user)d"
|
2006-12-15 07:15:10 +00:00
|
|
|
colspan="4"/>
|
|
|
|
|
|
|
|
</child2>
|
|
|
|
</hpaned>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2007-05-30 20:22:11 +00:00
|
|
|
<record model="ir.actions.act_window" id="open_board_project_manager">
|
2007-10-10 05:44:37 +00:00
|
|
|
<field name="name">Project Manager Dashboard</field>
|
2006-12-15 07:15:10 +00:00
|
|
|
<field name="res_model">board.board</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="usage">menu</field>
|
2007-05-30 20:22:11 +00:00
|
|
|
<field name="view_id" ref="board_project_manager_form"/>
|
2006-12-15 07:15:10 +00:00
|
|
|
</record>
|
|
|
|
|
|
|
|
<menuitem
|
2007-08-09 07:47:53 +00:00
|
|
|
name="Dashboards/Project/Project Manager"
|
2007-05-30 20:22:11 +00:00
|
|
|
action="open_board_project_manager"
|
2006-12-15 07:15:10 +00:00
|
|
|
sequence="1"
|
2007-08-09 11:20:56 +00:00
|
|
|
id="menu_board_project_manager"
|
|
|
|
icon="terp-graph"/>
|
2007-05-30 20:22:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-12-15 07:15:10 +00:00
|
|
|
</data>
|
|
|
|
</terp>
|