odoo 10
I'm new in this... I'm having problem to render to my page created on controller
I'm having this error
View 'products.index' in website 1 not found
template.xml
<odoo>
<template id="index_assets_frontend_view">
<t t-foreach="product" t-as="products">
<strong><t t-esc="product.id" /></strong>
<b><t t-esc="product.name" /></b>
</t>
</template>
</odoo>
controller.py
cimport logging
from openerp import SUPERUSER_ID
from openerp import http
from openerp.http import request
from openerp import models, api
class website_qty(http.Controller):
@http.route(['/productos'], auth="public")
def index(self, **post):
arr = []
products = request.env['product.product']
arr = products.search([])
print arr
# return request.render('website.layout',{'products':products.search([])})
return request.render('products.index')