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.
Diese Frage wurde gekennzeichnet
1
Antworten
8940
Ansichten
I just saw this today - https://apps.openerp.com/apps/7.0/csv_noupdate/ - don't know if it helps.
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
Registrieren| Verknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
|---|---|---|---|---|
|
|
1
März 15
|
12042 | ||
|
|
3
Okt. 23
|
38126 | ||
|
|
3
Juli 19
|
8494 | ||
|
|
5
Sept. 25
|
26883 | ||
|
|
3
Juni 20
|
6652 |
How are you inserting the data of the CSV file?
in __openerp__.py: "data": ['mydata.csv']