Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5446 Lượt xem

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 


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

dir1/res.partner.csv

dir1/account.account

dir2/res.partner.csv

dir2/account.account

Should work.

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 10 23
2312
0
thg 3 15
3647
2
thg 8 25
2403
1
thg 7 25
908
1
thg 8 25
1151