Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
6410 Visninger

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
Kassér
Forfatter

im sorry i forget to import Warning in

from odoo.exceptions import UserError,Warning
 hhe

Related Posts Besvarelser Visninger Aktivitet
2
sep. 21
11597
1
dec. 18
5208
1
jul. 23
4014
5
maj 25
7342
1
apr. 25
832