Skip to Content
Menu
This question has been flagged
5634 Views

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
Discard

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

Author

updated the question...

Related Posts Replies Views Activity
1
Jul 25
2283
1
May 20
3536
0
Mar 20
3561
1
Nov 19
6356
1
May 19
4925