跳至內容
選單
此問題已被標幟
4077 瀏覽次數

I am using odoo online where I have created a custom model (x_images) for a custom app (Images). 

I am using a kanban view to list images records with actual images (image widget). My problem is that the images uploaded (in x_image field) are quite big (3mb) so the kanban view performance is really bad. I want to create thumbnails in field (x_image_s) and use that field instead of x_image. I tried to use tools.image_get_resized_images() in the compute functionality (from GUI since I am using Odoo Online hosted by Odoo) to store a resized image in x_image_s but couldn't make it work. How can I solve my issue?

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
5月 25
827
1
7月 21
4611
2
2月 23
2812
0
2月 21
2343
1
4月 25
1742