0 编辑 关闭 删除 标记 How to make image field width & height fixed? 编辑 关闭 删除 标记 odoo 16 十二月 2019 退订 订阅 评论 分享 贴子评论 丢弃 1 答案 0 odoo 16 十二月 2019 最佳答案 Hi!You can use the following code to resize image in your code (please adapt it as you need) :from odoo import tools@api.modeldef create(self, vals): tools.image_resize_images(vals, sizes={'image': (250, 150)})Best regards! 备注 分享 1 备注 贴子评论 丢弃 odoo - 6 一月 2025 删除 转换为答案 how can i fixed product details but image should be work as scrolling in odoo website?