How do I create a path to a pdf file in odoo 17?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
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.
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
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.
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
0
cze 23
|
2890 | ||
|
3
cze 20
|
8782 | ||
|
0
kwi 16
|
6040 | ||
|
5
kwi 23
|
15747 | ||
Press a button and download a file, how?
Rozwiązane
|
|
6
wrz 22
|
67146 |