<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.svg">
</a>
<a name="report-py3o-multilang"></a>
<h2>Report Py3o Multilang</h2>
<p>This module extends the Py3o Report functionality by letting you specify a rule
to choose the appropriate template to use according to an expected language.</p>
<a name="usage"></a>
<h3>Usage</h3>
<p>This module add two new fields on the report definition:</p>
<ul class="simple">
<li>Alternate lang report file path: This should be a placeholder expression
that provides the path to an alternate report file to use for a given
language. The the expression can use the string '{lang}' as placeholder in the path,
e.g. "folder/my_template_{lang}.odt". If the expression is not provided or can be resolved, the report falls back
on the main report file path/controller.</li>
<li>Language: This should usually be a placeholder expression that provides the appropriate language,
e.g. "${object.partner_id.lang}.". The 'object' in the expression is on instance of the model on which the
report applies.</li>
</ul>
<a name="id1"></a>
<h3>Usage</h3>
<p>To use this module, you need to:</p>
<ol class="arabic simple">
<li>Go to ...</li>
</ol>
<a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/143/10.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a>
<a name="bug-tracker"></a>
<h3>Bug Tracker</h3>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/{project_repo}/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 feedback.</p>
<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>Laurent Mignon <<a class="reference external" href="mailto:laurent.mignon@acsone.eu">laurent.mignon@acsone.eu</a>></li>
</ul>
<a name="maintainer"></a>
<h4>Maintainer</h4>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>This module is maintained by the OCA.</p>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
<p>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>