Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
1333 Представления

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

Аватар
Отменить
Лучший ответ

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.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
июн. 23
2895
3
июн. 20
8786
0
апр. 16
6041
5
апр. 23
15750
6
сент. 22
67154