It is currently Tue May 22, 2012 9:04 pm

All times are UTC + 2 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: importing delivery grid data // not-null contraint violation
PostPosted: Sat Nov 12, 2011 2:28 pm 
Offline

Joined: Fri Sep 23, 2011 9:41 am
Posts: 20
Hi all,

I'm trying to import delivery grid data on openerp 6.0.3, using the gtk client.
The csv file seem to be ok, but when importing it - even with only 1 line of data - I get this error:

Error trying to import this record:
line_ids:[0,0,{'list_price':40.75,'name':'Inf15','price_type':'fixed' ......................

Line 1: null value in column "name" violates not-null contraint

I don't understand where is the problem, because as you can see the name has been provided.
Please help.. :)

Thanks a lot!!

Lucio


Top
 Profile  
 
 Post subject: Re: importing delivery grid data // not-null contraint viola
PostPosted: Sat Nov 12, 2011 6:32 pm 
Offline

Joined: Fri Sep 23, 2011 9:41 am
Posts: 20
fixed !
the problem was that the field "name" is both in the delivery.grid and delivery.grid.line objects, which can create some confusion if not well familiar with data import.

:)

cheers
Lucio


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 2 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:

Protected by Anti-Spam ACP