[fix] small thing i forgot in the preceding fix
authorniv-openerp <nicolas.vanhoren@openerp.com>
Mon, 29 Aug 2011 12:28:37 +0000 (14:28 +0200)
committerniv-openerp <nicolas.vanhoren@openerp.com>
Mon, 29 Aug 2011 12:28:37 +0000 (14:28 +0200)
bzr revid: nicolas.vanhoren@openerp.com-20110829122837-ahv6bhb6720jk0ld

addons/base/static/src/js/form.js

index 818a69b..581ec4a 100644 (file)
@@ -2202,7 +2202,7 @@ openerp.base.form.FormOpenDataset = openerp.base.ReadOnlyDataSetSearch.extend({
         if (this.fop.options.read_function) {
             return this.fop.options.read_function.apply(null, arguments);
         } else {
-            this._super.apply(this, arguments);
+            return this._super.apply(this, arguments);
         }
     }
 });