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

I first made a database with demo data, and there I filled the form for the company. From Companies / (check on company) / Action / Export I managed to export a .csv with the company data (phone, address, etc).

Then I made a new database without demo data, and tried importing the .csv exported previously. When I then go to Settings / Companies / Import, the problem is this:

... that is - I click on Browse, choose the .csv - but after that, Validate is still greyed out and cannot be pressed, and the refresh button seems not to be doing anything either.

What am I doing wrong, and how can I export company data as .csv from Odoo, such that I can re-import that data in Odoo for a different database?


Awatar
Odrzuć
Autor

Unfortunately I cannot edit the OP question (403 forbidden) so I'll add here: all this happens with the default admin user, so probably it is not due to misconfiguration of user permissions (I hope?!)

Autor Najlepsza odpowiedź

Well, I don't really know what happened here - but eventually I just restarted the browser, logged in again, and then it worked; so I guess that is the answer for my case.

Awatar
Odrzuć
Najlepsza odpowiedź

Hello sdbs_ml,

When you first create db with demo data. and then you create some dummy data for company.

In company form there is some relational fields coming from another objects.

Please ensure that while you are exporting you are not exporting this fields.

If you are exporting that fields then in production db (db without demo data) that does not have that relational fields data.

Awatar
Odrzuć
Autor

Many thanks, @DivyangJariwala - I also noticed that if there are some relational fields in the .csv, then the import process in Odoo complains with validation error messages; however, what was weird in the OP case, is that nothing ever got to validation error messages - as if the whole upload thing didn't work at all. I thought at first it is maybe a permission problem - but I ended up just restarting the browser and it helped.

Powiązane posty Odpowiedzi Widoki Czynność
0
mar 16
2868
1
lut 16
6370
2
paź 22
9505
2
cze 22
6029
0
lip 18
4805