Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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?
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 6/27/14, 9:17 AM|
|Seen: 1752 times|
|Last updated: 10/14/16, 10:07 AM|