[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:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user