Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
5271 Visualizações

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 


Avatar
Cancelar
Melhor resposta

dir1/res.partner.csv

dir1/account.account

dir2/res.partner.csv

dir2/account.account

Should work.

Avatar
Cancelar
Autor

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

Publicações relacionadas Respostas Visualizações Atividade
2
out. 23
2047
0
mar. 15
3459
1
jun. 25
742
2
mai. 25
761
0
mai. 25
863