2009/12/28 <[email protected]> > Hi everyone, I'm having some troubles with the report designer. > > I don't know how to get a total sum of one of the fields from a table. > > I tried proving the example on the documentation but it doesn't work, > at lease not for me =S. > > Well, right now I just need to get this sum to display in the report, if > someone could let me a hand it'll be appreciated. >
You can create a method in your py file report to sum(yourfield) maybe with an sql and update in context from redefined __init__ method. regards, > > Thanks in advance. > > Ricardo Wing. > > > > > -------------------- m2f -------------------- > > -- > http://www.openobject.com/forum/viewtopic.php?p=48655#48655 > > -------------------- m2f -------------------- > > > _______________________________________________ > Tinyerp-users mailing list > http://tiny.be/mailman2/listinfo/tinyerp-users > -- Cristian Salamea CEO GnuThink Software Labs Software Libre / Open Source (+593-8) 4-36-44-48
_______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users
