← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 891164] [NEW] cannot create a new user

 

Public bug reported:

web, trunk, chrome

go to user (Administration/users/users), create a new one, click on
"save" -> bug :

OpenERP Server Error
Client Traceback (most recent call last):
  File "/home/aline/source/web/trunk/addons/web/common/http.py", line 154, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 759, in create
    r = m.create(data, req.session.eval_context(req.context))
  File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 429, in proxy
    *args)
  File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 306, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 276, in send
    raise fault


Server Traceback (most recent call last):
  File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 257, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/aline/source/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/aline/source/server/trunk/openerp/service/web_services.py", line 580, in dispatch
    res = fn(db, uid, *params)
  File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 120, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 172, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/aline/source/server/trunk/openerp/addons/base/res/res_users.py", line 728, in create
    return super(users_view, self).create(cr, uid, values, context)
  File "/home/aline/source/server/trunk/openerp/addons/base/res/res_users.py", line 588, in create
    user_id = super(users_implied, self).create(cr, uid, values, context)
  File "/home/aline/source/server/trunk/openerp/osv/orm.py", line 4060, in create
    cr.execute('insert into "'+self._table+'" (id'+upd0+") values ("+str(id_new)+upd1+')', tuple(upd2))
  File "/home/aline/source/server/trunk/openerp/sql_db.py", line 153, in wrapper
    return f(self, *args, **kwargs)
  File "/home/aline/source/server/trunk/openerp/sql_db.py", line 215, in execute
    res = self._obj.execute(query, params)
ProgrammingError: column "id" specified more than once
LINE 1: ...mpany_id","menu_tips","active","login","password","id","acti...
                                                             ^

** Affects: openerp-web
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/891164

Title:
  cannot create a new user

Status in OpenERP Web:
  New

Bug description:
  web, trunk, chrome

  go to user (Administration/users/users), create a new one, click on
  "save" -> bug :

  OpenERP Server Error
  Client Traceback (most recent call last):
    File "/home/aline/source/web/trunk/addons/web/common/http.py", line 154, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 759, in create
      r = m.create(data, req.session.eval_context(req.context))
    File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 429, in proxy
      *args)
    File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 306, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 276, in send
      raise fault

  
  Server Traceback (most recent call last):
    File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", line 257, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/aline/source/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/aline/source/server/trunk/openerp/service/web_services.py", line 580, in dispatch
      res = fn(db, uid, *params)
    File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/aline/source/server/trunk/openerp/addons/base/res/res_users.py", line 728, in create
      return super(users_view, self).create(cr, uid, values, context)
    File "/home/aline/source/server/trunk/openerp/addons/base/res/res_users.py", line 588, in create
      user_id = super(users_implied, self).create(cr, uid, values, context)
    File "/home/aline/source/server/trunk/openerp/osv/orm.py", line 4060, in create
      cr.execute('insert into "'+self._table+'" (id'+upd0+") values ("+str(id_new)+upd1+')', tuple(upd2))
    File "/home/aline/source/server/trunk/openerp/sql_db.py", line 153, in wrapper
      return f(self, *args, **kwargs)
    File "/home/aline/source/server/trunk/openerp/sql_db.py", line 215, in execute
      res = self._obj.execute(query, params)
  ProgrammingError: column "id" specified more than once
  LINE 1: ...mpany_id","menu_tips","active","login","password","id","acti...
                                                               ^

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/891164/+subscriptions


Follow ups

References