← Back to team overview

openerp-india team mailing list archive

[Bug 1070692] Re: Uninstalling and reinstalling Customer/Supplier portal creates error

 

Tried on:
(Build 23217)
server (4508)
addons (7851)
web (3314)

On Uninstalling and reinstalling Customer/Supplier Portal in General
Settings, we get the following error on creating users:

Client Traceback (most recent call last):
  File "/home/odoo/runbot/static/openerp-dev-trunk-23217/server/openerp/addons/web/http.py", line 174, in dispatch
    response["result"] = method(self, **self.params)
  File "/home/odoo/runbot/static/openerp-dev-trunk-23217/server/openerp/addons/web/controllers/main.py", line 1124, in search_read
    return self.do_search_read(req, model, fields, offset, limit, domain, sort)
  File "/home/odoo/runbot/static/openerp-dev-trunk-23217/server/openerp/addons/web/controllers/main.py", line 1161, in do_search_read
    records = Model.read(ids, fields or False, context)
  File "/home/odoo/runbot/static/openerp-dev-trunk-23217/server/openerp/addons/web/session.py", line 42, in proxy
    result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-23217/server/openerp/addons/web/session.py", line 30, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/home/odoo/runbot/static/openerp-dev-trunk-23217/server/openerp/addons/web/session.py", line 105, in send
    raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)


Server Traceback (most recent call last):
  File "/home/odoo/runbot/static/openerp-dev-trunk-23217/server/openerp/addons/web/session.py", line 91, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/odoo/runbot/static/openerp-dev-trunk-23217/server/openerp/netsvc.py", line 361, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/odoo/runbot/static/openerp-dev-trunk-23217/server/openerp/service/web_services.py", line 585, in dispatch
    res = fn(db, uid, *params)
  File "/home/odoo/runbot/static/openerp-dev-trunk-23217/server/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/odoo/runbot/static/openerp-dev-trunk-23217/server/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/odoo/runbot/static/openerp-dev-trunk-23217/server/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-23217/server/openerp/addons/audittrail/audittrail.py", line 503, in execute_cr
    return fct_src(cr, uid, model, method, *args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-23217/server/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-23217/server/openerp/addons/base/res/res_users.py", line 807, in read
    res = super(users_view, self).read(cr, uid, ids, fields, context=context, load=load)
  File "/home/odoo/runbot/static/openerp-dev-trunk-23217/server/openerp/addons/base/res/res_users.py", line 283, in read
    result = super(res_users, self).read(cr, uid, ids, fields=fields, context=context, load=load)
  File "/home/odoo/runbot/static/openerp-dev-trunk-23217/server/openerp/osv/orm.py", line 3573, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/home/odoo/runbot/static/openerp-dev-trunk-23217/server/openerp/osv/orm.py", line 3659, in _read_flat
    record.update(res3[record[col]])
KeyError: 116

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1070692

Title:
  Uninstalling and reinstalling Customer/Supplier portal  creates error

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  Uninstalling and reinstalling Customer/Supplier Portal in General
  Settings creates an error showing "no two users can have same login"
  and the module is not installed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1070692/+subscriptions


References