跳至內容
選單
此問題已被標幟
1 回覆
5479 瀏覽次數

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.

相關帖文 回覆 瀏覽次數 活動
2
10月 23
2345
0
3月 15
3680
2
8月 25
2547
1
7月 25
961
1
8月 25
1151