Skip to Content
Menu
This question has been flagged
3 Replies
4882 Views

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
Discard
Author

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

Author Best Answer

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
Discard
Best Answer

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
Discard
Author

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 Replies Views Activity
0
Mar 16
2858
1
Feb 16
6352
2
Oct 22
9503
2
Jun 22
6011
0
Jul 18
4796