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.
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.
I just saw this today - https://apps.openerp.com/apps/7.0/csv_noupdate/ - don't know if it helps.
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
1
3月 15
|
12213 | |||
|
3
10月 23
|
38251 | |||
|
3
7月 19
|
8585 | |||
|
5
9月 25
|
27096 | |||
|
3
6月 20
|
6982 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
How are you inserting the data of the CSV file?
in __openerp__.py: "data": ['mydata.csv']