[FIX] following underscore update, _.all may now call into native function and as a result requires a function to be provided

give it _.identity

bzr revid: xmo@openerp.com-20110714142958-hqr03w1tip845v3x
This commit is contained in:
Xavier Morel 2011-07-14 16:29:58 +02:00
parent 0d3262ed0e
commit 54035575dc
1 changed files with 1 additions and 1 deletions

View File

@ -513,7 +513,7 @@ openerp.base.form.compute_domain = function(expr, fields) {
this.log("Unsupported operator in modifiers :", op);
}
}
return _.all(stack);
return _.all(stack, _.identity);
};
openerp.base.form.Widget = openerp.base.Controller.extend({