在 8.0正式版安装 这三个addons 后 后台的 菜单上的搜索没问题,
前台website的 forums 模块上的论坛一搜索出现 500错误
Error
Error message:
'NoneType' object has no attribute '_columns'
Traceback
Traceback (most recent call last):
File "/home/lv/g101/source/addons/website/models/ir_http.py", line 204, in _handle_exception
response = super(ir_http, self)._handle_exception(exception)
File "/home/lv/g101/source/openerp/addons/base/ir/ir_http.py", line 100, in _handle_exception
return request._handle_exception(exception)
File "/home/lv/g101/source/openerp/http.py", line 596, in _handle_exception
return super(HttpRequest, self)._handle_exception(exception)
File "/home/lv/g101/source/openerp/addons/base/ir/ir_http.py", line 126, in _dispatch
result = request.dispatch()
File "/home/lv/g101/source/openerp/http.py", line 614, in dispatch
r = self._call_function(**self.params)
File "/home/lv/g101/source/openerp/http.py", line 283, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/lv/g101/source/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/home/lv/g101/source/openerp/http.py", line 280, in checked_call
return self.endpoint(*a, **kw)
File "/home/lv/g101/source/openerp/http.py", line 733, in call
return self.method(*args, **kw)
File "/home/lv/g101/source/openerp/http.py", line 376, in response_wrap
response = f(*args, **kw)
File "/home/lv/g101/source/addons/website_forum/controllers/main.py", line 106, in questions
question_count = Post.search(cr, uid, domain, count=True, context=context)
File "/home/lv/g101/source/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/home/lv/g101/source/openerp/addons/fts_forum/fts_forum.py", line 154, in search
filters = self._get_filter_expression(cr, uid, args, context).to_sql()
File "/home/lv/g101/source/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/home/lv/g101/source/openerp/addons/fts_forum/fts_forum.py", line 118, in _get_filter_expression
args = get_applicable_args(expression.normalize_domain(args), 0)[0]
File "/home/lv/g101/source/openerp/addons/fts_forum/fts_forum.py", line 106, in get_applicable_args
op1 = get_applicable_args(args, index + 1)
File "/home/lv/g101/source/openerp/addons/fts_forum/fts_forum.py", line 106, in get_applicable_args
op1 = get_applicable_args(args, index + 1)
File "/home/lv/g101/source/openerp/addons/fts_forum/fts_forum.py", line 106, in get_applicable_args
op1 = get_applicable_args(args, index + 1)
File "/home/lv/g101/source/openerp/addons/fts_forum/fts_forum.py", line 92, in get_applicable_args
args[index][0] in orm_model._columns or
AttributeError: 'NoneType' object has no attribute '_columns'
想写个产品tfs搜索...