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
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!
साइन अप करें| Related Posts | Replies | डेटा देखने का तरीका | ऐक्टिविटी | |
|---|---|---|---|---|
|
1
जून 23
|
3981 | |||
|
1
मई 23
|
3845 | |||
|
0
मई 20
|
4642 | |||
|
2
जन॰ 20
|
11147 | |||
|
1
मार्च 15
|
8102 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.