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

Hi all, 

I want to do mass import with Odoo. One way I can think of putting all the file in the a module and declare it in the _manifest_.py so that when I install the module, all the data will be imported in the background. But I think there's restriction that we must declare the data name to be the name of the model like res.partner.csv, account.account.type.csv.... 

Is there anyway that I can delcare 2 res.partner.csv or for each model, I can only declare 1 file ?

Any other idea for large set of data to import into odoo ?

Thanks 


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

dir1/res.partner.csv

dir1/account.account

dir2/res.partner.csv

dir2/account.account

Should work.

อวตาร
ละทิ้ง
ผู้เขียน

Thanks so much for the approach. I haven't think about that.

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ต.ค. 23
2251
0
มี.ค. 15
3589
2
ส.ค. 25
2172
1
ก.ค. 25
721
1
ส.ค. 25
1150