Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1952 Lượt xem

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 :)        

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello Paul, 

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

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 3 22
17718
0
thg 10 21
3193
2
thg 12 19
23801
3
thg 11 24
14616
0
thg 6 22
2636