How to font change of pdf reports(odoo 15) using custom path of fonts.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
7162
Vistas
You need to first create a your module and then create a static>src>fonts folder and then create a scss folder inside
static>src and inside of scss folder a create a new scss file.
@font-face {
font-family: PPNeueMontreal-Medium;
src: url('../fonts/PPNeueMontreal-Medium.woff') format("woff"),
url('../fonts/PPNeueMontreal-Medium.otf') format('truetype');
}
.page {
font-family: PPNeueMontreal-Medium;
text-transform: uppercase;
}
and then add this portion in manifest file.
'assets': {
'web.report_assets_common': [
'my_module/static/src/scss/your_reports.scss',
],
}
Thank you
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
2
dic 23
|
2739 | ||
|
1
feb 23
|
4201 | ||
|
0
abr 23
|
1703 | ||
Override report_invoice_document
Resuelto
|
|
1
mar 23
|
3394 | |
Studio : bank details on Invoice
Resuelto
|
|
1
ene 23
|
2769 |