On 23/05/12 05:58 -0700, spiros sotiropoulos wrote:
> I have two questions I want to share. First of all, I haven't grasped
> the functionality of the scheduled actions. I have tried to modify an
> function to see if it works. In particular I left all the the
> parameters of Run On Time Triggers untouched but i modified the
> function trigger_time so that it prints a sample string. Nothing was
> done. So how can I define a scheduled action? What is the proper way
> of doing it?

You must create an entry in ir.cron.
But using a cron task should be done as the last option because it
doesn't give the best user experience.

> The second thing I am trying to do is to import from csv. Is there a
> way to use the already utilized import function that the menu has via
> proteus or do I have to write a new one?

You can call import_data method on any ModelStorage.

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpIK7zH2hbaa.pgp
Description: PGP signature

Reply via email to