Se rendre au contenu
Menu
Cette question a été signalée

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
Ignorer
Auteur

im sorry i forget to import Warning in

from odoo.exceptions import UserError,Warning
 hhe

Publications associées Réponses Vues Activité
2
sept. 21
11565
1
déc. 18
5185
1
juil. 23
3971
5
mai 25
7260
1
avr. 25
795