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
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
2
Replies
1346
Views
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up