[FIX] report_py3o readme structure
parent
f4c3c0f1c2
commit
cfb1187f0d
|
@ -84,7 +84,7 @@ If you want to add a new py3o PDF report (and not replace a native report), the
|
|||
</odoo>
|
||||
|
||||
Configuration parameters
|
||||
------------------------
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
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.
|
||||
|
|
|
@ -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.
|
||||
|
||||
Available functions and objects
|
||||
-------------------------------
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
user
|
||||
Browse record of current user
|
||||
|
@ -24,6 +24,6 @@ o_format_date(value, lang_code=False, date_format=False)
|
|||
|
||||
|
||||
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>`_.
|
||||
|
|
Loading…
Reference in New Issue