Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
5615 Zobrazení

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
Zrušit

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

Autor

updated the question...

Related Posts Odpovědi Zobrazení Aktivita
1
čvc 25
2227
1
kvě 20
3516
0
bře 20
3538
1
lis 19
6307
1
kvě 19
4904