forked from OCA/project
-
Notifications
You must be signed in to change notification settings - Fork 2
/
project_issue_view.xml
60 lines (49 loc) · 2.16 KB
/
project_issue_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
54
55
56
57
58
59
60
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!-- Project Issue Form -->
<record id="project_issue_form_view_sla" model="ir.ui.view">
<field name="name">project_issue_form_view_sla</field>
<field name="model">project.issue</field>
<field name="inherit_id" ref="project_issue.project_issue_form_view"/>
<field name="arch" type="xml">
<page string="Extra Info" position="after">
<page name="sla_page" string="Service Levels"
attrs="{'invisible': [('sla_state', '=', False)]}">
<group>
<group>
<field name="sla_state" />
</group>
<group>
<field name="write_date" />
</group>
</group>
<field name="sla_control_ids"/>
</page>
</page>
</field>
</record>
<!-- Project Issue List -->
<record model="ir.ui.view" id="project_issue_tree_view_sla">
<field name="name">project_issue_tree_view_sla</field>
<field name="model">project.issue</field>
<field name="inherit_id" ref="project_issue.project_issue_tree_view"/>
<field name="arch" type="xml">
<field name="project_id" position="after">
<field name="sla_state"/>
</field>
</field>
</record>
<!-- Project Issue Filter -->
<record id="view_project_issue_filter_sdesk" model="ir.ui.view">
<field name="name">view_project_issue_filter_sdesk</field>
<field name="model">project.issue</field>
<field name="inherit_id" ref="project_issue.view_project_issue_filter"/>
<field name="arch" type="xml">
<field name="stage_id" position="after">
<filter string="SLA Status" context="{'group_by':'sla_state'}"/>
</field>
</field>
</record>
</data>
</openerp>