Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
6959 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มี.ค. 15
9579
3
ต.ค. 23
34610
3
ก.ค. 19
6560
5
ต.ค. 23
23531
3
มิ.ย. 20
3972