Traceback after RelaxNG validation error message
When defining a view having an illegal attribute, RelaxNG validation fails and a long traceback is output:
ERROR trytond.convert Error while parsing xml file:
In tag record model ir.ui.view with id delivery_tour.station_view_list.
Traceback (most recent call last):
... about 80 lines ...
trytond.ir.ui.view.XMLError: Invalid XML for view "delivery_tour.station (Tree)". -
<string>:2:0:ERROR:RELAXNGV:RELAXNG_ERR_INVALIDATTR: Invalid attribute sequenc for element tree
Since the traceback is that long, the first error message will scroll out of the window. Thus less experienced developers will not recognize it.
Expected
The traceback is not shown.