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

Hi

how to add quantity of  stock for all locations in  any product to view tree

i add this  code

'sousse1' : fields.related('location_id','qty_available',type='float',string='Quantité disponible',domain=[('company_id', '=', 'sousse1')],store=True,)

Thanks

Avatar
Hylkää

HI Oussama, can you explain your need? i got like, you want to add a quantity field to tree view? But there is already quantity field in produce tree view..!!

Tekijä

Hi Baiju ,In my situation i have a multi company and i want to get the quantity of stock for each location in the view tree. Thanks