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
|
12082 | |||
|
3
10月 23
|
38178 | |||
|
3
7月 19
|
8522 | |||
|
5
9月 25
|
26972 | |||
|
3
6月 20
|
6710 |
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']