[FIX] report_py3o readme structure

pull/347/head
Stéphane Bidoul (ACSONE) 2019-07-31 08:50:00 +02:00 committed by Laurent Mignon (ACSONE)
parent 809eb3019e
commit c9ecc66438
2 changed files with 3 additions and 3 deletions

View File

@ -84,7 +84,7 @@ If you want to add a new py3o PDF report (and not replace a native report), the
</odoo> </odoo>
Configuration parameters Configuration parameters
------------------------ ~~~~~~~~~~~~~~~~~~~~~~~~
py3o.conversion_command py3o.conversion_command
The command to be used to run the conversion, ``libreoffice`` by default. If you change this, whatever you set here must accept the parameters ``--headless --convert-to $ext $file`` and put the resulting file into ``$file``'s directory with extension ``$ext``. The command will be started in ``$file``'s directory. The command to be used to run the conversion, ``libreoffice`` by default. If you change this, whatever you set here must accept the parameters ``--headless --convert-to $ext $file`` and put the resulting file into ``$file``'s directory with extension ``$ext``. The command will be started in ``$file``'s directory.

View File

@ -1,7 +1,7 @@
The templating language is `extensively documented <http://py3otemplate.readthedocs.io/en/latest/templating.html>`_, the records are exposed in libreoffice as ``objects``, on which you can also call functions. The templating language is `extensively documented <http://py3otemplate.readthedocs.io/en/latest/templating.html>`_, the records are exposed in libreoffice as ``objects``, on which you can also call functions.
Available functions and objects Available functions and objects
------------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user user
Browse record of current user Browse record of current user
@ -24,6 +24,6 @@ o_format_date(value, lang_code=False, date_format=False)
Sample report templates Sample report templates
----------------------- ~~~~~~~~~~~~~~~~~~~~~~~
Sample py3o report templates for the main Odoo native reports (invoice, sale order, purchase order, picking, etc.) are available on the Github project `odoo-py3o-report-templates <https://github.com/akretion/odoo-py3o-report-templates>`_. Sample py3o report templates for the main Odoo native reports (invoice, sale order, purchase order, picking, etc.) are available on the Github project `odoo-py3o-report-templates <https://github.com/akretion/odoo-py3o-report-templates>`_.