Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: Aeroo replacement and text2text reporting engine
Re: Aeroo replacement and text2text reporting engine
Re: Aeroo replacement and text2text reporting engine
by
Acsone SA/NV, Laurent Mignon
Alexis,
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].
Regards,
lmi
On Wed, Dec 7, 2016 at 6:22 PM, Alexis de Lattre <alexis.delattre@akretion.com> wrote:
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 ?Advantage: easy to develop, 0 python code.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 "ir.actions.report.xml" report. I use it very regularly to generate TXT or CSV reports.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.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 v10 : https://github.com/OCA/
PR for v9 : https://github.com/OCA/reporting-engine/pull/73 reporting-engine/pull/78
Here is an example of such a module : https://github.com/akretion/dilicom/tree/8.0/purchase_ 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.dilicom_csv
--Alexis de Lattre
Akretion France - 35B rue Montgolfier - 69100 Villeurbanne - France
Mail : alexis.delattre@akretion.com______________________________
_________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe
Laurent Mignon
Senior software engineer
Tel: +352 20 21 10 20 32
Fax: +352 20 21 10 21
Email: laurent.mignon@acsone.eu
Senior software engineer
Tel: +352 20 21 10 20 32
Fax: +352 20 21 10 21
Email: laurent.mignon@acsone.eu
Acsone SA, Succursale de Luxembourg
Boulevard de la Woluwe 56, b4 Woluwedal
22, Zone Industrielle
| L-8287 Kehlen, Luxembourg
TVA LU24733605
| RCS B160400
Acsone sa/nvBoulevard de la Woluwe 56, b4 Woluwedal
| B-1200 Bruxelles - Brussel
RPM Bruxelles 0835.207.216 RPR Brussel
RPM Bruxelles 0835.207.216 RPR Brussel
Reference
-
Aeroo replacement and text2text reporting engine
byAlexinux, Alexis de Lattre- 07/12/2016 18:15:24 - 0-
Re: Aeroo replacement and text2text reporting engine
byAlexinux, Alexis de Lattre- 04/01/2017 22:05:16 - 0 -
Re: Aeroo replacement and text2text reporting engine
byOpenForce (Grottaglie), Francesco Apruzzese- 02/01/2017 14:21:54 - 0 -
Re: Aeroo replacement and text2text reporting engine
byAlexinux, Alexis de Lattre- 01/01/2017 15:35:04 - 0 -
Re: Aeroo replacement and text2text reporting engine
byAlexinux, Alexis de Lattre- 09/12/2016 09:02:47 - 0 -
Re: Aeroo replacement and text2text reporting engine
byTecnativa. S. L., Pedro M. Baeza- 09/12/2016 01:22:49 - 0 -
Re: Aeroo replacement and text2text reporting engine
byHunki Enterprises B.V., Holger Brunn- 09/12/2016 00:09:33 - 1 -
Re: Aeroo replacement and text2text reporting engine
byAlexinux, Alexis de Lattre- 08/12/2016 10:52:02 - 0 -
Re: Aeroo replacement and text2text reporting engine
byAkretion France., David BEAL- 08/12/2016 10:00:35 - 0 -
Re: Aeroo replacement and text2text reporting engine
byAcsone SA/NV, Laurent Mignon- 08/12/2016 09:37:52 - 0 -
Re: Aeroo replacement and text2text reporting engine
byAkretion France., David BEAL- 08/12/2016 08:53:06 - 0
-