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

In the python code of the models we can use orm.except_orm to display an error popup.

If I try to use it in a report parser (e.g. a class inheriting report_sxw.parse_rml) it won't work: instead of my error I'll get

SyntaxError: JSON.parse: unexpected end of data at line 2 column 1 of the JSON data

And my custom error will be visible only in my log.

How can I display an error popup from a report parser class?

อวตาร
ละทิ้ง

Hi Leonardo, your question same as mine : go to this link https://www.odoo.com/forum/help-1/question/solved-how-to-raise-an-error-warning-in-report-parser-84956

Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ก.ค. 24
8289
2
ก.พ. 24
24716
1
ส.ค. 23
2160
1
ก.ค. 22
2977
4
ส.ค. 18
7473