Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
3 Besvarelser
4906 Visninger

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?


Avatar
Kassér
Forfatter

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?!)

Forfatter Bedste svar

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.

Avatar
Kassér
Bedste svar

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.

Avatar
Kassér
Forfatter

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.

Related Posts Besvarelser Visninger Aktivitet
0
mar. 16
2866
1
feb. 16
6357
2
okt. 22
9503
2
jun. 22
6025
0
jul. 18
4802