forked from OCA/project
-
Notifications
You must be signed in to change notification settings - Fork 2
/
project_task_cause_view.xml
53 lines (44 loc) · 1.72 KB
/
project_task_cause_view.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!-- Task types -->
<record id="task_cause_edit" model="ir.ui.view">
<field name="name">project.task.cause.form</field>
<field name="model">project.task.cause</field>
<field name="arch" type="xml">
<form string="Task Issue Causes">
<group>
<group>
<field name="name"/>
<field name="description"/>
</group>
<group>
<field name="sequence"/>
<field name="code"/>
</group>
</group>
</form>
</field>
</record>
<record id="task_cause_tree" model="ir.ui.view">
<field name="name">project.task.cause.tree</field>
<field name="model">project.task.cause</field>
<field name="arch" type="xml">
<tree string="Task Issue Causes">
<field name="sequence"/>
<field name="code"/>
<field name="name"/>
</tree>
</field>
</record>
<record id="open_task_cause_form" model="ir.actions.act_window">
<field name="name">Task Issue Causes</field>
<field name="res_model">project.task.cause</field>
<field name="view_type">form</field>
<field name="view_id" ref="task_cause_tree"/>
</record>
<menuitem action="open_task_cause_form"
id="menu_task_cause_view"
parent="base.menu_definitions"/>
</data>
</openerp>