Good morning everyone,

I've got a simple question here, is there a way to execute some code when
"initializing" a module.
I mean, I can put some code in the .py file, but I don't have access to any
cursor. Unless there is a way to get the cursor ?

Is there a way to define for example an init method which would be called
when module is loaded,
in which we could use the pool and a cursor ?

Thanks,
_______________________________________________
Mailing list: https://launchpad.net/~openerp-expert-framework
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-expert-framework
More help   : https://help.launchpad.net/ListHelp

Reply via email to