This question has been flagged
1 Reply
3737 Views

Hello, 

I try to import a create_uid but when i try, it's alwaus the admin is putted ! 

This is my script : 

if row[15]:

    args = [('login','=',row[15])]

    categ = sock.execute(dbname, uid,pwd, 'res.users','search',args)

    if categ:

        data['create_uid']=categ[0]

I don't know what to do for it's works 

Thanks ! 

Avatar
Discard
Best Answer

Hello, you cannot do it so easily...

These fields are pop before : ['id','create_uid', 'create_date', 'write_uid', 'write_date','parent_left', 'parent_right'] the create


Avatar
Discard
Author

ok .. I try to import the create date too but it's hard ! You know how can i do ? Because I've try a lot of thing but no success