Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

import a create_uid

By
Coralie Cardon
on 2/16/16, 3:16 AM 360 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 ! 

0

Jérémy Kersten (jke)

--Jérémy Kersten (jke)--
2993
| 3 2 5
Jodoigne, Belgium
--Jérémy Kersten (jke)--

Jérémy is a member of the core R&D team since september 2013. He developed several projects for OpenERP version 8 including the eCommerce, the Google Calendar synchronization and the new product variants/configurator. Now, he manages Odoo website and themes for saas.

Jérémy Kersten (jke)
On 2/16/16, 4:20 AM

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


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

BHC SPRL, Coralie Cardon
on 2/16/16, 4:27 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 2/16/16, 3:16 AM
Seen: 360 times
Last updated: 2/16/16, 4:20 AM