Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
5087 Näkymät

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.

Avatar
Hylkää

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

Tekijä

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

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
maalisk. 15
5203
2
kesäk. 17
4210
1
tammik. 20
4468
0
marrask. 15
4150
2
huhtik. 24
6384