Skip to Content
मेन्यू
This question has been flagged

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

Avatar
Discard
Author

im sorry i forget to import Warning in

from odoo.exceptions import UserError,Warning
 hhe

Related Posts Replies Views Activity
2
सित॰ 21
11530
1
दिस॰ 18
5176
1
जुल॰ 23
3937
5
मई 25
7211
1
अप्रैल 25
760