跳至内容
菜单
此问题已终结

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
11522
1
12月 18
5166
1
7月 23
3926
5
5月 25
7172
1
4月 25
753