Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
6433 มุมมอง

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

อวตาร
ละทิ้ง
ผู้เขียน

im sorry i forget to import Warning in

from odoo.exceptions import UserError,Warning
 hhe

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ย. 21
11604
1
ธ.ค. 18
5219
1
ก.ค. 23
4026
5
พ.ค. 25
7376
1
เม.ย. 25
838