bzr revid: fp@tinyerp.com-20120820131726-7iassml4p93z7qsg
This commit is contained in:
Fabien Pinckaers
2012-08-20 15:17:26 +02:00
parent 25233cd513
commit 0d5a185956
+1 -1
View File
@@ -1553,7 +1553,7 @@ def field_to_dict(model, cr, user, field, context=None):
# when client is started in debug mode.
if isinstance(field, function):
res['function'] = field._fnct and field._fnct.func_name or False
res['store'] = field.store
# res['store'] = field.store
if isinstance(field.store, dict):
res['store'] = str(field.store)
res['fnct_search'] = field._fnct_search and field._fnct_search.func_name or False