跳至內容
選單
此問題已被標幟
1 回覆
6748 瀏覽次數

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.

頭像
捨棄

How are you inserting the data of the CSV file?

作者

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

最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
3月 15
9330
3
10月 23
34350
3
7月 19
6393
5
10月 23
23205
3
6月 20
3574