[MERGE] forward port of branch 7.0 up to 419d934
authorChristophe Simonis <chs@odoo.com>
Mon, 1 Dec 2014 14:33:48 +0000 (15:33 +0100)
committerChristophe Simonis <chs@odoo.com>
Mon, 1 Dec 2014 14:33:48 +0000 (15:33 +0100)
1  2 
addons/stock/stock_view.xml
addons/web/static/src/js/view_list.js

Simple merge
@@@ -533,6 -528,8 +533,7 @@@ instance.web.ListView = instance.web.Vi
      },
      reload_record: function (record) {
          var self = this;
+         var fields = this.fields_view.fields;
 -        // Use of search_read instead of read to check if we can still read the record (security rules)
          return this.dataset.read_ids(
              [record.get('id')],
              _.pluck(_(this.columns).filter(function (r) {