Odoo Help

0

Get the current url in wizard

By
Shelton
on 2/18/13, 3:37 AM 2,545 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..

Shelton
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?

ton123
on 2/23/13, 5:47 AM
2

Cyril Gaspard (GEM)

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

Forum contributor since 2008

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

Hi,

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.

Bye

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: 2/18/13, 3:37 AM
Seen: 2545 times
Last updated: 3/16/15, 8:10 AM