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

so I want to use


raise warning()

on odoo 14
but what i got :


raise exception.with_traceback(None) from new_cause
Warning: Maaf Produk harus diisi

does raise warning no longer exist in odoo 14?
and I can't use raise UserError() because I think it's not good for users

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

im sorry i forget to import Warning in

from odoo.exceptions import UserError,Warning
 hhe

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 9 21
11601
1
thg 12 18
5210
1
thg 7 23
4016
5
thg 5 25
7352
1
thg 4 25
833