Remove unused one2one field
This commit is contained in:
1 parent
0ad0cee2e6
commit
d97861785b
1 file changed
+1
-1
@@ -102,7 +102,7 @@ class ViewTreeModel(gtk.GenericTreeModel, gtk.TreeSortable):
|
||||
except:
|
||||
pass
|
||||
obj[field] = time.strftime(display_format, date)
|
||||
elif field_type in ('one2one','many2one'):
|
||||
elif field_type in ('many2one',):
|
||||
for obj in res_ids:
|
||||
if obj[field]:
|
||||
obj[field] = obj[field][1]
|
||||
|
||||
Reference in new issue
Block a user