blob: 9e9934dd8c59f416cc55bff7bb524baa5c327011 (
plain)
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="leads_monitoring_tree" model="ir.ui.view">
<field name="name">leads_monitoring.tree</field>
<field name="model">leads.monitoring</field>
<field name="arch" type="xml">
<tree create="false" multi_edit="1">
<header>
<button name="action_refresh" string="Refresh" class="oe_highlight" type="object" />
</header>
<field name="create_date"/>
<field name="lead_name"/>
<field name="contact_name"/>
<field name="partner_name"/>
<field name="email"/>
<field name="phone"/>
<field name="mobile"/>
<field name="salesperson"/>
<field name="type"/>
<field name="priority"/>
<field name="date_last_stage_update"/>
<field name="total_quotation"/>
<field name="total_sales"/>
<field name="stage_status"
widget="badge"
decoration-danger="stage_status == '1-Lead / Potensi Baru'"
decoration-warning="stage_status == '2-Proses Lain, Visit, Etc'"
decoration-success="stage_status == '5-Proses Berhasil'"
decoration-info="stage_status == '4-Proses Negosiasi' or stage_status == '3-Proses Quotation'"
/>
</tree>
</field>
</record>
<record id="leads_monitoring_form" model="ir.ui.view">
<field name="name">leads.monitoring.form</field>
<field name="model">leads.monitoring</field>
<field name="arch" type="xml">
<form create="false" edit="false">
<sheet>
<group>
<group>
<field name="lead_id"/>
<field name="create_date"/>
<field name="lead_name"/>
<field name="contact_name"/>
<field name="partner_name"/>
<field name="email"/>
<field name="phone"/>
<field name="mobile"/>
</group>
<group>
<field name="salesperson_id"/>
<field name="type"/>
<field name="priority"/>
<field name="date_last_stage_update"/>
<field name="total_quotation"/>
<field name="total_sales"/>
<field name="stage_status"
widget="badge"
decoration-danger="stage_status == '1-Lead / Potensi Baru'"
decoration-warning="stage_status == '2-Proses Lain, Visit, Etc'"
decoration-success="stage_status == '5-Proses Berhasil'"
decoration-info="stage_status == '4-Proses Negosiasi' or stage_status == '3-Proses Quotation'"
/>
</group>
</group>
</sheet>
</form>
</field>
</record>
<record id="leads_monitoring_action" model="ir.actions.act_window">
<field name="name">Leads Monitoring</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">leads.monitoring</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem
id="menu_leads_monitoring_in_sale"
name="Leads Monitoring"
parent="menu_monitoring_in_sale"
sequence="3"
action="leads_monitoring_action"
/>
</odoo>
|