Odoo Help


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.


AttributeError: 'NoneType' object has no attribute 'split'

Ait-Mlouk Addi
on 7/24/13, 8:42 AM 1,786 views

Hi every body ! i tray to programme a calandar view after a click on i have this erreur ??

Traceback (most recent call last):
  File "/home/mlouk/workspace/workspace/madrassa_local/openerp/addons/web/http.py", line 341, in dispatch
    response["result"] = self._call_function(**self.params)
  File "/home/mlouk/workspace/workspace/madrassa_local/openerp/addons/web/http.py", line 210, in _call_function
    return self.func(*args, **kwargs)
  File "/home/mlouk/workspace/workspace/madrassa_local/openerp/addons/web/http.py", line 1103, in nfunc
    return func(*args, **kwargs)
  File "/home/mlouk/workspace/workspace/madrassa_local/openerp/addons/web/controllers/main.py", line 1016, in search_read
    return self.do_search_read(model, fields, offset, limit, domain, sort)
  File "/home/mlouk/workspace/workspace/madrassa_local/openerp/addons/web/controllers/main.py", line 1037, in do_search_read
  File "/home/mlouk/workspace/workspace/madrassa_local/openerp/addons/web/http.py", line 618, in proxy
    result = meth(cr, request.uid, *args, **kw)
  File "/home/mlouk/workspace/workspace/madrassa_local/openerp/osv/orm.py", line 2355, in search
    return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
  File "/home/mlouk/workspace/workspace/madrassa_local/openerp/osv/orm.py", line 4875, in _search
    query = self._where_calc(cr, user, args, context=context)
  File "/home/mlouk/workspace/workspace/madrassa_local/openerp/osv/orm.py", line 4704, in _where_calc
    e = expression.expression(cr, user, domain, self, context)
  File "/home/mlouk/workspace/workspace/madrassa_local/openerp/osv/expression.py", line 639, in __init__
    self.parse(cr, uid, context=context)
  File "/home/mlouk/workspace/workspace/madrassa_local/openerp/osv/expression.py", line 756, in parse
    field_path = left.split('.', 1)
AttributeError: 'NoneType' object has no attribute 'split'

Hello, It's already fixed and merged in latest code of 7.0. Please take latest code. It will solve your problem.

Hiral Patel (hip)
on 7/24/13, 11:20 AM

ok but im using already version 8.0alpha1 !!

Ait-Mlouk Addi
on 7/24/13, 11:37 AM

It's also fixed & merged in 8.0alpha1.

Hiral Patel (hip)
on 7/25/13, 3:04 AM

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)


Asked: 7/24/13, 8:42 AM
Seen: 1786 times
Last updated: 3/16/15, 8:10 AM