Search 1.9 billion lines of Odoo code on GitHub

report_aeroo_multilang

Author: ACSONE SA/NV
License: AGPL-3
Branch: 9.0-brb_master
Repository: acsone/aeroo_reports
Dependencies: report_aeroo
Languages: Python (82, 82.0%), and XML (18, 18.0%)
Other branches: master-add_report_aeroo_mulitilang

<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="multilingual-support-for-aeroo-report"></a> <h2>Multilingual support for Aeroo Report</h2> <p>This module extends the Aeroo 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 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. &quot;folder/my_template_{lang}.odt&quot;. 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. &quot;${object.partner_id.lang}.&quot;. The 'object' in the expression is on instance of the model on which the report applies.</li> </ul> <a name="credits"></a> <h3>Credits</h3> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Laurent Mignon &lt;<a class="reference external" href="mailto:laurent.mignon&#64;acsone.eu">laurent.mignon&#64;acsone.eu</a>&gt;</li> </ul> <a name="maintainer"></a> <h4>Maintainer</h4> <a class="reference external image-reference" href="http://www.acsone.eu"><img alt="ACSONE SA/NV" src="https://www.acsone.eu/logo.png" /></a> <p>This module is maintained by ACSONE SA/NV.</p>