relatorio by default has support for those text format.
trytond could support them without too much modification:
- Add in ActionReport.template_extension
- Add in trytond.report.MIMETYPES
- Make Report.render return a str/bytes in such case (or maybe it should be relatorio)
- TranslationSet should be improved to parse translation of text (and to ease adding new report format)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Here is review24951002
It did not change the returned type of render because I think it should be part of a larger re-factoring that will use unicode_literals everywhere and replace bytes by str.
The existing translation will be migrated using this command (I don't upload review as it is huge and impossible/useless to review):
sed -i -e 's/^msgctxt "odt:/msgctxt "report:/' trytond/modules/*/locale/*.po
Cédric Krieradded 1 deleted label and removed 1 deleted label