El viernes, 23 de febrero de 2018, 10:06:07 (UTC+1), Sergi Almacellas Abellana
escribió:
> El 22/02/18 a les 20:10, Eduardo Ruiz Rodriguez ha escrit:
> > El viernes, 15 de diciembre de 2017, 15:39:08 (UTC+1), edbo@gmail.com
> > escribió:
> >> So what I did was:
> >> 1. Create a new label-report with plain text as layout. The content of
> >> that report is JSON-like, so when the report is created I get a
> >> JSON-string.
> > Hello, I'm stucked in that point. How did you get that report
> > (text/json-like..)?. The only report type I can generate is odt/ods. What
> > is the template format you applied for it?
> Hi Eduardo,
>
> You can use the 'txt' template extension to generate a report from txt
> format. Then you should upload the template file and declare using the
> relatorio sintax as usual. It's the same as we use for email
> notification templates [1], but using the txt template extension.
Yes, it works, thank you very much. I was dealing with the extension field
(instead of template extension).
Regards,
Eduardo
--
You received this message because you are subscribed to the Google Groups
"tryton-dev" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tryton-dev/79b60bc4-3397-4294-b4a1-9fddcda87680%40googlegroups.com.