On Tue 2011-10-11 09:19, Cédric Krier wrote: > On 10/10/11 20:44 -0600, Tom Schutter wrote: > > On Sun 2011-10-09 08:25, Cédric Krier wrote: > > > On 08/10/11 17:56 -0600, Tom Schutter wrote: > > > > On Sun 2011-10-09 00:09, Cédric Krier wrote: > > > > > On 08/10/11 14:36 -0700, Tom Schutter wrote: > > > > > > Can I generate a report via libreoffice of the price list? How do I > > > > > > do > > > > > > that? > > > > > > > > > > As it is a computed list that could depend on many things (especially > > > > > the > > > > > quantity) it is not really doable in a generic way. > > > > > > > > In my case, the pricing is always the same no matter what the quantity. > > > > Would that make it any easier? > > > > > > Yes of course. Indeed I just think that we could have a report that will > > > take > > > a set of quantity to compute. > > > > 1) What can I do to help a price list report become real? > > - You can submit a patch (see [1])
I have been attempting to create a report based upon the doc at http://doc.tryton.org/2.0/trytond/doc/topics/reports/index.html#topics-reports I have created a price_list.odt that should work. I understand what needs to be added to price_list.xml But I can't see how to actually attach the report to the UI. I suspect that the empty "Report API" and "Python API" sections of the Reports doc would tell me what I need to know if well, they were not empty. Examining other reports doesn't shed enough light. Sometimes there appear to be report-related objects in the Python source such as PickingList in stock/shipment.py, but I can't decypher the why and the how. I have the skills, but I am lacking the knowledge of Tryton internals. -- Tom Schutter [email protected] -- [email protected] mailing list
