Files
dn20/ai_website/views/snippets/snippets.xml
2026-11-08 20:08:53 +08:00

14 lines
514 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="snippets" inherit_id="website.snippets">
<!-- Use xpath to make the snippet appear before other snippets -->
<xpath expr="//t[@t-snippet='website.s_title_form']" position="before">
<t t-install="ai_website_livechat" string="AI Live Chat" group="contact_and_forms" label="AI"
t-image-preview="/ai_website/static/src/img/snippet_previews/ai_livechat.webp"/>
<t id='ai_livechat_hook'/>
</xpath>
</template>
</odoo>