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.

Hope it helps.


[1]
http://hg.tryton.org/modules/web_user/file/4153faf25a3e/email_validation.html

-- 
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

-- 
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/3716de40-350f-1d49-d692-381d6999cec8%40koolpi.com.

Reply via email to