Browse Source

[FIX] report_py3o readme structure

pull/313/head
Stéphane Bidoul (ACSONE) 5 years ago
parent
commit
cfb1187f0d
  1. 2
      report_py3o/readme/CONFIGURE.rst
  2. 4
      report_py3o/readme/USAGE.rst

2
report_py3o/readme/CONFIGURE.rst

@ -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.

4
report_py3o/readme/USAGE.rst

@ -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>`_.
Loading…
Cancel
Save