Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5441 Widoki

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 


Awatar
Odrzuć
Najlepsza odpowiedź

dir1/res.partner.csv

dir1/account.account

dir2/res.partner.csv

dir2/account.account

Should work.

Awatar
Odrzuć
Autor

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

Powiązane posty Odpowiedzi Widoki Czynność
2
paź 23
2310
0
mar 15
3646
2
sie 25
2400
1
lip 25
905
1
sie 25
1151