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.
Cette question a été signalée
1
Répondre
8906
Vues
I just saw this today - https://apps.openerp.com/apps/7.0/csv_noupdate/ - don't know if it helps.
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
1
mars 15
|
11994 | ||
|
|
3
oct. 23
|
38081 | ||
|
|
3
juil. 19
|
8437 | ||
|
|
5
sept. 25
|
26781 | ||
|
|
3
juin 20
|
6520 |
How are you inserting the data of the CSV file?
in __openerp__.py: "data": ['mydata.csv']