diff options
| author | Christophe Simonis <chs@openerp.com> | 2011-11-18 14:26:06 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@openerp.com> | 2011-11-18 14:26:06 +0100 |
| commit | f994e70e41d133d8f6430dac3c7b1bef90cdea7e (patch) | |
| tree | f2bf8e8602f580dce526b7a42a2cf86117ac8f71 /addons/web/static/src/js/data.js | |
| parent | 4e85f0762cc69af8efdb88ec857329ac955afe0b (diff) | |
| parent | e6f0378bd8e290606fe09ac29788e3f633a345a3 (diff) | |
merge upstream
bzr revid: chs@openerp.com-20111117125432-zhfrcyrtwy9b9cv8
bzr revid: chs@openerp.com-20111118132606-6gh7zmrx7606w8fv
Diffstat (limited to 'addons/web/static/src/js/data.js')
| -rw-r--r-- | addons/web/static/src/js/data.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/data.js b/addons/web/static/src/js/data.js index e783f374dce..69d8fd9ddfd 100644 --- a/addons/web/static/src/js/data.js +++ b/addons/web/static/src/js/data.js @@ -316,7 +316,7 @@ openerp.web.DataSet = openerp.web.Widget.extend( /** @lends openerp.web.DataSet def.reject(); } else { fields = fields || false; - return this.read_ids([this.ids[this.index]], fields).then(function(records) { + this.read_ids([this.ids[this.index]], fields).then(function(records) { def.resolve(records[0]); }, function() { def.reject.apply(def, arguments); |
