Skip to Content
Menú
This question has been flagged
5624 Vistes

Hello,

how I can overwrite the function image_resize_image() in tools/image.py? Is it possible to crate a module overwriting this function?

The original function is called in addons/product/product.py:

'image_medium': fields.function(_get_image...

_get_image() -> tools.image_get_resized_images() -> image_resize_image_medium() -> image_resize_image()

Thank you.

Avatar
Descartar

When this method is called? I mean in which scenario this method is called?

Autor

updated the question...

Related Posts Respostes Vistes Activitat
1
de jul. 25
2251
1
de maig 20
3519
0
de març 20
3547
1
de nov. 19
6330
1
de maig 19
4906