Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
5599 Visualizzazioni

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
Abbandona

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

Autore

updated the question...

Post correlati Risposte Visualizzazioni Attività
1
lug 25
2222
1
mag 20
3514
0
mar 20
3535
1
nov 19
6299
1
mag 19
4904