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