1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/website_helpdesk_livechat/views/helpdesk_view.xml
2024-12-10 09:04:09 +07:00

26 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="helpdesk_team_view_form_inherit_website_helpdesk_livechat" model="ir.ui.view">
<field name="name">helpdesk.team.form.inherit.website.livechat.helpdesk</field>
<field name="model">helpdesk.team</field>
<field name="inherit_id" ref="helpdesk.helpdesk_team_view_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='use_website_helpdesk_livechat']" position="after">
<div id='im_livechat' invisible="not use_website_helpdesk_livechat">
<div class="mt16">
<button name="action_view_channel" type="object" string="Configure Live Chat Channel" icon="oi-arrow-right" class="btn-link"/>
</div>
<div>
<button name="%(mail.mail_shortcode_action)d" type="action" string="Configure Canned Responses" icon="oi-arrow-right" class="btn-link"/>
</div>
</div>
</xpath>
</field>
</record>
<menuitem id="helpdesk_team_canned_response_menu"
action="mail.mail_shortcode_action"
sequence="17" parent="helpdesk.helpdesk_menu_config"/>
</odoo>