跳至內容
選單
此問題已被標幟
6356 瀏覽次數

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

頭像
捨棄
作者

im sorry i forget to import Warning in

from odoo.exceptions import UserError,Warning
 hhe

相關帖文 回覆 瀏覽次數 活動
2
9月 21
11524
1
12月 18
5170
1
7月 23
3933
5
5月 25
7191
1
4月 25
759