[FIX] FF 3.6 issue with slices causing o2m records to never appear
bzr revid: xmo@openerp.com-20111021131726-8seupwb2tlathh21
This commit is contained in:
@@ -493,7 +493,7 @@ openerp.web.DataSetStatic = openerp.web.DataSet.extend({
|
||||
offset = options.offset || 0,
|
||||
limit = options.limit || false,
|
||||
fields = fields || false;
|
||||
var end_pos = limit && limit !== -1 ? offset + limit : undefined;
|
||||
var end_pos = limit && limit !== -1 ? offset + limit : this.ids.length;
|
||||
return this.read_ids(this.ids.slice(offset, end_pos), fields, callback);
|
||||
},
|
||||
set_ids: function (ids) {
|
||||
|
||||
Reference in New Issue
Block a user