Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
5608 Tampilan

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
Buang

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

Penulis

updated the question...

Post Terkait Replies Tampilan Aktivitas
1
Jul 25
2223
1
Mei 20
3515
0
Mar 20
3536
1
Nov 19
6299
1
Mei 19
4904