Hi, I'd like to know how to set different backgrounds, which change depending on the page. I know how to set a background, but it is common to all pages. If it has to do with css, what code should I put, and where? Thanks in advance.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Proyectos
- MRP
Se marcó esta pregunta
2
Respuestas
1347
Vistas
Hello ?
Hi,
we can add background based on the codes
<div class="page" t-attf-style="background-image:url('/my_module/static/img/foo.jpg'); background-size:195mm 282mm; width:195mm; height:282mm;">
also, you can refer to this app: https://apps.odoo.com/apps/modules/17.0/pdf_report_with_watermark/
Hope it helps
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse