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

Odoo crashes when trying a creating a new stage in a sale team...

By
Alex Yaw
on 1/14/16, 9:01 AM 428 views

When I try to create a new stage for a Sale Team odoo crashes with the following Traceback:

Odoo Server Error
Traceback (most recent call last):
  File "/home/xxxx/odoo/openerp/http.py", line 643, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/home/xxxx/odoo/openerp/http.py", line 680, in dispatch
    result = self._call_function(**self.params)
  File "/home/xxxx/odoo/openerp/http.py", line 316, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/xxxx/odoo/openerp/service/model.py", line 118, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/xxxx/odoo/openerp/http.py", line 309, in checked_call
    result = self.endpoint(*a, **kw)
  File "/home/xxxx/odoo/openerp/http.py", line 959, in __call__
    return self.method(*args, **kw)
  File "/home/xxxx/odoo/openerp/http.py", line 509, in response_wrap
    response = f(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 832, in search_read
    return self.do_search_read(model, fields, offset, limit, domain, sort)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 853, in do_search_read
    request.context)
  File "/home/xxxx/odoo/openerp/http.py", line 1064, in proxy
    result = meth(cr, request.uid, *args, **kw)
  File "/home/xxxx/odoo/openerp/api.py", line 238, in wrapper
    ``@returns(model)``.
  File "/home/xxxx/odoo/openerp/models.py", line 5237, in search_read
    :param context: context arguments.
  File "/home/xxxx/odoo/openerp/api.py", line 238, in wrapper
    ``@returns(model)``.
  File "/home/xxxx/odoo/openerp/models.py", line 1659, in search
  File "/home/xxxx/odoo/openerp/api.py", line 238, in wrapper
    ``@returns(model)``.
  File "/home/xxxx/odoo/openerp/models.py", line 4758, in _search
    return res[0]
  File "/home/xxxx/odoo/openerp/sql_db.py", line 139, in wrapper
    return f(self, *args, **kwargs)
  File "/home/xxxx/odoo/openerp/sql_db.py", line 215, in execute
    res = self._obj.execute(query, params)
DataError: invalid input syntax for integer: "one2many_v_id_46"
LINE 1: ...FROM "crm_stage" WHERE (("crm_stage"."id" not in ('one2many_...
                                                             ^


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

1 follower(s)

Stats

Asked: 1/14/16, 9:01 AM
Seen: 428 times
Last updated: 1/14/16, 9:03 AM