Odoo Help

0

How Can I get current URL (means browser URL)?

By
Pratik Bhandirge
on 5/26/15, 1:25 PM 1,997 views

For example my browser URL is "http://localhost:8069/web?&debug=#id=2863&view_type=form&model=ir.attachment&action=582&active_id=17"

I tried following request object but didn't get url as I need

request.httprequest.host - localhost:8069 

request.httprequest.host_url - http://localhost:8069/

request.httprequest.remote_addr - 127.0.0.1 

request.httprequest.url - http://localhost:8069/web/dataset/call_button 

request.httprequest.base_url - http://localhost:8069/web/dataset/call_button

0
Tessnim ZRAYGA
On 4/28/16, 12:43 PM

Seems like no one has the answer :/

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 5/26/15, 1:25 PM
Seen: 1997 times
Last updated: 4/28/16, 12:43 PM