Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4674 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Auteur

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

Publications associées Réponses Vues Activité
1
sept. 15
6359
2
mai 25
1216
4
mai 25
4885
1
août 24
2181
1
févr. 24
3014