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)
| 相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
|---|---|---|---|---|
|
1
6月 23
|
2782 | |||
|
1
5月 23
|
2720 | |||
|
0
5月 20
|
3778 | |||
|
2
1月 20
|
9620 | |||
|
1
3月 15
|
7053 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.