Hello Friends,
If you want to use urls and routing in OpenERP(Odoo) paste the below mentioned code in your .controllers.py file: -
'Url': url.search([])
})
@http.route('/academy//', auth='public', website=True)
def teacher(self, name):
return '{}'.format(name)
@http.route('/academy/academy/objects/', auth='public')
def list(self, **kw):
return http.request.render('academy.listing', {
Enjoy the coding :)
0 Comment(s)