تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
6345 أدوات العرض

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.

الصورة الرمزية
إهمال

How are you inserting the data of the CSV file?

الكاتب

in __openerp__.py: "data": ['mydata.csv']

أفضل إجابة

I just saw this today - https://apps.openerp.com/apps/7.0/csv_noupdate/ - don't know if it helps.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مارس 15
8853
3
أكتوبر 23
33941
3
يوليو 19
6045
5
أكتوبر 23
22572
3
يونيو 20
2941