コンテンツへスキップ
メニュー
この質問にフラグが付けられました
6371 ビュー

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
11565
1
12月 18
5185
1
7月 23
3970
5
5月 25
7255
1
4月 25
795