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 print product and warehouse

By
mostafa
on 7/11/14, 8:53 AM 750 views

Hi ,

i would like to print all product and their warehouse

i ahve make loop and print this fields

<td width="100" align="center"> ${product.name} </td>

<td width="200" align="center"> ${product.lst_price}

</td> <td width="100" align="center"> ${product.qty_available}

</td> <td width="100" align="center"> ${product.warehouse_id.name} </td>

i have resourceful to print the name and public price and the quantity but when i try to print the warehouse print None

write none in the field cell in the table
i am using webkit tool

how can i solve this

0

Ludo - Neobis

--Ludo - Neobis--
2387
| 2 2 5
Hoogvliet, Netherlands
--Ludo - Neobis--

Developer

Ludo - Neobis
On 7/11/14, 9:26 AM

There is no warehouse_id on product, is there? If you want to find out the available quantity in a certain warehouse, use the stock move objects. These will have locations and a warehouse link.

Maybe the product model has a method for this as well, you should check that one.

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

1 follower(s)

Stats

Asked: 7/11/14, 8:53 AM
Seen: 750 times
Last updated: 3/16/15, 8:10 AM