تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
20041 أدوات العرض

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!

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

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

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

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/

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
6
سبتمبر 24
52404
0
مارس 16
5979
1
فبراير 16
6284
1
مارس 15
8943
0
مارس 15
4675