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

I have initial data for module in CSV file. How I can load data from CSV file only when installing module, not when updating? XML data files have "noupdate" option, but CSV files haven't.

Ảnh đại diện
Huỷ bỏ

How are you inserting the data of the CSV file?

Tác giả

in __openerp__.py: "data": ['mydata.csv']

Câu trả lời hay nhất

I just saw this today - https://apps.openerp.com/apps/7.0/csv_noupdate/ - don't know if it helps.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 15
9578
3
thg 10 23
34610
3
thg 7 19
6558
5
thg 10 23
23529
3
thg 6 20
3971