콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
2295 화면

My own domain is registered on Cloudflare and I am using Odoo 18.2 SaaS. DNS have been setup and my eCommerce has been running fine since we started using Odoo early 2025. 

Two days ago, I tried to enable Proxy in Cloudflare so I can have proper caching and a better security later. Website kept running fine but the PDF (like Quote/Order confirmation) came out without images or style. I turned off proxy and the problem was gone.

Anyone here managed to set up the proper caching rules in Cloudflare to get everything working smoothly? Any help appreciated.O

아바타
취소
작성자

Thanks. Indeed, there is no report.url parameter in our database. So if my web.base.url is https://www.mydomain.com, I need to add a new parameter report.url with value "https://mydomain.odoo.com? 

Would be my first try, yes, assuming you can reach your Odoo with https://mydomain.odoo.com

베스트 답변

There is a System Parameter called report.url. This defines what URL is used to render documents. Chances are, this is not set in your database - which means, that the web.base.url will come in place - and your Cloudflare configuration prevents proper access.

To manage System Parameters, go to Settings, enable Developer Mode, then navigate to Technical -> System Parameters. If the Key report.url doesn't exist, create it and set its value to a URL that is not covered by Cloudflare (i.e. the original *.odoo.com url you got from Odoo).

Alternatively you can try to exclude the Odoo server IPs from running through Cloudflare checks. The IPs however will change over time, so you would need to update them in future.

Simply put, bottom line, the most probable cause is that the "Are you a bot?"-security-check can not be passed by Odoo when trying to render a report (i.e. loading style sheets and other resources, such as images).

아바타
취소
관련 게시물 답글 화면 활동
1
6월 25
1145
2
9월 25
4005
13
9월 25
28001
3
6월 25
954
1
6월 25
1475