Odoo Help

0

How to run a python function right after installing a module?

By
Timo Talvitie, Vizucom Oy
on 7/25/13, 7:10 AM 6,101 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!

1

Timo Talvitie, Vizucom Oy

--Timo Talvitie, Vizucom Oy--
768
| 5 4 7
Tampere, Finland
--Timo Talvitie, Vizucom Oy--

Lead developer at Vizucom.

Timo Talvitie, Vizucom Oy
On 8/5/13, 9:31 AM
0

Timo Talvitie, Vizucom Oy

--Timo Talvitie, Vizucom Oy--
768
| 5 4 7
Tampere, Finland
--Timo Talvitie, Vizucom Oy--

Lead developer at Vizucom.

Timo Talvitie, Vizucom Oy
On 7/25/13, 8:34 AM

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/

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 7/25/13, 7:10 AM
Seen: 6101 times
Last updated: 3/16/15, 8:10 AM