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

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
12075
1
12月 18
5543
1
7月 23
4447
5
5月 25
8127
1
4月 25
1196