Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
205 Переглядів

I have a multi-DB environment, and I have tried various methods to retrieve a functional public URL of an attachment (image but can be a pdf as well), with or without a token. In all versions, as soon as I am logged in, the file is available, but otherwise I get a 404 error.

Now I am trying the simplest way, setting the attachment as public.

att.public is set to True, att.type is set to binary.
att.local_url is /web/image/48414?unique=ecf93128ec52bba345611f66e8bafa806be267bf
I tried to add db=<dbname> and no improvements (I know it's case sensitive, I set it properly)


I am running Odoo 18 Enterprise on Windows (on-premise), behind a Caddy proxy server.

As soon as I am logged in, the file is available, but otherwise, I get a 404 error.

Can anyone help, please?

Thank you,

Liviu

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
лют. 25
843
0
лист. 24
1122
0
вер. 25
233
1
серп. 25
505
1
лип. 25
1245