Contributors mailing list archives

Re: Aeroo replacement and text2text reporting engine

Acsone SA, Laurent Mignon
- 07/12/2016 21:44:12

IMO the support for text2text reporting with py3o can be easily added to report_py3o. Indeed, it's just a matter of providing the right templale[1] class to use in report_py3o. The py3o.template library provides this kind of functionality[2]. 



On Wed, Dec 7, 2016 at 6:22 PM, Alexis de Lattre <> wrote:
As you know, during the last OCA code sprint in Louvain la neuve, there was a workgroup to compare the 2 main libreoffice-based reporting engines (Aeroo and Py3o), py3o was selected and a PR has been created for the v9 and v10 branch to add report_py3o in OCA :

PR for v9 :
PR for v10 :

I already use report_py3o for my first deployment of Odoo 10 in production and it works fine. I still have many things to learn on the py3o reporting engine and there are still things to improve in report_py3o to be as good as aeroo on some specific features, but it's a very good start.

But there is stupid (but very useful) feature that I am missing from aeroo: text2text reporting. Aeroo has the ability to have text-based reports that use genshi as templating engine and outputs the text file in the encoding that is configured on the "" report. I use it very regularly to generate TXT or CSV reports.

Here is an example of such a module :  It uses aeroo to create a CSV report of a purchase order ; this CSV file can be uploaded on Dilicom, the main editor-independant plateform to order books in France.
Advantage: easy to develop, 0 python code.

Do you know an equivalent module that supports txt <-> txt reports ? If not, I think it would be great to develop one in the OCA, don't you think ?

Alexis de Lattre
Akretion France - 35B rue Montgolfier - 69100 Villeurbanne - France
Mail :

Post to:

Laurent Mignon
Senior software engineer

Tel: +352 20 21 10 20 32
Fax: +352 20 21 10 21

Acsone SA, Succursale de Luxembourg 
22, Zone Industrielle
​ ​
​| L-8287 Kehlen, Luxembourg
TVA LU24733605
​ | ​RCS B160400​

Acsone sa/nv
Boulevard de la Woluwe 56, b4  Woluwedal
​ | B-1200 Bruxelles - Brussel 
RPM Bruxelles 0835.207.216 RPR Brussel