Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
5449 Представления

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
2327
0
мар. 15
3649
2
авг. 25
2415
1
июл. 25
912
1
авг. 25
1151