[FIX] dataset class
bzr revid: al@openerp.com-20121110222822-ey7vzl7excr70j9k
This commit is contained in:
parent
e30858b91e
commit
521f52caff
|
@ -358,7 +358,7 @@ instance.web.Model = instance.web.Class.extend({
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
instance.web.DataSet = instance.web.Class.extend({
|
instance.web.DataSet = instance.web.Class.extend(instance.web.PropertiesMixin, {
|
||||||
/**
|
/**
|
||||||
* Collection of OpenERP records, used to share records and the current selection between views.
|
* Collection of OpenERP records, used to share records and the current selection between views.
|
||||||
*
|
*
|
||||||
|
@ -367,6 +367,7 @@ instance.web.DataSet = instance.web.Class.extend({
|
||||||
* @param {String} model the OpenERP model this dataset will manage
|
* @param {String} model the OpenERP model this dataset will manage
|
||||||
*/
|
*/
|
||||||
init: function(parent, model, context) {
|
init: function(parent, model, context) {
|
||||||
|
instance.web.PropertiesMixin.init.call(this);
|
||||||
this.model = model;
|
this.model = model;
|
||||||
this.context = context || {};
|
this.context = context || {};
|
||||||
this.index = null;
|
this.index = null;
|
||||||
|
|
Loading…
Reference in New Issue