server-tools icon indicating copy to clipboard operation
server-tools copied to clipboard

Can't use fontawesome icons in reports

Open Crazor opened this issue 3 years ago • 4 comments

I'm can't use fontawesome icons in PDF/HTML reports.

Module

base_fontawesome

Describe the bug

I installed base fontawesome module, but when I try to add e.g. <i class="fa-solid fa-phone"> to a QWeb view, I get Bildschirmfoto 2022-10-25 um 16 40 42

To Reproduce

Affected versions: 15.0.5.15.4

Steps to reproduce the behavior:

  1. Install module
  2. Add <i class="fa-solid fa-phone"> to e.g. the main document header/footer
  3. Print a report and note the unknown symbol placeholder: Bildschirmfoto 2022-10-25 um 16 40 42

Expected behavior I expect to see the FA phone icon: https://fontawesome.com/icons/phone?s=solid&f=classic

Additional context

Crazor avatar Oct 25 '22 14:10 Crazor

Most interestingly, it works in the PDF version, but not in HTML. For quick turnaround while editing, I set the action of the report I'm working on from PDF to HTML, so I can just refresh instead of having to use the print menu. The PDF behaves just fine, only the HTML report is broken.

Crazor avatar Oct 25 '22 14:10 Crazor

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

github-actions[bot] avatar Sep 14 '25 12:09 github-actions[bot]

I have a similar problem, but in my case it works in the html but not in the PDF. Does anyone know how to fix this?

orfisko avatar Oct 10 '25 13:10 orfisko

This is also the case for me on V17 I'm guessing the assets that need loaded onto the report is the issue.

litmount avatar Nov 14 '25 18:11 litmount