[MOD] Modifications for New Project Management menus

bzr revid: vir@tinyerp.com-20100111132751-mdw5s2fpfzy4gwbg
This commit is contained in:
RCH(Open ERP) 2010-01-11 18:57:51 +05:30 committed by Vir (Open ERP)
parent 86644fee8b
commit d659cb772c
11 changed files with 84 additions and 60 deletions

View File

@ -61,7 +61,7 @@
<field name="act_window_id" ref="crm_case_categ_act0"/>
</record>
<menuitem id="menu_aftertask" name="Bug" parent="project.menu_main"/>
<menuitem name="Bug Tracking" id="menu_crm_case_bug_track" parent="menu_aftertask" action="crm_case_categ_act0"/>
<!--<menuitem id="menu_aftertask" name="Bug" parent="project.menu_main" visible="False"/>-->
<menuitem name="Issues" id="menu_crm_case_bug_track" parent="project.menu_project_management" action="crm_case_categ_act0"/>
</data>
</openerp>

View File

@ -49,6 +49,6 @@
<field name="act_window_id" ref="action_crm_case_future"/>
</record>
<menuitem name="Future Requests" id="menu_crm_case_future_request" parent="menu_aftertask" action="action_crm_case_future"/>
<menuitem name="Feature Requests" id="menu_crm_case_future_request" parent="project.menu_project_management" action="action_crm_case_future"/>
</data>
</openerp>

View File

@ -1,7 +1,11 @@
<?xml version="1.0" ?>
<openerp>
<data>
<menuitem
id="menu_hr_reporting"
name="Reporting"
parent="hr.menu_hr_root"
sequence="40" />
<!-- Menu Items -->
<record id="view_hr_holidays_filter" model="ir.ui.view">

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="hr_timesheet_line_tree" model="ir.ui.view">
<field name="name">hr.analytic.timesheet.tree</field>

View File

@ -26,7 +26,7 @@
"author" : "Tiny",
"website" : "http://www.openerp.com",
"category" : "Generic Modules/Projects & Services",
"depends" : ["product", "account", "hr", "process", "mail_gateway"],
"depends" : ["product", "account", "hr", "process", "mail_gateway","hr_timesheet_sheet","report_timesheet","account_budget"],
"description": """Project management module that track multi-level projects, tasks,
works done on tasks, eso. It is able to render planning, order tasks, eso.
""",

View File

