This question has been flagged
1 Reply
5854 Views

How to fetch the current url in a wizard?

Avatar
Discard

could you better explain your need?

Author

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

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

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?

Best Answer

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

Avatar
Discard