Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lut 25
758
0
lis 24
1065
1
sie 25
466
1
lip 25
1123
2
kwi 25
910