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

I want to know if there is a way to display all products I can buy from a supplier, so that if a product is available with several suppliers, I can compare prices and choose the best option.

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

Yes their is a way. I've already made this :D

Tác giả

could you please tell how?

lhadiesleo. you didn't mention how you've done it. I'd also be interested in knowing. thanks!

I'm sorry if I did'nt answer the question.. All you need to have is this 'product_list':fields.one2many('product.supplierinfo','name','Products List',readonly=True), amd in your .xml you can show what field you want to display in your one2many field, as simply as that :D

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 15
5111
2
thg 6 17
4147
1
thg 1 20
4379
0
thg 11 15
4056
2
thg 4 24
4821