Author: |
Elico Corp |
License: |
AGPL-3 |
Branch: |
11.0 |
Repository: |
gastonfeng/odoo-addons |
Dependencies: |
base |
Languages: |
PO File (26, 5.3%),
Python (376, 77.4%),
XML (35, 7.2%),
and
reStructuredText (49, 10.1%) |
Other branches: |
10.0 |
Other repositories: |
554513154/odoo-addons,
Elico-Corp/odoo-addons,
Guobower/odoo-addons-7,
JoJoJoJoJoJoJo/odoo-addons,
Kevin4577/odoo-addons,
Nkirui/odoo-addons,
Reinhard-sheng/odoo-addons,
Rona111/openerp-7.0,
Stefano-Pedretti/odoo-addons,
TheCloneMaster/odoo-addons-1,
Ubaid-UrRehman/odoo-addons,
YogeshMahera-SerpentCS/odoo-addons,
a0c/odoo-addons,
abdtrust11/odoo-addons,
akhdaniel/odoo-addons,
aurestic/elico-corp-odoo-addons,
consultingerp/odoo-addons-3,
diagramsoftware/elico-corp-odoo-addons,
eksotama/odoo-addons-2,
elicoidal/odoo-addons,
holg/odoo-addons,
jason156/odoo-addons-1,
jijia-hao/odoo-addons,
jsilvestar/odoo-addons,
kit9/odoo-addons,
lefilament/odoo-addons,
one2pret/odoo-addons-1,
ruter-lyu/odoo-addons,
skmezanul/odoo-addons,
sudhir-serpentcs/odoo-addons,
and
yst726/odoo-addons |
<a class="reference external image-reference" 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 name="docx-template-report"></a>
<h2>Docx template report</h2>
<p>This module adds a new reporting engine to the current standard QWEB allowing the user to directly upload docx files containing scripts (in jinja2) into Odoo.</p>
<p>The reporting engine will interpret the script and create a pdf/docx based on the docx template.</p>
<a name="installation"></a>
<h3>Installation</h3>
<p>To install this module, you need to:</p>
<ul class="simple">
<li>install the docxtpl : Terminal order ("pip install docxtpl")</li>
<li>install the reportlab : Terminal order ("pip install reportlab")</li>
<li>install the pypdf : Terminal order ("pip install pypdf")</li>
<li>install the python lib: docxtpl (<a class="reference external" href="http://docxtpl.readthedocs.org/en/latest/">http://docxtpl.readthedocs.org/en/latest/</a>)</li>
<li>install the libreoffice (<a class="reference external" href="https://wiki.ubuntu.com/LibreOffice">https://wiki.ubuntu.com/LibreOffice</a>)</li>
</ul>
<a name="configuration"></a>
<h3>Configuration</h3>
<p>To configure this module, you need to:</p>
<ul class="simple">
<li>Inherit the function generate_docx_data in the report/report_docx.py</li>
<li>Pass the list of the dictionary to the engine. (etc [{data1}, {data2}, .....])</li>
<li>Each dictionary will generate a report base on the docx template.</li>
</ul>
<a name="usage"></a>
<h3>Usage</h3>
<p>To use this module, you need to:</p>
<ul class="simple">
<li>Go to System/Technical/Reports/Report</li>
<li>Create a new report</li>
<li>Change the report type to docx</li>
<li>upload the template file.</li>
</ul>
<a name="bug-tracker"></a>
<h3>Bug Tracker</h3>
<p>Bugs are tracked on <cite>GitHub Issues <https://github.com/Elico-Corp/yopark_odoo/issues></cite>.</p>
<a name="known-issues-roadmap"></a>
<h3>Known issues / Roadmap</h3>
<ul class="simple">
<li>To be implemented: export from docx to html.</li>
<li>load the watermark from html (qweb)</li>
</ul>
<a name="credits"></a>
<h3>Credits</h3>
<a name="images"></a>
<h4>Images</h4>
<ul class="simple">
<li>Odoo Community Association: <a class="reference external" href="https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg">Icon</a>.</li>
</ul>
<a name="contributors"></a>
<h4>Contributors</h4>
<ul class="simple">
<li>Eric Caudal <<a class="reference external" href="mailto:eric.caudal@elico-corp.com">eric.caudal@elico-corp.com</a>></li>
<li>Victor M. Martin <<a class="reference external" href="mailto:victor.martin@elico-corp.com">victor.martin@elico-corp.com</a>></li>
<li>Hulk Liu: <<a class="reference external" href="mailto:hulk.liu@elico-corp.com">hulk.liu@elico-corp.com</a>></li>
<li>Kevin Wei: <<a class="reference external" href="mailto:kevin.wei@elico-corp.com">kevin.wei@elico-corp.com</a>></li>
</ul>
<a name="maintainer"></a>
<h4>Maintainer</h4>
<a class="reference external image-reference" href="https://www.elico-corp.com"><img alt="Elico Corp" src="https://www.elico-corp.com/logo.png" /></a>
<p>This module is maintained by Elico Corporation.</p>
<p>Elico Corporation offers consulting services to implement open source management software in SMEs, with a strong involvement in quality of service.</p>
<p>Our headquarters are located in Shanghai with branches in ShenZhen and Singapore servicing customers from China, Hong Kong, Japan, Australia, Europe, Middle East, etc...</p>