mirror of
https://github.com/bringout/oca-ocb-crm.git
synced 2026-04-23 14:12:05 +02:00
19.0 vanilla
This commit is contained in:
parent
dc68f80d3f
commit
7221b9ac46
610 changed files with 135477 additions and 161677 deletions
|
|
@ -7,8 +7,11 @@
|
|||
<field name="inherit_id" ref="im_livechat.chatbot_script_step_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="step_type" position="after">
|
||||
<field name="crm_team_id" attrs="{'invisible': [('step_type', '!=', 'create_lead')]}"
|
||||
options="{'no_open': True}"/>
|
||||
<field
|
||||
name="crm_team_id"
|
||||
invisible="step_type not in ['create_lead', 'create_lead_and_forward']"
|
||||
options="{'no_open': True}"
|
||||
/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<field name="arch" type="xml">
|
||||
<div name="button_box" position="inside">
|
||||
<button name="action_view_leads" type="object" class="oe_stat_button"
|
||||
icon="fa-star" attrs="{'invisible': [('lead_count', '=', 0)]}">
|
||||
icon="fa-star" invisible="lead_count == 0">
|
||||
<field string="Leads" name="lead_count" widget="statinfo" />
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,15 @@
|
|||
<?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>
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<data>
|
||||
<record id="discuss_channel_view_form" model="ir.ui.view">
|
||||
<field name="name">discuss.channel.view.form.inherit.crm.livechat</field>
|
||||
<field name="model">discuss.channel</field>
|
||||
<field name="inherit_id" ref="mail.discuss_channel_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//page[@name='extra_info']/group" position="inside">
|
||||
<field name="has_crm_lead"/>
|
||||
<field name="lead_ids"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue