[IMP] ir.ui.view: log traceback when validation of view arch fail

bzr revid: chs@openerp.com-20130919114508-72pv3u1stxw4l3ry
This commit is contained in:
Christophe Simonis 2013-09-19 13:45:08 +02:00
parent 0d09c2c27f
commit ffdcf33673
1 changed files with 1 additions and 0 deletions

View File

@ -129,6 +129,7 @@ class view(osv.osv):
fvg = self.pool[view.model].fields_view_get(cr, uid, view_id=view.id, view_type=view.type, context=context)
return fvg['arch']
except Exception:
_logger.exception('cannot render view %s', view.xml_id)
return False
def _check_xml(self, cr, uid, ids, context=None):