跳至内容
菜单
此问题已终结
1 回复
6691 查看

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
9265
3
10月 23
34297
3
7月 19
6334
5
10月 23
23112
3
6月 20
3491