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

How to fetch the current url in a wizard?

الصورة الرمزية
إهمال

could you better explain your need?

الكاتب

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?

أفضل إجابة

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
مارس 24
27841
1
أبريل 24
8633
2
مارس 15
4930
3
مارس 15
8719
1
مارس 15
5988