Using Odoo12, I want to show the field delay from product.supplierinfo in my website shop. It should be displayed in every product view.
So I added following code to my view:
<span t-field="product_supplierinfo.delay></span>
Sadly this doesnt work and gives me following Error:
AttributeError: 'NoneType' object has no attribute '_fields'
If I just a model like product_variant for example it works without any issues.
Seems there is no value inside the product_supplierinfo
I don't quite understand why its not working. What is the right way to call a field from another model in qweb? It acts like the model product_supplierinfo doesn't exist but it does. Do I need to call it in a different way?