temporarily removing checks

bzr revid: fp@tinyerp.com-20120611091031-sfear1x3c574tvpw
This commit is contained in:
Fabien Pinckaers
2012-06-11 11:10:31 +02:00
parent fc3873e131
commit 84fe3e7ba6
+6 -2
View File
@@ -82,8 +82,12 @@ class view(osv.osv):
def call_view(record):
try:
root = root_view(record)
# Temporarily commented, waiting for being fixed
self.pool.get(root.model).fields_view_get(cr, uid, view_id=root.id, view_type=root.type, context=context)
# Temporarily commented, waiting fixes; it breaks most updates because
# when you update modules, all views are in the database, but only
# fields of loaded objects are on the objects. This breaks the
# fields_view_get calls. (field exists in view but not in the object)
#
# self.pool.get(root.model).fields_view_get(cr, uid, view_id=root.id, view_type=root.type, context=context)
return True
except: