Odoo Help

Welcome!

This community 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.

0

Server error on demo when making columns

By
Tejeev Patel
on 12/12/13, 7:50 PM 712 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__'

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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