Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2137 Visualizzazioni

Hi.


I'm upload some PDF documents to our website and Odoo automatically creates an URL like this:

www.domainname.com/web/image/11111


I would like to rename it more understandable like:

www.domainname.com/user-manual.pdf


I check Attachment options on Odoo backend but there is no way to do that. Any idea?

Avatar
Abbandona
Risposta migliore

Yes, it's possible

If you wanna do it manually just go to the attachment record, change the File type to be URL and put the URL value to be /user-manual.pdf​ and save the form, edit it again and change the file type to be File again and save, after that you would be able to access the file using the custom URL provided for that attachment, the first one also works but you could share the custom one and it will work

Avatar
Abbandona
Autore

It worked. Thank you very much, Axel!

I have test this before sharing you the way to get it working and it works

Glad to help you. If there is something else tricky you wanna solve... don't hesitate to write me for business

Autore

thanks!

Post correlati Risposte Visualizzazioni Attività
1
lug 25
2222
2
lug 25
7713
2
lug 25
4132
2
lug 25
3882
2
giu 25
2492