i have module use odoo 12 function image_resize_image which odoo 13 doesn't use , i want to know which function odoo 13 replace this function
example of using this in my module:
@api.model_create_multi
def create(self, vals_list):
for vals in vals_list:
tools.image_resize_images(vals, big_name='custom_thumbnail', medium_name='custom_thumbnail_medium', small_name='custom_thumbnail_small' )
return super(Thumbnail, self).create(vals_list)
Please stop addressing particular users with your tags. Tags should be related to your content.
ok , sorry
This will resize image on record creation and updation.
Try this: https://learnopenerp.blogspot.com/2021/09/dynamically-image-resizing-save-write-odoo14.html