I want to use the Background Template for printed invoices. However I do not want to include the watermark and I would like to change the purple headings to blue.
I have found where it is defined in web/static/src/less/layout_background.less
'''
.o_report_layout_background { |
background-image: url(/base/static/img/bg_background_template.jpg); |
background-size: cover; |
background-position: bottom center; |
background-repeat: no-repeat; |
min-height: 900px; |
thead tr th, h2 { |
color: @odoo-brand-primary; |
} |
''' |
I am familiar with inheritance in python and xml but do not know how to safely change a .less file in Odoo. I have tried unsuccessfully to find examples, any example of how to achieve this would be most welcome.
I also have the same issue ? Have you got any solution ?