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_... ^