[FIX] ir.ui.view: restore extended validation of view arch, let exceptions bubble...
authorOlivier Dony <odo@openerp.com>
Thu, 30 Jan 2014 10:07:16 +0000 (11:07 +0100)
committerOlivier Dony <odo@openerp.com>
Thu, 30 Jan 2014 10:07:16 +0000 (11:07 +0100)
commitc231d9760af61ab43749ae4917f4e5582846b750
tree714f5b5d285245c0ee89a858f273457761333cd6
parent57ec7d6c03ef9deb538483c8e1e1d7afa0ee2daa
[FIX] ir.ui.view: restore extended validation of view arch, let exceptions bubble up to constraint checker, cleanup+translate error messages

Raising an exception in a _constraint will now be
properly considered as a failed constraint, and the
user will see a warning popup with the exception
message. Therefore it makes sense to translate the
error as well, at least the not-too-technical part

bzr revid: odo@openerp.com-20140130100716-qcbwy7ecnxj17718
openerp/addons/base/ir/ir_ui_view.py