← Back to team overview

openerp-india team mailing list archive

[Bug 989682] Re: traceback when apply a date on a record

 

*** This bug is a duplicate of bug 987745 ***
    https://bugs.launchpad.net/bugs/987745

** This bug has been marked a duplicate of bug 987745
   date widget not working properly

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

Title:
  traceback when apply a date on a record

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  in runbot (_all or not). In any date field (deadline, next action
  date,), save the record: error

  Example, create a task, define a deadline -> bug
  Example2, create an opportunity, define a next action date -> bug 

  Client Traceback (most recent call last):
    File "/home/odoo/runbot/static/openerp-dev-trunk-7558/server/openerp/addons/web/common/http.py", line 180, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/odoo/runbot/static/openerp-dev-trunk-7558/server/openerp/addons/web/controllers/main.py", line 1031, in call_kw
      return self._call_kw(req, model, method, args, kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-7558/server/openerp/addons/web/controllers/main.py", line 993, in _call_kw
      return getattr(req.session.model(model), method)(*args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-7558/server/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
      args, kw)
    File "/home/odoo/runbot/static/openerp-dev-trunk-7558/server/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/home/odoo/runbot/static/openerp-dev-trunk-7558/server/openerp/addons/web/common/http.py", line 611, in send
      raise fault

  
  Server Traceback (most recent call last):
    File "/home/odoo/runbot/static/openerp-dev-trunk-7558/server/openerp/addons/web/common/http.py", line 592, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/odoo/runbot/static/openerp-dev-trunk-7558/server/openerp/netsvc.py", line 362, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/odoo/runbot/static/openerp-dev-trunk-7558/server/openerp/service/web_services.py", line 586, in dispatch
      res = fn(db, uid, *params)
    File "/home/odoo/runbot/static/openerp-dev-trunk-7558/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-7558/server/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-7558/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-7558/server/openerp/addons/audittrail/audittrail.py", line 494, in execute_cr
      return fct_src(cr, uid, model, method, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-trunk-7558/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-7558/server/openerp/addons/crm/crm_lead.py", line 226, in create
      obj_id = super(crm_lead, self).create(cr, uid, vals, context)
    File "/home/odoo/runbot/static/openerp-dev-trunk-7558/server/openerp/addons/base/ir/ir_needaction.py", line 154, in create
      obj_id = super(ir_needaction_mixin, self).create(cr, uid, values, context=context)
    File "/home/odoo/runbot/static/openerp-dev-trunk-7558/server/openerp/addons/mail/mail_thread.py", line 83, in create
      thread_id = super(mail_thread, self).create(cr, uid, vals, context=context);
    File "/home/odoo/runbot/static/openerp-dev-trunk-7558/server/openerp/addons/base/res/res_partner.py", line 280, in create
      return super(res_partner,self).create(cr, uid, vals, context=context)
    File "/home/odoo/runbot/static/openerp-dev-trunk-7558/server/openerp/osv/orm.py", line 4182, in create
      cr.execute('insert into "'+self._table+'" (id'+upd0+") values ("+str(id_new)+upd1+')', tuple(upd2))
    File "/home/odoo/runbot/static/openerp-dev-trunk-7558/server/openerp/sql_db.py", line 152, in wrapper
      return f(self, *args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-7558/server/openerp/sql_db.py", line 212, in execute
      res = self._obj.execute(query, params)
  DataError: time zone "gmt+0200" not recognized
  LINE 1: ...LL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,E'True',0.0,E'Sat Apr ...
                                                               ^

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


References