trytond-project_helpdesk/work.xml
2014-05-12 15:07:21 +02:00

114 lines
5.4 KiB
XML

<?xml version="1.0"?>
<!-- The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. -->
<tryton>
<data>
<record model="ir.ui.view" id="work_helpdesk_view_tree">
<field name="model">project.work</field>
<field name="type">tree</field>
<field name="field_childs">children</field>
<field name="name">work_helpdesk_tree</field>
</record>
<record model="ir.ui.view" id="work_helpdesk_view_list">
<field name="model">project.work</field>
<field name="type">tree</field>
<field name="name">work_helpdesk_list</field>
</record>
<record model="ir.ui.view" id="work_helpdesk_view_form">
<field name="model">project.work</field>
<field name="type">form</field>
<field name="name">work_helpdesk_form</field>
</record>
<record model="ir.ui.view" id="project_tracker_view_form">
<field name="model">project.work.tracker</field>
<field name="inherit" ref="project_tracker.project_tracker_view_form"/>
<field name="name">project_tracker_form</field>
</record>
<record model="ir.ui.view" id="project_tracker_view_list">
<field name="model">project.work.tracker</field>
<field name="inherit" ref="project_tracker.project_tracker_view_list"/>
<field name="name">project_tracker_list</field>
</record>
<record model="ir.action.act_window" id="project.act_work_tree">
<field name="domain">[('parent', '=', None),('helpdesk', '=', False)]</field>
</record>
<record model="ir.action.act_window" id="project.act_work_list">
<field name="domain">[('helpdesk', '=', False)]</field>
</record>
<record model="ir.action.act_window" id="project.act_project_tree">
<field name="domain">[('parent', '=', None),('helpdesk', '=', False)]</field>
</record>
<record model="ir.action.act_window" id="project.act_project_form">
<field name="domain">[('type', '=', 'project'),('helpdesk', '=', False)]</field>
</record>
<record model="ir.action.act_window" id="project.act_task_form">
<field name="domain">[('type', '=', 'task'),('helpdesk', '=', False)]</field>
</record>
<record model="ir.action.act_window" id="act_project_helpdesk_tree">
<field name="name">Helpdesk</field>
<field name="res_model">project.work</field>
<field name="domain">[('parent', '=', None),('helpdesk', '=', True)]</field>
</record>
<record model="ir.action.act_window.view"
id="act_project_helpdesk_tree_view1">
<field name="sequence" eval="10"/>
<field name="view" ref="work_helpdesk_view_tree"/>
<field name="act_window" ref="act_project_helpdesk_tree"/>
</record>
<record model="ir.action.act_window.view"
id="act_project_helpdesk_tree_view2">
<field name="sequence" eval="20"/>
<field name="view" ref="work_helpdesk_view_form"/>
<field name="act_window" ref="act_project_helpdesk_tree"/>
</record>
<menuitem parent="project.menu_project" action="act_project_helpdesk_tree"
id="menu_project_helpdesk_tree"/>
<record model="ir.action.act_window" id="act_project_helpdesk_form">
<field name="name">Projects</field>
<field name="res_model">project.work</field>
<field name="domain">[('type', '=', 'project'),('helpdesk', '=', True)]</field>
</record>
<record model="ir.action.act_window.view"
id="act_project_helpdesk_form_view1">
<field name="sequence" eval="10"/>
<field name="view" ref="work_helpdesk_view_list"/>
<field name="act_window" ref="act_project_helpdesk_form"/>
</record>
<record model="ir.action.act_window.view"
id="act_project_helpdesk_form_view2">
<field name="sequence" eval="20"/>
<field name="view" ref="work_helpdesk_view_form"/>
<field name="act_window" ref="act_project_helpdesk_form"/>
</record>
<menuitem parent="menu_project_helpdesk_tree" action="act_project_helpdesk_form"
id="menu_project_helpdesk_form"/>
<record model="ir.action.act_window" id="act_task_helpdesk_form">
<field name="name">Tasks</field>
<field name="res_model">project.work</field>
<field name="domain">[('type', '=', 'task'),('helpdesk', '=', True)]</field>
</record>
<record model="ir.action.act_window.view"
id="act_task_helpdesk_form_view1">
<field name="sequence" eval="10"/>
<field name="view" ref="work_helpdesk_view_list"/>
<field name="act_window" ref="act_task_helpdesk_form"/>
</record>
<record model="ir.action.act_window.view"
id="act_task_helpdesk_form_view2">
<field name="sequence" eval="20"/>
<field name="view" ref="work_helpdesk_view_form"/>
<field name="act_window" ref="act_task_helpdesk_form"/>
</record>
<menuitem parent="menu_project_helpdesk_tree" action="act_task_helpdesk_form"
id="menu_task_helpdesk_form"/>
</data>
</tryton>