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

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.

อวตาร
ละทิ้ง

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

ผู้เขียน

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
มี.ค. 15
5206
Limit the product to a specific supplier แก้ไขแล้ว
2
มิ.ย. 17
4211
1
ม.ค. 20
4468
0
พ.ย. 15
4152
2
เม.ย. 24
6396