← Back to team overview

credativ team mailing list archive

[Bug 898113] Re: [Trunk] Task can not be created from via project Tasks act_window

 

Hello,

Not working at Build 5497

server 3946
addons 6291
web 1894 

Client Traceback (most recent call last):
  File "/home/odoo/runbot/static/openerp-dev-trunk-5496/server/openerp/addons/web/common/http.py", line 175, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/odoo/runbot/static/openerp-dev-trunk-5496/server/openerp/addons/web/controllers/main.py", line 875, in default_get
    return Model.default_get(fields, req.session.eval_context(req.context))
  File "/home/odoo/runbot/static/openerp-dev-trunk-5496/server/openerp/addons/web/common/openerplib/main.py", line 260, in proxy
    args, kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-5496/server/openerp/addons/web/common/openerplib/main.py", line 127, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/home/odoo/runbot/static/openerp-dev-trunk-5496/server/openerp/addons/web/common/http.py", line 577, in send
    raise fault


Server Traceback (most recent call last):
  File "/home/odoo/runbot/static/openerp-dev-trunk-5496/server/openerp/addons/web/common/http.py", line 558, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/odoo/runbot/static/openerp-dev-trunk-5496/server/openerp/netsvc.py", line 325, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/odoo/runbot/static/openerp-dev-trunk-5496/server/openerp/service/web_services.py", line 580, in dispatch
    res = fn(db, uid, *params)
  File "/home/odoo/runbot/static/openerp-dev-trunk-5496/server/openerp/osv/osv.py", line 166, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/odoo/runbot/static/openerp-dev-trunk-5496/server/openerp/osv/osv.py", line 120, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/odoo/runbot/static/openerp-dev-trunk-5496/server/openerp/osv/osv.py", line 175, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-5496/server/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-5496/server/openerp/osv/orm.py", line 1492, in default_get
    defaults[f] = self._defaults[f](self, cr, uid, context)
  File "/home/odoo/runbot/static/openerp-dev-trunk-5496/server/openerp/addons/project/project.py", line 529, in _default_project
    return int(context['project_id'])
ValueError: invalid literal for int() with base 10: 'new project'

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

Title:
  [Trunk] Task can not be created from via project Tasks act_window

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  Install Project
  Goto Project Form View
  Click to Tasks Act window
  create New Task
  Got the Error:

  Traceback (most recent call last):
    File "/home/amp/workspace/trunk6/server/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/amp/workspace/trunk6/server/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/amp/workspace/trunk6/server/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/amp/workspace/trunk6/server/openerp/osv/orm.py", line 1468, in default_get
      defaults[f] = self._defaults[f](self, cr, uid, context)
    File "/home/amp/workspace/trunk6/addons/project/project.py", line 535, in _default_project
      return int(context['project_id'])
  ValueError: invalid literal for int() with base 10: 'OpenERP Integration'

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


References