Skip to Content
Menu
This question has been flagged
6435 Rodiniai

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

Portretas
Atmesti
Autorius

im sorry i forget to import Warning in

from odoo.exceptions import UserError,Warning
 hhe

Related Posts Replies Rodiniai Veikla
2
rugs. 21
11604
1
gruod. 18
5221
1
liep. 23
4027
5
geg. 25
7379
1
bal. 25
840