Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
20156 Lượt xem

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!

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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/

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
6
thg 9 24
52515
0
thg 3 16
6041
1
thg 2 16
6353
1
thg 3 15
8988
0
thg 3 15
4730