behavior of the default print button

behavior of the default print button

Postby qwertz » Fri Oct 19, 2012 11:09 am

Hello!

First, thanks for the nice reporting engine, works quite good so far. keep up the good work!

Now to my problem:

I want to change the behavior of the standard "Quotation/Order Print Button" to let it print my new shiny aeroo report. What is the best way to achieve this?

I read several threads about this issue, but nobody seems to have an answer.
hope you guys will :mrgreen:

By the way: I'm using OpenERP 6.1.1 with aerooreports from trunk

Thanks in advance!

qwertz
qwertz
 
Posts: 2
Joined: Fri Oct 19, 2012 10:50 am

Re: behavior of the default print button

Postby Normunds » Thu Oct 25, 2012 11:15 am

Best way is to write small module, that inherits default existing rml (replace necessary rml report with aeroo) and installs your created report- should use parser in that report e.g.

from account.report.account_central_journal import journal_print
class Parser(journal_print):
def __init__(self, cr, uid, name, context):
super(Parser, self).__init__(cr, uid, name, context)
self.localcontext.update({})
Normunds
 
Posts: 35
Joined: Tue May 12, 2009 10:34 am

Re: behavior of the default print button

Postby qwertz » Thu Nov 08, 2012 6:50 pm

Hey! Thanks, I'll try it soon.
qwertz
 
Posts: 2
Joined: Fri Oct 19, 2012 10:50 am

Re: behavior of the default print button

Postby rahul12 » Mon Dec 31, 2012 12:44 pm

Hi All,

I would like to know how can I generate a line item number for tables created in OpenOffice Writer. All of my aeroo reports was based in .odt template and I would like to know the procedure on how to create a column that will have its row automatically filled with incremental number.
rahul
rahul12
 
Posts: 1
Joined: Mon Dec 31, 2012 12:36 pm

Re: behavior of the default print button

Postby michaeljee » Thu Feb 28, 2013 12:49 pm

Nice surprise about this shorter form. Can you tell us what it is you are talking/writing about?
Has any info. about this shorter form been posted before (and i just missed it)?
michaeljee
 
Posts: 1
Joined: Thu Feb 28, 2013 12:48 pm

Re: behavior of the default print button

Postby David22 » Thu Jul 14, 2016 11:48 am

Amongst the set of options that agents choose from, the default option is the option the chooser will obtain if she does nothing. Less conservative interpretations of default options include options that are normative or suggested. Experiments and observational studies show that making an option a default increases the likelihood that it is chosen
David22
 
Posts: 1
Joined: Thu Jul 14, 2016 11:47 am


Return to Aeroo Reports & OpenOffice.org Reporting Engine

Copyright © 2001 Alistek Ltd., ALL RIGHTS RESERVED