Fix rpc cache on fields_view_get

toolbar is no more an arguments
This commit is contained in:
Cédric Krier committed 2011-07-20 19:42:49 +02:00
1 parent 7ffa0c22f1
commit dce43d355d
1 file changed
+1 -1
+1 -1
View File
@@ -212,7 +212,7 @@ def _execute(blocking, *args):
# Make sure all the arguments are present
args = tuple(arg if arg is not None else default
for arg, default in itertools.izip_longest(args,
('', '', 'fields_view_get', None, 'form', False),
('', '', 'fields_view_get', None, 'form'),
fillvalue=None))
key = str(args + (ctx,))
if key in _VIEW_CACHE and _VIEW_CACHE[key][0]: