<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<br><br>Thanks for your valuable support and time.<br><br>Can anyone also help me regarding question 3 about image upload in person module.<br><br>Also I have the following query:<br><br>I want to send email and attach a PDF report that should be generated at runtime.<br><br>Currently what I achive is that I run email successfully and generate PDF. But I want to some how attach the generated PDF document with the email.<br>Can anyone help me in this regard?<br><br>Warm Regards<br>Danny<br><br>> Date: Sun, 28 Dec 2008 23:16:32 +0100<br>> From: bartek@gorny.edu.pl<br>> To: erp5-dev@erp5.org<br>> Subject: Re: [Erp5-dev] Scheduling a a script and some more queries<br>> <br>> 2008/12/27 Danny Admin <dannywork1@hotmail.com>:<br>> > Hi,<br>> ><br>> > Thanks for your valuable answer.<br>> ><br>> > I have tried to search about portal_alarm but i did not find any material.<br>> ><br>> > Can you give me some material/links about how to use portal_alarm.<br>> <br>> You're right, it needs a how-to. I think I'll write something soon,<br>> but generally alarms are pretty straightorward - you create an alam,<br>> set periodicity, type in a name of the script you want to run, tick<br>> the "active" checkbox and this is it. The script will be run in the<br>> context of the alarm. If you install erp5_forge bt5 you'll see a<br>> working example - this bt5 installs an "open bugs alarm".<br>> <br>> > Some more queries:<br>> > -------------------<br>> > 1. Can i use portal_activities for this? If yes then how i start an activity<br>> > that will run at a particular time each day?<br>> <br>> You can't. Portal activities serve an entirely different purpose.<br>> <br>> > 2. I want to make a search functionality for my module. Let say i have a<br>> > search form, from which user can enter different fields of an object and<br>> > enter it, I have to search all the objects matching entered fields and show<br>> > them in a list. Now how i can implement this functionality?<br>> <br>> Again, the best way is to look at a working example - e.g.<br>> erp5_accounting has a very nice search in accounting_module. You have<br>> to create a form for search parameters and add an action to the<br>> module's portal type. The action category should be object_search.<br>> This is pretty much it.<br>> <br>> > 3. In Person object Details tab when i browse and select png image from my<br>> > hard disk and save the person object, the image is not shown. When i see the<br>> > logtail of zope it says "OSError: [Error 2] No such file or directory" at<br>> > last log line. Can any one help in this regard?<br>> ><br>> > 4. How can i set an Organisation object in Default Site Preferences?<br>> <br>> What do you mean? If you mean accounting preferences, then you have to<br>> create some categories under "group" base category and choose a group<br>> for your organisation. Then in preferences you select a group first,<br>> and then the organisation dropdown is filled with organisation from<br>> that group.<br>> <br>> Bartek<br>> <br>> > Thanks & Regards<br>> > Danny<br>> ><br>> >> Date: Sat, 27 Dec 2008 16:00:24 +0100<br>> >> From: jp@nexedi.com<br>> >> To: erp5-dev@erp5.org<br>> >> Subject: Re: [Erp5-dev] Scheduling a a script<br>> >><br>> >> Hi,<br>> >><br>> >> You can use alarms (portal_alarms).<br>> >><br>> >> Regards,<br>> >><br>> >> JPS.<br>> >><br>> >> Danny Admin a écrit :<br>> >> > Hi,<br>> >> ><br>> >> > Can anyone tell me how can i schedule a script to run at a particular<br>> >> > time? Also run a script periodically at some interval say 5 seconds ?<br>> >> ><br>> >> > Thanks & Regards<br>> >> > Danny<br>> >> ><br>> >> > ------------------------------------------------------------------------<br>> >> > check out the rest of the Windows Live™. More than mail–Windows Live™<br>> >> > goes way beyond your inbox. More than messages<br>> >> > <http://www.microsoft.com/windows/windowslive/><br>> >> > -----------<br>> >> > -------------------------------------------------------------<br>> >> ><br>> >> > _______________________________________________<br>> >> > Erp5-dev mailing list<br>> >> > Erp5-dev@erp5.org<br>> >> > http://mail.nexedi.com/mailman/listinfo/erp5-dev<br>> >> ><br>> >><br>> >><br>> >> --<br>> >> Jean-Paul Smets-Solanes, Nexedi CEO - Tel. +33(0)6 62 05 76 14<br>> >> ERP5 Enterprise: Free / Open Source ERP for Critical Applications<br>> >> http://www.erp5.com<br>> >> ERP5 Express: Hosted Open Source ERP for small companies<br>> >> http://www.myerp5.com<br>> >> Nexedi: Consulting and Development of Free / Open Source Software<br>> >> http://www.nexedi.com<br>> >><br>> >> _______________________________________________<br>> >> Erp5-dev mailing list<br>> >> Erp5-dev@erp5.org<br>> >> http://mail.nexedi.com/mailman/listinfo/erp5-dev<br>> ><br>> > ________________________________<br>> > Get news, entertainment and everything you care about at Live.com. Check it<br>> > out!<br>> > _______________________________________________<br>> > Erp5-dev mailing list<br>> > Erp5-dev@erp5.org<br>> > http://mail.nexedi.com/mailman/listinfo/erp5-dev<br>> ><br>> ><br>> <br>> <br>> <br>> -- <br>> "Software is largely a service industry operating under the persistent<br>> but unfounded delusion that it is a manufacturing industry."<br>> Eric S.Raymond, "The Magic Cauldron"<br>> _______________________________________________<br>> Erp5-dev mailing list<br>> Erp5-dev@erp5.org<br>> http://mail.nexedi.com/mailman/listinfo/erp5-dev<br><br /><hr />Get easy photo sharing with Windows Live™ Photos. <a href='http://www.microsoft.com/windows/windowslive/photos.aspx' target='_new'>Drag n’ drop</a></body>
</html>