تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
5 الردود
11813 أدوات العرض

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

الصورة الرمزية
إهمال
أفضل إجابة

Use selenium to navigate then you can access browser URL with :

driver.current_url


الصورة الرمزية
إهمال
أفضل إجابة

hello any update??... someone??

الصورة الرمزية
إهمال
أفضل إجابة

Edited






الصورة الرمزية
إهمال
أفضل إجابة

up !! 

الصورة الرمزية
إهمال
أفضل إجابة

Seems like no one has the answer :/

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
مارس 15
4560
0
أغسطس 23
2405
0
يونيو 20
2633
0
أبريل 20
3686
0
مايو 17
3888