← Back to team overview

openerp-india team mailing list archive

[Bug 1221171] Re: [trunk]try to "Add a new column" in kanban through project > task, getting traceback.

 

** Branch linked: lp:~openerp-dev/openobject-addons/trunk-
bug-1221171-jar

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

Title:
  [trunk]try to "Add a new column" in kanban through project > task,
  getting traceback.

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Try with latest runbot and also with localhost :

  Steps to reproduce:

  Go to project kanban > click on any project > task kanban (now, click
  on upper link " Add a new column") > now fill mandatory fields in add
  column wizard > click on save button, tracenack will appear.

  OpenERP Server Error

  Traceback (most recent call last):
    File "/home/odoo/runbot/static/openerp-dev-trunk-19303/server/openerp/addons/web/http.py", line 314, in dispatch
      response["result"] = self._call_function(**self.params)
    File "/home/odoo/runbot/static/openerp-dev-trunk-19303/server/openerp/addons/web/http.py", line 174, in _call_function
      return self.func(*args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-19303/server/openerp/addons/web/http.py", line 1053, in nfunc
      return func(*args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-19303/server/openerp/addons/web/controllers/main.py", line 1091, in call_kw
      return self._call_kw(model, method, args, kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-19303/server/openerp/addons/web/controllers/main.py", line 1083, in _call_kw
      return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-19303/server/openerp/osv/orm.py", line 4354, in create
      vals = self._add_missing_default_values(cr, user, vals, context)
    File "/home/odoo/runbot/static/openerp-dev-trunk-19303/server/openerp/osv/orm.py", line 2499, in _add_missing_default_values
      and defaults[dv] and isinstance(defaults[dv][0], (int, long)):
  TypeError: 'int' object has no attribute '__getitem__'

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


References