this.do_notify("Success", "Your Message has been send successfully...");
I can see the following error:
Uncaught Javascript Error > this.do_notify is not a function
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
this.do_notify("Success", "Your Message has been send successfully...");
I can see the following error:
Uncaught Javascript Error > this.do_notify is not a function
Hi,
Instead of using this.do_notify in odoo 15, we should use this.displayNotification.
So try changing the code to
this.displayNotification({
type: 'warning',
title: _t('Success'),
message: "Your Message has been send successfully...",
sticky: true
});
Regards
Thanks
but when used displayNotification function
i getting this error
TypeError: cannot read properties of undefined ( reading 'displayNotification)
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati| Post correlati | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
|
|
1
giu 23
|
2615 | ||
|
|
1
mag 23
|
2544 | ||
|
|
0
mag 20
|
3634 | ||
|
|
2
gen 20
|
9429 | ||
|
|
1
mar 15
|
6916 |