Odoo Help


Get the current url in wizard

on 2/18/13, 3:37 AM 2,853 views

How to fetch the current url in a wizard?

could you better explain your need?

Davide Corio
on 2/18/13, 4:03 AM

I want to show the current url in a text field in the wizard which is opened on clicking a link..

on 2/18/13, 7:44 AM

that's something you can't do via standard openerp's api.

Davide Corio
on 2/18/13, 7:48 AM

Please guys can you be more explaining in your questions and comments? Why do you want this, what is your purpose? Which wizard is involved? What is the standard openerp's api?

on 2/23/13, 5:47 AM

Cyril Gaspard (GEM)

--Cyril Gaspard (GEM)--

| 5 6 8
Paris, France
--Cyril Gaspard (GEM)--

Forum contributor since 2008

Cyril Gaspard (GEM)
On 3/5/13, 9:03 AM


install module share, in each form, you will have two green buttons added on the top left of the title of the form (the first to give possibility to share the link with rights read or write, the second send an email with the link inside, this give the possibility to a people without openerp account to see/edit on the link you give), try the button and choose config you want (see/edit) and click on button share, in the wizard, you will have url displayed in a field, and in the body a script to share the link.

See in the code of module share and you will have the function which find the url ;) .

Hoping this will help and work.


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.


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)


Asked: 2/18/13, 3:37 AM
Seen: 2853 times
Last updated: 3/16/15, 8:10 AM