[FIX] restrict set_default values to the current user's company, courtesy of Guewen Baconnier

bzr revid: xmo@openerp.com-20120831130705-gf1jwrospk4u0dsc
This commit is contained in:
Xavier Morel
2012-08-31 15:07:05 +02:00
+1 -1
View File
@@ -747,7 +747,7 @@ openerp.web.FormView = openerp.web.View.extend( /** @lends openerp.web.FormView#
field_to_set,
self.fields[field_to_set].get_value(),
all_users,
false,
true,
condition || false
]).then(function () { d.close(); });
}}