Skip to Content
Menu
This question has been flagged
6941 Zobrazenia

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
Zrušiť
Autor

im sorry i forget to import Warning in

from odoo.exceptions import UserError,Warning
 hhe

Related Posts Replies Zobrazenia Aktivita
2
sep 21
12194
1
dec 18
5656
1
júl 23
4582
5
máj 25
8330
1
apr 25
1285