Author: |
Creu Blanca,Odoo Community Association (OCA) |
License: |
AGPL-3 |
Branch: |
13.0-add-report_external_pdf |
Repository: |
tegin/reporting-engine |
Dependencies: |
web |
Languages: |
HTML (313, 53.4%),
JavaScript (84, 14.3%),
Python (128, 21.8%),
XML (30, 5.1%),
and
reStructuredText (31, 5.3%) |
<h1 class="title">Base report external PDF</h1>
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/tegin/reporting_engine/tree/13.0/report_external_pdf"><img alt="tegin/reporting_engine" src="https://img.shields.io/badge/github-tegin%2Freporting_engine-lightgray.png?logo=github" /></a></p>
<p>This module allows creating a report action of type "external_pdf". When creating a report of this type, a render_report() function allows adding the desired behavior. For example, in a specific report maybe we want to render one template or another depending on a record condition. The report will always be rendered as a pdf.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#usage" id="id1">Usage</a></li>
<li><a class="reference internal" href="#bug-tracker" id="id2">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id3">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id4">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id5">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="id6">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<a name="usage"></a>
<h2><a class="toc-backref" href="#id1">Usage</a></h2>
<p>To use it create a ir.actions.report record and then create a report model inheriting from the report.report_external_pdf.abstract and define the _render_report function as desired.</p>
<a name="bug-tracker"></a>
<h2><a class="toc-backref" href="#id2">Bug Tracker</a></h2>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/tegin/reporting_engine/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/tegin/reporting_engine/issues/new?body=module:%20report_external_pdf%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
<a name="credits"></a>
<h2><a class="toc-backref" href="#id3">Credits</a></h2>
<a name="authors"></a>
<h3><a class="toc-backref" href="#id4">Authors</a></h3>
<ul class="simple">
<li>Creu Blanca</li>
</ul>
<a name="contributors"></a>
<h3><a class="toc-backref" href="#id5">Contributors</a></h3>
<ul class="simple">
<li>Enric Tobella <<a class="reference external" href="mailto:etobella@creublanca.es">etobella@creublanca.es</a>></li>
</ul>
<a name="maintainers"></a>
<h3><a class="toc-backref" href="#id6">Maintainers</a></h3>
<p>This module is part of the <a class="reference external" href="https://github.com/tegin/reporting_engine/tree/13.0/report_external_pdf">tegin/reporting_engine</a> project on GitHub.</p>
<p>You are welcome to contribute.</p>