mirror of
https://github.com/bringout/oca-ocb-crm.git
synced 2026-04-23 07:52:04 +02:00
15 lines
774 B
XML
15 lines
774 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="crm_lead_view_form" model="ir.ui.view">
|
|
<field name="name">crm.lead.view.form.inherit.crm.livechat</field>
|
|
<field name="model">crm.lead</field>
|
|
<field name="inherit_id" ref="crm.crm_lead_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//button[@name='action_schedule_meeting']" position="after">
|
|
<button name="action_open_livechat" type="object" class="oe_stat_button" icon="fa-comments" invisible="not origin_channel_id" groups="sales_team.group_sale_salesman">
|
|
<div class="o_stat_info"><span class="o_stat_text">View chat</span></div>
|
|
</button>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|