diff --git a/bin/osv/orm.py b/bin/osv/orm.py index f1c36026c32..648e8c87989 100644 --- a/bin/osv/orm.py +++ b/bin/osv/orm.py @@ -1401,7 +1401,7 @@ class orm_template(object): else: xml = '' # what happens here, graph case? - # raise except_orm(_('Invalid Architecture!'),_("There is no view of type '%s' defined for the structure!") % view_type) + raise except_orm(_('Invalid Architecture!'),_("There is no view of type '%s' defined for the structure!") % view_type) result['arch'] = etree.fromstring(encode(xml)) result['name'] = 'default' result['field_parent'] = False