Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
6438 Zobrazení

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šit
Autor

im sorry i forget to import Warning in

from odoo.exceptions import UserError,Warning
 hhe

Related Posts Odpovědi Zobrazení Aktivita
2
zář 21
11605
1
pro 18
5221
1
čvc 23
4030
5
kvě 25
7395
1
dub 25
840