Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1776 Lượt xem

I want to inherit odoo session dialog screen, by default the dialog message is "Odoo Session Expired", and I want to overwrite this message to my custom message

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi saimnaqvi,

Try this way i think you need this change

  • In odoo16 
  • so first inside your custom module create new js file.
  • And add below content and try.

  • then add this file path in manifest
'web.assets_frontend': [ #your file path ]

If this way not work use try to find in Odoo documentation patch in Owl js.


Thanks.

Ảnh đại diện
Huỷ bỏ
Tác giả

Bro, already I have tried this way, but this is not working, don't know how to change SessionExpiredDialog message, please suggest me if there is an alternative solution for this

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 23
2859
1
thg 12 23
1407
1
thg 5 25
2458
1
thg 4 25
3475
1
thg 4 25
4304