Re: [tryton] reports

2018-04-02 Thread Cédric Krier
On 2018-03-30 02:00, Cato Nano wrote:
> and then I wonder: a not single report needs one only template fodt file and 
> then it will create as many copies as needed ?

For non-single report (which is the default), you need to loop over
records.
For single report, you can use directly record.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/20180402211341.GR3910%40kei.


Re: [tryton] Reports - Printing General ledger

2014-03-04 Thread Jan Grasnick
Am 04.03.2014 10:10, schrieb Sharoon Thomas:

>> 
>> http://review.gewinnmonitor.de/grasbauer_reports
> 
> Cannot open the link. It requires login ?
> 

Fixed.

> 
> Can’t agree more on the advantages of having HTML reports.
> 
> For the same reason we have built a webkit based reporting module
> [1] for tryton too. The default implementation uses genshi
> templates, but there is an example of using Jinja [2]. Jinja2
> templates would be a standard of the module soon [3]. In addition
> to HTML, the engine produces a PDF too using the webkit engine.

Like said on TUL - we ware always doing similar stuff ;) Will take a
look at yours.

Jan



Re: [tryton] Reports - Printing General ledger

2014-03-04 Thread Sharoon Thomas

On May 6, 2014, at 6:28 PM, Jan Grasnick | ag kommunikation 
 wrote:

> Hi,
> 
> today I run in the already stated problem: printing the general ledger
> to *.odt with 60 pages results in an unusable writer document (it was
> rendered but impossible to scroll) Because I need a result very fast I
> wrote a little proof of concept to generate the report fast and with a
> template language I already know.
> 
> This resulted in an ugly monkeypatch which you can find here:
> 
> http://review.gewinnmonitor.de/grasbauer_reports

Cannot open the link. It requires login ?

> Because of the good results and the growing featuritis of css I think
> there are a lot of use cases for a template engine using web technology.
> Feel free to fork, contribute and blame - right now I haven't the time
> to force the development of this feature and I will only update if there
> is the need for doing so.

Can’t agree more on the advantages of having HTML reports.

For the same reason we have built a webkit based reporting module [1] for
tryton too. The default implementation uses genshi templates, but there is
an example of using Jinja [2]. Jinja2 templates would be a standard of the
module soon [3]. In addition to HTML, the engine produces a PDF too using 
the webkit engine.

[1] https://github.com/openlabs/trytond-report-webkit
[2] 
https://github.com/openlabs/trytond-report-webkit/wiki/Using-jinja2-as-template-engine-for-trytond-report-webkit
[3] https://github.com/openlabs/trytond-report-webkit/issues/6


Thanks & Regards

Sharoon Thomas
Openlabs Technologies & Consulting (P) Limited

w: http://www.openlabs.co.in
m: +1 813.793.6736 (OPEN) Extn. 200
t: @sharoonthomas 

- We win when our customers win



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: [tryton] Reports - Printing General ledger

2014-03-04 Thread Raimon Esteve
2014-03-03 18:59 GMT+01:00 Jan Grasnick :
> Hi,
>
> today I run in the already stated problem: printing the general ledger
> to *.odt with 60 pages results in an unusable writer document (it was
> rendered but impossible to scroll) Because I need a result very fast I
> wrote a little proof of concept to generate the report fast and with a
> template language I already know.
>
> This resulted in an ugly monkeypatch which you can find here:
>
> http://review.gewinnmonitor.de/grasbauer_reports

You need to be a signed in to view this page

> Simply upload the general_ledger.zpt as binary to the report and switch
> report.extension to 'XHTML Document'
>
> Then print the general ledger of a realy big installation with thousends
> of lines. It will pop up in your browser immediately
>
> Because of the good results and the growing featuritis of css I think
> there are a lot of use cases for a template engine using web technology.
> Feel free to fork, contribute and blame - right now I haven't the time
> to force the development of this feature and I will only update if there
> is the need for doing so.
>
>
> Freundliche Grüße
> Jan Grasnick
>
> --
>
> Grasbauer UG
> Bosestraße 5
> 04109 Leipzig
>
> Geschäftsführer: Jan Grasnick und Axel Bauer
>
> Telefon: 0173 / 5701687
>
> Handelsregisternummer: HBR 27364
> USt-Identifikationsnummer: DE268808758
> zuständiges Amtsgericht: Leipzig
>



-- 
Si us plau, NO adjunti arxius a les seves respostes. Li preguem que
integri el text al cos del missatge. Pot respondre usant NetEtiquete
que li ajudarà a seguir la conversa.
http://es.wikipedia.org/wiki/Netiquette

Por favor, NO adjunte archivos a sus respuestas. Le rogamos que
integre el texto en el cuerpo del mensaje. Puede responder usando
NetEtiquete que le ayudará a seguir la
conversación.http://es.wikipedia.org/wiki/Netiquette

Please, DO NOT send attachment files with your answers, just copy and
paste only the text you need to send into the body of your mails.
Repply using NetEtiquete. http://en.wikipedia.org/wiki/Netiquette


Re: [tryton] Reports in Tryton

2012-04-02 Thread Cédric Krier
On 01/04/12 21:52 -0700, rahul yadav wrote:
> and i want to generate a report  of students whose marks is greater
> then 50. what should i do to generate thsi type of reports.

Please don't send multiple time the same email on the mailing, it will
just annoy people and you will have no answer.

So read the netiquette http://linux.sgms-centre.com/misc/netiquette.php
and stop this behavior or you will be banned.

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com/


pgpZeKD21Z3rd.pgp
Description: PGP signature


Re: [tryton] Reports

2011-03-23 Thread Cédric Krier
On 22/03/11 09:19 -0700, Bram wrote:
> Hello,
> 
> I have two questions about reports.
> 
> For a start I notice a strange behavior of the trail_balance report.
> Selecting a fiscal year with no period specification it report from
> period 3 to period 2. It has 13 periods; 12 regular and 1 adjustment.
> And more important the debit and credits have an unexpected outcome!
> Selecting period 1 to 13 it report from 3 to 13! With different debits
> and credits in comparison to the first report (and the numbers
> according to the client). I checked the dates of the periods. And
> period 1 and 2 are not empty. What is happening?

This is strange, I suspect issue in the dates of periods but could you fill an
issue in https://bugs.tryton.org/ with the values of every periods?

> Second I tried the general_ledger report and noticed the accounts are
> (probably) ordered by their unique ID. It who'd be nice if the where
> ordered by their code. How do I do that?

They are ordered by: code ASC, id ASC

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com/


pgpGS2rgh3gst.pgp
Description: PGP signature