mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[ADD] Prioritize background transparency
This commit is contained in:
@@ -21,6 +21,10 @@ To use this module, you need to:
|
|||||||
:alt: Try me on Runbot
|
:alt: Try me on Runbot
|
||||||
:target: https://runbot.odoo-community.org/runbot/143/8.0
|
:target: https://runbot.odoo-community.org/runbot/143/8.0
|
||||||
|
|
||||||
|
Known Issues
|
||||||
|
============
|
||||||
|
This module depends on support for transparent backgrounds in Wkhtmltopdf, which has been flaky in the past. This module has been reported to work with Wkhtmltopdf 0.12.4.
|
||||||
|
|
||||||
Bug Tracker
|
Bug Tracker
|
||||||
===========
|
===========
|
||||||
|
|
||||||
|
|||||||
@@ -14,5 +14,6 @@
|
|||||||
"data": [
|
"data": [
|
||||||
"demo/report.xml",
|
"demo/report.xml",
|
||||||
"views/ir_actions_report_xml.xml",
|
"views/ir_actions_report_xml.xml",
|
||||||
|
"views/layout_templates.xml",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
body {
|
||||||
|
background: transparent !important;
|
||||||
|
}
|
||||||
10
report_qweb_pdf_watermark/views/layout_templates.xml
Normal file
10
report_qweb_pdf_watermark/views/layout_templates.xml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<odoo>
|
||||||
|
<!-- Include fix for https://github.com/odoo/odoo/issues/16610 -->
|
||||||
|
<template id="assets_pdf" inherit_id="report.assets_pdf">
|
||||||
|
<link position="after">
|
||||||
|
<link href="/report_qweb_pdf_watermark/static/src/css/report_qweb_pdf_watermark.css"
|
||||||
|
rel="stylesheet"/>
|
||||||
|
</link>
|
||||||
|
</template>
|
||||||
|
</odoo>
|
||||||
Reference in New Issue
Block a user