Odoo Help


Server error on demo when making columns

Tejeev Patel
on 12/12/13, 7:50 PM 1,137 views

I seem to be running into an error whenever I attempt to add a column:

OpenERP Server Error
Traceback (most recent call last):
  File "/home/odoo/src/web/saas-2/addons/web/http.py", line 325, in dispatch
    response["result"] = self._call_function(**self.params)
  File "/home/odoo/src/web/saas-2/addons/web/http.py", line 174, in _call_function
    return self.func(*args, **kwargs)
  File "/home/odoo/src/web/saas-2/addons/web/http.py", line 1060, in nfunc
    return checked_call(request.db, *args, **kwargs)
  File "/home/odoo/src/server/saas-2/openerp/service/model.py", line 111, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/odoo/src/web/saas-2/addons/web/http.py", line 1052, in checked_call
    return func(*a, **kw)
  File "/home/odoo/src/web/saas-2/addons/web/controllers/main.py", line 1098, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/home/odoo/src/web/saas-2/addons/web/controllers/main.py", line 1090, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  File "/home/odoo/src/server/saas-2/openerp/osv/orm.py", line 4407, in create
    vals = self._add_missing_default_values(cr, user, vals, context)
  File "/home/odoo/src/server/saas-2/openerp/osv/orm.py", line 2512, in _add_missing_default_values
    and defaults[dv] and isinstance(defaults[dv][0], (int, long)):
TypeError: 'int' object has no attribute '__getitem__'

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 12/12/13, 7:50 PM
Seen: 1137 times
Last updated: 3/16/15, 8:10 AM