← Back to team overview

openerp-india team mailing list archive

[Bug 1027982] [NEW] [trunk] 6.2 Manual Internal Move - error

 

Public bug reported:

Hello,

When I try to make manual Internal move and try to save or confirm the
document in Trunk 6.2 version, following error arise:

Client Traceback (most recent call last):
  File "/opt/openerp-web/addons/web/common/http.py", line 181, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/opt/openerp-web/addons/web/controllers/main.py", line 1035, in call_kw
    return self._call_kw(req, model, method, args, kwargs)
  File "/opt/openerp-web/addons/web/controllers/main.py", line 997, in _call_kw
    return getattr(req.session.model(model), method)(*args, **kwargs)
  File "/opt/openerp-web/addons/web/common/openerplib/main.py", line 250, in proxy
    args, kw)
  File "/opt/openerp-web/addons/web/common/openerplib/main.py", line 117, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/opt/openerp-web/addons/web/common/http.py", line 623, in send
    raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)


Server Traceback (most recent call last):
  File "/opt/openerp-web/addons/web/common/http.py", line 608, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/opt/openobject-server/openerp/netsvc.py", line 362, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/openobject-server/openerp/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openobject-server/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/opt/openobject-server/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/openobject-server/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/openobject-server/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/openobject-addons/stock/stock.py", line 613, in create
    new_id = super(stock_picking, self).create(cr, user, vals, context)
  File "/opt/openobject-addons/mail/mail_thread.py", line 106, in create
    thread_id = super(mail_thread, self).create(cr, uid, vals, context=context)
  File "/opt/openobject-server/openerp/osv/orm.py", line 4290, in create
    result += self._columns[field].set(cr, self, id_new, field, vals[field], user, rel_context) or []
  File "/opt/openobject-server/openerp/osv/fields.py", line 505, in set
    id_new = obj.create(cr, user, act[2], context=context)
  File "/opt/openobject-server/openerp/osv/orm.py", line 4254, in create
    cr.execute('insert into "'+self._table+'" (id'+upd0+") values ("+str(id_new)+upd1+')', tuple(upd2))
  File "/opt/openobject-server/openerp/sql_db.py", line 152, in wrapper
    return f(self, *args, **kwargs)
  File "/opt/openobject-server/openerp/sql_db.py", line 212, in execute
    res = self._obj.execute(query, params)
ProgrammingError: column "create_date" specified more than once
LINE 1: ...g_id","product_packaging","picking_id",create_uid,create_dat...
                                                             ^

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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/1027982

Title:
  [trunk] 6.2 Manual Internal Move - error

Status in OpenERP Addons (modules):
  New

Bug description:
  Hello,

  When I try to make manual Internal move and try to save or confirm the
  document in Trunk 6.2 version, following error arise:

  Client Traceback (most recent call last):
    File "/opt/openerp-web/addons/web/common/http.py", line 181, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/opt/openerp-web/addons/web/controllers/main.py", line 1035, in call_kw
      return self._call_kw(req, model, method, args, kwargs)
    File "/opt/openerp-web/addons/web/controllers/main.py", line 997, in _call_kw
      return getattr(req.session.model(model), method)(*args, **kwargs)
    File "/opt/openerp-web/addons/web/common/openerplib/main.py", line 250, in proxy
      args, kw)
    File "/opt/openerp-web/addons/web/common/openerplib/main.py", line 117, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/opt/openerp-web/addons/web/common/http.py", line 623, in send
      raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)

  
  Server Traceback (most recent call last):
    File "/opt/openerp-web/addons/web/common/http.py", line 608, in send
      return openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/opt/openobject-server/openerp/netsvc.py", line 362, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/opt/openobject-server/openerp/service/web_services.py", line 586, in dispatch
      res = fn(db, uid, *params)
    File "/opt/openobject-server/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/opt/openobject-server/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/opt/openobject-server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/opt/openobject-server/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/opt/openobject-addons/stock/stock.py", line 613, in create
      new_id = super(stock_picking, self).create(cr, user, vals, context)
    File "/opt/openobject-addons/mail/mail_thread.py", line 106, in create
      thread_id = super(mail_thread, self).create(cr, uid, vals, context=context)
    File "/opt/openobject-server/openerp/osv/orm.py", line 4290, in create
      result += self._columns[field].set(cr, self, id_new, field, vals[field], user, rel_context) or []
    File "/opt/openobject-server/openerp/osv/fields.py", line 505, in set
      id_new = obj.create(cr, user, act[2], context=context)
    File "/opt/openobject-server/openerp/osv/orm.py", line 4254, in create
      cr.execute('insert into "'+self._table+'" (id'+upd0+") values ("+str(id_new)+upd1+')', tuple(upd2))
    File "/opt/openobject-server/openerp/sql_db.py", line 152, in wrapper
      return f(self, *args, **kwargs)
    File "/opt/openobject-server/openerp/sql_db.py", line 212, in execute
      res = self._obj.execute(query, params)
  ProgrammingError: column "create_date" specified more than once
  LINE 1: ...g_id","product_packaging","picking_id",create_uid,create_dat...
                                                               ^

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


Follow ups

References