跳至內容
選單
此問題已被標幟
5601 瀏覽次數

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.

頭像
捨棄

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

作者

updated the question...

相關帖文 回覆 瀏覽次數 活動
1
7月 25
2222
1
5月 20
3514
0
3月 20
3535
1
11月 19
6299
1
5月 19
4904