[Erp5-dev] Multiple actions for object_exchange and object_print

Lukasz Nowak lukasz.nowak at ventis.com.pl
Tue Sep 12 17:47:43 CEST 2006


Hi,

Dnia czwartek, 7 września 2006 18:27, napisałeś:
(...)
> You can also use object_report, if your print methods can be considered as
> reports.

Well, adding my own printing methods to object works, if Base_printPdf render 
as form, not as script which is sending PDF to browser.

So I'm attaching "my way" of having many prints _AND_ fully working 
Base_printPdf as form. I think that if erp5_core will be patched that way 
someone in future won't have misunderstanding as mine and selecting print 
method will be avaiable out-of-the-box.

Bye,
Luke

-- 
Łukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 392 10 60 int 37 fax: +48 32 392 10 61
https://ssl.ventis.com.pl/keys/lukasz.nowak.pub.asc
``Use the Source, Luke...''
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Base_printPdf.xml
Type: text/xml
Size: 3811 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20060912/b36b27a6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: doBase_printPdf.xml
Type: text/xml
Size: 6024 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20060912/b36b27a6/attachment-0001.bin>


More information about the Erp5-dev mailing list