Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
2061 มุมมอง

Hi,


we are currently looking for an option to make the product picture a mandatory field, since we need to store images of products.

Is there a way to achieve this in odoo?

We are using: odoo v13, community edition.


Thanks for any help :)        

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello Paul, 

I think you have to set required = True in product image field.

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Hi, thanks for the quick answer. Is this possible from the web-view?

And can I do this required = True for only some product categories? Or will it apply for all?


Thanks again.

อวตาร
ละทิ้ง

If you have to do required = True for only some categories then you have to pass attrs for that.

Related Posts ตอบกลับ มุมมอง กิจกรรม
4
มี.ค. 22
17892
0
ต.ค. 21
3304
How to use urls as product images? แก้ไขแล้ว
2
ธ.ค. 19
23951
How to import product images ? แก้ไขแล้ว
3
พ.ย. 24
14787
0
มิ.ย. 22
2743