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)
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký| Bài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
|---|---|---|---|---|
|
1
thg 6 23
|
3775 | |||
|
1
thg 5 23
|
3694 | |||
|
0
thg 5 20
|
4523 | |||
|
2
thg 1 20
|
11027 | |||
|
1
thg 3 15
|
7997 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.