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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
1
الرد
6862
أدوات العرض
I just saw this today - https://apps.openerp.com/apps/7.0/csv_noupdate/ - don't know if it helps.
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
1
مارس 15
|
9484 | ||
|
3
أكتوبر 23
|
34481 | ||
|
3
يوليو 19
|
6499 | ||
|
5
أكتوبر 23
|
23415 | ||
|
3
يونيو 20
|
3789 |
How are you inserting the data of the CSV file?
in __openerp__.py: "data": ['mydata.csv']