Odoo Help

1

show the Product Availability on the Web?

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

hi,

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

4
Vasanth
On 2/5/15, 1:54 AM

hi.

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

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

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.

Register

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

4 follower(s)

Stats

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