Odoo: PDF Report not showing CSS while HTML report shows fine.

Tags: #<Tag:0x00007f0f269763c8> #<Tag:0x00007f0f26976260>

Reports when printed as PDF are seen without CSS. While Reports when printed as HTML are seen with CSS.

Activate the developer mode

Adding following System Parameter in Settings - Technical - Parameter - System Parameters solved this issue. Key = report.url Value = http://127.0.0.1:8069

This Bahmni implementation is a local Setup with a Domain name using port forwarding, this could be the reason behind this problem. As we mentioned the above address in the System Parameters, the receipt print is working fine with correct CSS.