Odoo Help

Welcome!

This community 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.

0

Get the current url in wizard

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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