Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
104 Ansichten

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

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Feb. 25
767
0
Nov. 24
1069
1
Aug. 25
474
1
Juli 25
1132
2
Apr. 25
922