[FIX] FieldMany2One: always_reload option should not prevent from
authorThibault Delavallée <tde@openerp.com>
Thu, 30 May 2013 08:02:18 +0000 (10:02 +0200)
committerThibault Delavallée <tde@openerp.com>
Thu, 30 May 2013 08:02:18 +0000 (10:02 +0200)
commit10807026ea6ed9ec6c07cc5b1b8e97feac00780e
treef702673e9fc17451fd3ad7defae88941821816fe
parent4ab8585c579f7cdf5b74aac8b3500189bfa2f630
[FIX] FieldMany2One: always_reload option should not prevent from
displaying the field original value that is a valid name_get. The always_reload
perform an additional name_get that may crash due to access rights. Keeping the
original value (coming from the fields view get) in a backup variable allows
to fall back on this value when having issues with access rights.

bzr revid: tde@openerp.com-20130530080218-0kvr36vwqki05rrw
addons/web/static/src/js/view_form.js