Skip to Content
Menu
This question has been flagged
1 Reply
2649 Views

Hello, I am using Odoo 11.0 and am having problems to import a CSV file for inventory ajustments the file am am import is pretty simple:


If I try to import with only one line, everything goes well, but if my import has multiples lines, I get the error:

Erro:

Uncaught an exception occurred in a caller-provided callback function

http://localhost:8069/web/content/12217-a9ccaf4/web.assets_backend.js:1933

Traceback: undefined

Does anyone know how to solve this?

Avatar
Discard
Best Answer

Hi,

it is not easy to deduce the source of the problem just through your description. Can you please enlighten us more ? 
Have you tried to inspect your web page to see if a js message is displayed or at least show us any other Msg displayed in your logs? 

As this level, i can only ask you to check 2 things :
1- Make sure the mapping is correct
2- Make sure that all the other columns and lines are really empty. (you may not see values in a cell but they may be there..) . So try to select them ( especially the ones surrounding your 'full' cells.) and click right then Clear content.

Hope this helps. 
upvote if it does or right me back if it does not help with more details.

Avatar
Discard
Author

Hi Ibrahim, thank for your response. I tried inspecing my console, but there was nothing helpful. The other lines on the CSV file were ok. I tried testing with other modules, like sales, for example, and the result was the same. Every time I tried to import file with multiple lines for a object, the same error occurs.

My solution was to restore my database to the last Dump I had, which solved the problem. The code version is the same, so it wasn't a problem I created changing something. Unfortunately, I don't know what caused the problem.

Author

Hi Ibrahim, thank for your response. I tried inspecing my console, but there was nothing helpful. The other lines on the CSV file were ok. I tried testing with other modules, like sales, for example, and the result was the same. Every time I tried to import file with multiple lines for a object, the same error occurs.

My solution was to restore my database to the last Dump I had, which solved the problem. The code version is the same, so it wasn't a problem I created changing something. Unfortunately, I don't know what caused the problem.

Related Posts Replies Views Activity
3
Jun 20
2080
1
Nov 18
7456
11
Feb 17
60654
2
Mar 15
9118
7
Aug 20
23926