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.
لقد تم الإبلاغ عن هذا السؤال
1
الرد
8942
أدوات العرض
I just saw this today - https://apps.openerp.com/apps/7.0/csv_noupdate/ - don't know if it helps.
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل| المنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
|---|---|---|---|---|
|
|
1
مارس 15
|
12057 | ||
|
|
3
أكتوبر 23
|
38149 | ||
|
|
3
يوليو 19
|
8497 | ||
|
|
5
سبتمبر 25
|
26893 | ||
|
|
3
يونيو 20
|
6665 |
How are you inserting the data of the CSV file?
in __openerp__.py: "data": ['mydata.csv']