This question has been flagged
2 Replies
17915 Views

I would like to execute a piece of python code from inside my module just after the module has been installed - is it possible to have this done automatically?

The idea would be to do some database queries right after the module installation.

Thanks!

Avatar
Discard
Author Best Answer

Found the necessary info at https://accounts.openerp.com/forum/Help-1/question/6131

Avatar
Discard
Author Best Answer

This question contained all the required info

http://help.openerp.com/question/6131/how-can-i-execute-a-sql-statement-on-module-update-and-installation/

Avatar
Discard