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)
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
|
1
Haz 23
|
2538 | ||
|
|
1
May 23
|
2480 | ||
|
|
0
May 20
|
3591 | ||
|
|
2
Oca 20
|
9365 | ||
|
|
1
Mar 15
|
6883 |