Odoo Help


XMLRPC openerp.modules.loading: loading 28 modules

on 12/3/13, 12:44 PM 1,138 views

Hello community

I want to communicate between two databases

in a module I created this : to see how it works B1

import xmlrpclib

username = 'admin' #the user
pwd = 'admin'      #the password of the user
dbname = 'test'    #the database

# Get the uid
sock_common = xmlrpclib.ServerProxy ('http://localhost:8069/xmlrpc/common')
uid = sock_common.login(dbname, username, pwd)

#replace localhost with the address of the server
sock = xmlrpclib.ServerProxy('http://localhost:8069/xmlrpc/object')

partner = {
   'name': 'Fabien Pinckaers',
   'lang': 'fr_FR',

partner_id = sock.execute(dbname, uid, pwd, 'res.partner', 'create', partner)

address = {
   'partner_id': partner_id,
   'type' : 'default',
   'street': 'Chaussee de Namur 40',
   'zip': '1367',
   'city': 'Grand-Rosiere',
   'phone': '+3281813700',
   'fax': '+3281733501',

address_id = sock.execute(dbname, uid, pwd, 'res.partner.address', 'create', address)

that loop on it :

2013-12-03 16:34:10,525 19044 INFO xmlr openerp.modules.loading: loading 1 modules... 2013-12-03 16:34:10,565 19044 INFO xmlr openerp.modules.loading: loading 28 modules...

any ideas ??

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 12/3/13, 12:44 PM
Seen: 1138 times
Last updated: 3/16/15, 8:10 AM