@ -2,8 +2,25 @@
<openerp>
<data>
<menuitem icon="terp-project" id="menu_main" name="Project Management"/>
<menuitem id="menu_tasks" name="Tasks" parent="menu_main"/>
<menuitem id="menu_definitions" name="Configuration" parent="project.menu_main" sequence="1"/>
<menuitem id="menu_project_management" name="Project Management" parent="menu_main" sequence="1"/>
<!-- <menuitem id="menu_tasks" name="Tasks" parent="menu_main"/>-->
<menuitem id="menu_pm_invoicing" name="Invoicing" parent="menu_main" sequence="7"/>
<menuitem id="menu_pm_budget" name="Budgets" parent="menu_pm_invoicing"/>
<menuitem action="account_budget.open_budget_post_form" id="menu_pm_budget_post_form" parent="menu_pm_budget"/>
<menuitem parent="menu_pm_budget"
id="menu_act_pm_crossovered_budget_view"
action="account_budget.act_crossovered_budget_view" />
<menuitem id="menu_definitions" name="Configuration" parent="project.menu_main" sequence="60"/>
<!--Time Tracking menu-->
<menuitem
id="menu_project_management_time_tracking"
name="Time Tracking"
parent="menu_main" sequence="3"/>
<menuitem action="hr_timesheet_sheet.act_hr_timesheet_sheet_form" id="menu_act_project_management_timesheet_sheet_form" parent="menu_project_management_time_tracking"
groups="hr.group_hr_manager"/>
<menuitem action="report_timesheet.action_random_timesheet_lines_board" id="menu_project_management_timesheet_lines_board" parent="menu_project_management_time_tracking"/>
<menuitem action="hr_attendance.si_so" id="menu_project_management_si_so" parent="menu_project_management_time_tracking" type="wizard"/>
<!-- Project -->
<record id="edit_project" model="ir.ui.view">
@ -144,7 +161,7 @@
</tree>
</field>
</record>
<menuitem id="menu_all_project" parent="project.menu_main" name="Projects"/>
<!--<menuitem id="menu_all_project" parent="project.menu_main" name="Projects"/> -->
<record id="open_view_project_all" model="ir.actions.act_window">
<field name="name">All projects</field>
@ -154,7 +171,7 @@
<field name="view_id" ref="view_project"/>
<field name="search_view_id" ref="view_project_project_filter"/>
</record>
<menuitem action="open_view_project_all" id="menu_open_view_project_all" parent="menu_all_project"/>
<!--<menuitem action="open_view_project_all" id="menu_open_view_project_all" parent="menu_all_project"/> -->
<record id="open_view_template_project" model="ir.actions.act_window">
<field name="name">Templates of Projects</field>
@ -163,8 +180,9 @@
<field name="domain">[('state','=','template')]</field>
<field name="view_id" ref="view_project"/>
</record>
<menuitem action="open_view_template_project" id="menu_template_project" parent="project.menu_definitions"/>
<!--<menuitem action="open_view_template_project" id="menu_template_project" parent="project.menu_definitions"/>-->
<menuitem id="menu_template_project_specification" parent="project.menu_definitions" name="Specification" sequence="1"/>
<menuitem action="open_view_template_project" id="menu_template_project" parent="project.menu_template_project_specification" name="Specification Template"/>
<record id="view_task_work_form" model="ir.ui.view">
<field name="name">project.task.work.form</field>
<field name="model">project.task.work</field>
@ -218,10 +236,10 @@
<field name="domain">[('parent_id','=',False)]</field>
<field name="view_id" ref="view_my_project"/>
</record>
<menuitem
<!--<menuitem
action="open_view_my_project_open"
id="menu_open_view_my_project_open"
parent="project.menu_all_project"/>
parent="project.menu_all_project"/>-->
<!-- Wizard for compute remaining hours -->
@ -485,7 +503,8 @@
<field eval="False" name="view_id"/>
<field eval="True" name="filter"/>
</record>
<menuitem action="action_view_task" id="menu_action_view_task" parent="project.menu_tasks"/>
<!--<menuitem action="action_view_task" id="menu_action_view_task" parent="project.menu_tasks"/> -->
<menuitem action="action_view_task" id="menu_action_view_task" parent="project.menu_project_management" name="Tasks"/>
<record id="action_view_task_department" model="ir.actions.act_window">
<field name="name">My Department Tasks</field>
@ -728,8 +747,8 @@ menu_main
<field name="view_id" ref="view_project_message_tree"/>
</record>
<menuitem id="menu_message_main" name="Message" parent="menu_main"/>
<menuitem action="action_view_project_messages_tree" id="menu_message_tree" parent="menu_message_main"/>
<!--<menuitem id="menu_message_main" name="Message" parent="menu_main"/>-->
<menuitem action="action_view_project_messages_tree" id="menu_message_tree" parent="menu_project_management" sequence="11"/>
<act_window domain="[('user_id', '=', active_id),('state', '&lt;&gt;', 'cancelled'),('state', '&lt;&gt;', 'done')]" id="act_res_users_2_project_task_opened" name="Assigned tasks" res_model="project.task" src_model="res.users" view_mode="tree,form,gantt,calendar,graph" view_type="form"/>

View File

@ -123,11 +123,11 @@
<field name="search_view_id" ref="project.view_task_search_form"/>
</record>
<menuitem name="Todo List"
<!-- <menuitem name="Todo List"
groups="group_project_getting"
id="menu_task_inbox"
parent="project.menu_main"
action="action_prject_task_tree"/>
action="action_prject_task_tree"/>-->
<act_window name="My Inbox"
domain="[('user_id', '=', uid),('state','in',('draft','open'))]"

View File

@ -31,7 +31,7 @@
""",
'author': 'Tiny',
'website': 'http://www.openerp.com',
'depends': ['base', 'project', 'hr_timesheet_sheet'],
'depends': ['base', 'project', 'hr_timesheet_sheet','hr_timesheet'],
'init_xml': [],
'update_xml': ["process/project_timesheet_process.xml"],
'demo_xml': [],

View File

@ -7,7 +7,7 @@
-->
<record id="process_node_timesheettask0" model="process.node">
<field name="menu_id" ref="hr_timesheet.menu_act_hr_timesheet_line_evry1_all_form"/>
<!-- <field name="menu_id" ref="hr_timesheet.menu_act_hr_timesheet_line_evry1_all_form"/>-->
<field name="model_id" ref="hr_timesheet.model_hr_analytic_timesheet"/>
<field eval="&quot;&quot;&quot;state&quot;&quot;&quot;" name="kind"/>
<field eval="&quot;&quot;&quot;Timesheet task&quot;&quot;&quot;" name="name"/>

View File

@ -217,9 +217,9 @@
<field name="view_mode">tree,form</field>
<field name="search_view_id" ref="account_analytic_planning_view_search"/>
</record>
<menuitem id="menu_pm_planning" name="Planning" parent="project.menu_main" sequence="5"/>
<menuitem id="planning_main" name="Long Term Planning"
parent="project.menu_main" />
parent="menu_pm_planning" />
<menuitem action="action_account_analytic_planning_form"
id="menu_report_account_analytic_planning" parent="planning_main" />

View File

@ -359,7 +359,7 @@
<record model="ir.actions.act_window" id="action_random_timesheet_lines_board">
<field name="type">ir.actions.act_window</field>
<field name="name">Random Timesheet Lines</field>
<field name="name">Timesheet Lines</field>
<field name="res_model">random.timesheet.lines</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>