Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
1324 Weergaven

How do I create a path to a pdf file in odoo 17?

Avatar
Annuleer
Beste antwoord

There is a way to do this without code. It does, however, leave some unfortunate visual artifacts. I am hoping that this will be seen as a bug and fixed.

Here is how to try it yourself:

Select a Button while editing, and then on the right side scroll down to "Inline Text" and then select "Insert Media", you can upload a document that will be downloaded upon click.

Avatar
Annuleer
Beste antwoord

You insert your pdf in the EDM of odoo, then you paste the sharing link of this document from your EDM into your button. So people will be sent to the pdf

Avatar
Annuleer
Beste antwoord

Hi Tentiana,

Could you please add a new button and link it to this type of URL?

t-attf-href="/web/content/#{attachment.id}?download=true&access_token=#{attachment.access_token}"

You can search for Odoo addons using this URL.

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
jun. 23
2894
3
jun. 20
8785
0
apr. 16
6041
5
apr. 23
15749
6
sep. 22
67150