mirror of
https://github.com/bringout/oca-ocb-crm.git
synced 2026-04-23 11:32:01 +02:00
19.0 vanilla
This commit is contained in:
parent
dc68f80d3f
commit
7221b9ac46
610 changed files with 135477 additions and 161677 deletions
|
|
@ -0,0 +1,37 @@
|
|||
import { registry } from "@web/core/registry";
|
||||
|
||||
registry.category("web_tour.tours").add("crm_livechat.create_lead_from_chatbot", {
|
||||
steps: () => [
|
||||
{
|
||||
trigger: ".o-livechat-root:shadow .o-livechat-LivechatButton",
|
||||
run: "click",
|
||||
},
|
||||
{
|
||||
trigger: ".o-livechat-root:shadow .o-mail-Message:contains(Hello, how can I help you?)",
|
||||
},
|
||||
{
|
||||
trigger: ".o-livechat-root:shadow .o-mail-Composer-input",
|
||||
run: "edit I'd like to know more about the CRM application.",
|
||||
},
|
||||
{
|
||||
trigger: ".o-livechat-root:shadow .o-mail-Composer-input",
|
||||
run: "press Enter",
|
||||
},
|
||||
{
|
||||
trigger:
|
||||
".o-livechat-root:shadow .o-mail-Message:contains(Would you mind leaving your email address so that we can reach you back?)",
|
||||
},
|
||||
{
|
||||
trigger: ".o-livechat-root:shadow .o-mail-Composer-input",
|
||||
run: "edit visitor@example.com",
|
||||
},
|
||||
{
|
||||
trigger: ".o-livechat-root:shadow .o-mail-Composer-input",
|
||||
run: "press Enter",
|
||||
},
|
||||
{
|
||||
trigger:
|
||||
".o-livechat-root:shadow .o-mail-Message:contains(Thank you, you should hear back from us very soon!)",
|
||||
},
|
||||
],
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue