Odoo Help


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.


show the Product Availability on the Web?

Jonathan Hurtado
on 2/1/15, 10:21 PM 805 views


on the "default" web template I can't see the details about the product availability or "Quantity on hand",

I know this field is product.qty_available, but I don't know how to modify the HTML page to show this field.

Thank you



| 5 3 8
Pondicherry, India
On 2/5/15, 1:54 AM


In the path addond/website_sale/views/template.xml ,you can see

<h1 itemprop="name" t-field="product.name">Product Name</h1> in the line 379.

you just add the following code in before or after the code to see the products avaialble.

 Product On Hand<h1 t-field="product.qty_available"></h1>

then you can see the number of products available on hand..

Jonathan Hurtado
On 2/5/15, 8:32 AM

It works!

I had applied those changes online via Odoo HTML editor (it's not required to modify the XML file directly)

Thank you!

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

4 follower(s)


Asked: 2/1/15, 10:21 PM
Seen: 805 times
Last updated: 3/16/15, 8:10 AM