odoo 10.
I'm want to login before login before a user can view contact us form,by using website module,
i achieve that but the URL is not correctly pass on click of signup button.
I code like -
class Website(Home):
@http.route('/page/contactus', type='http', auth="user", website=True)
def test_test(self, **post):
return request.render('website.contactus')
this returns a login form correctly but not render signup form -
signup Form error URL -
http://192.168.1.168/web/signup?redirect=http%3A%2F%2F192.168.1.168%2Fpage%2Fcontactus