Skip to Content
Menu
This question has been flagged

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

Avatar
Discard
Related Posts Replies Views Activity
0
Nov 24
66
0
Jan 21
2173
1
Apr 17
6085
5
Sep 24
14077
1
May 24
593