diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-01-25 16:57:22 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-01-25 16:57:22 +0700 |
| commit | fadf15d1391ca2da11f3e3e4921801bbf38cac51 (patch) | |
| tree | ab4b46ae9036154e0304e717dd2bdc9b0a5aae1c /indoteknik_custom/views | |
| parent | c2699c98509438855315f8dab0b390305f32eae7 (diff) | |
| parent | 44a5536200bdaf189c496751b1679c7479b7b926 (diff) | |
Merge branch 'staging' of bitbucket.org:altafixco/indoteknik-addons into staging
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/leads_monitoring.xml | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/indoteknik_custom/views/leads_monitoring.xml b/indoteknik_custom/views/leads_monitoring.xml new file mode 100644 index 00000000..3b4327cd --- /dev/null +++ b/indoteknik_custom/views/leads_monitoring.xml @@ -0,0 +1,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 == '3-Proses Quotation'" + decoration-info="stage_status == '4-Proses Negosiasi'" + /> + </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 == '3-Proses Quotation'" + decoration-info="stage_status == '4-Proses Negosiasi'" + /> + </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>
\ No newline at end of file |
