Odoo Help


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

on 10/31/14, 6:29 AM 544 views


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


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..!!

Baiju KS
on 12/15/14, 1:58 AM

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

on 12/15/14, 6:13 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 10/31/14, 6:29 AM
Seen: 544 times
Last updated: 3/16/15, 8:10 AM