Open iggups opened 1 year ago
Found similar bug, an easy way to reproduce is installing just base_fontawesome
and website
on a clean installation, for example on runboat. Tested on linked runboat and right after installation icons of social networks on footer are broken:
Looks like not all assets are loaded:
Could anyone take a look of this please @OCA/tools-maintainers?
Best regards.
It seems to be something amiss in web.assets_frontend.
When inspecting /web/assets/debug/1/web.assets_frontend.css
on Runboat, fontawesome.css
is included, but all.css
isn't, and I think that's the one needed for the correct interpretation of the fa-*
classes. In the backend, it does work.
Solved in https://github.com/OCA/server-tools/pull/2740, could someone take a look please? Thanks!
Hi folks, I am still not seeing the icons in the odoo backend. I am using them as described in the OP.
I updated the module to 16.0.5.16.0 and wanted to use the new icons in a form view button like:
<button class="oe_stat_button" type="object" name="action_foobar" brand_icon="fa-amazon-pay">
<field name="foobar_count" widget="statinfo" string="Foo Bar"/>
</button>
@iggups I think it is now fixed
@thomaspaulb Unfortunately not.
This is my code:
<button class="oe_stat_button" type="object" name="action_external_contract"
brand_icon="fa-amazon-pay"
>
<field name="external_contract_count" widget="statinfo" string="External Contracts"/>
</button>
And this is how it looks
I have the latest version intalled.
Module
base_fontawesome
Describe the bug
Tried to use the new icons in an XML view but I don't see any icon at all. Maybe I am using it wrong? I followed the documentation.
To Reproduce
Affected versions: 16.0.5.15.4
Steps to reproduce the behavior:
<button brand_icon="fa-amazon-pay" string=" fa-amazon-pay"/>
to a form viewExpected behavior Icon is shown