Odoo Help

Welcome!

This community 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.

0

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

By
oussama
on 10/31/14, 6:29 AM 334 views

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

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

oussama
on 12/15/14, 6:13 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

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