Community mailing list archives

community@mail.odoo.com

Re: how to create user using rpc calls

by
redCOR AG, robert rottermann
- 06/24/2016 01:20:50
Thanks Jos
On 23.06.2016 18:37, Jos De Graeve wrote:
Hi,

If you have some experience with python, i recommend to use a script, for instance using odoorpc: http://pythonhosted.org/OdooRPC/

It is for odoorpc I would like to get a sample how to create a user
robert
regards,

Jos De Graeve - Apertoso business ICT


Guido Gezellelaan 16 - B-9800 Deinze - Belgium
 
Direct: +32 9 381 64 51
General:+32 9 381 64 50
Mobile: +32 475 54 68 80
mail/im/skype: Jos.DeGraeve@apertoso.be - apertoso

2016-06-22 0:42 GMT+02:00 Gérald Godonou-Dossou <godsun87@gmail.com>:

Hi

I thing you have tree way to do this 
1 - you can make cvs file with users Data. After you connect on odoo interface and import users.
2- you can import with xml. You have to build module with only user's data on xml record.  After you can install module and all users will import
3 you can use Python scrip. You can use Python scrip to import directly in data base  


Le mardi 21 juin 2016, robert rottermann <robert@redcor.ch> a écrit :
Hi there,
I need to transfer some 5000 users from a legacy system to odoo.
I tried to do it writing to the res_users directly using a python script.
However I do not fully understand what additional tables are affected.
Therefore I think that using rpc calls would be easiest.

can somebody give me a sample how to do that?

thanks
robert

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe



--
Sorel GODONOU-DOSSOU
Ing. conception en Génie Electrique
Intégrateur de solution --- Certifié CCNA
ID skype: godsun87
Tel : (+229) 977-687-39
----------------------------------------------------------
Nos pensées définissent notre futur


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe