Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4758 Lượt xem

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 ! 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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


Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 15
6409
2
thg 5 25
1350
4
thg 5 25
5080
1
thg 8 24
2359
1
thg 2 24
3114