Fix Contacts view too slow to display

The 'base' Kanban view for res.partner in 9.0 loads the large 'image'
field in the 'search_read' but display the 'small_image'. The js code
also has to issue js calls to get the small images as they have not been
prefetched. This is noticeably slow to load when the large images are
read from S3 which is slower than a local filesystem/database.

This fix loads the 'small_image' instead of the large one.

This bug has been fixed in Odoo 10.0.
This commit is contained in:
Guewen Baconnier
2017-02-09 11:49:23 +01:00
parent 8ad99c9336
commit 4d8400d0bf
2 changed files with 34 additions and 1 deletions
+3 -1
View File
@@ -14,6 +14,8 @@
'python': ['boto'],
},
'website': 'http://www.camptocamp.com',
'data': [],
'data': [
'views/res_partner_views.xml',
],
'installable': True,
}