[trunk/7.0]Can't able to switch on calendar view

Bug #1197323 reported by majdi
98
This bug affects 16 people
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Fix Released
High
Christophe Simonis (OpenERP)

Bug Description

When clicking on "Order Planning" in Manufacturing we get the following error;

OpenERP Server Error

Client Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 204, in dispatch
    response["result"] = method(self, **self.params)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1054, in search_read
    return self.do_search_read(req, model, fields, offset, limit, domain, sort)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1077, in do_search_read
    req.context)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 42, in proxy
    result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 30, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 103, in send
    raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

Server Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 89, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 292, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 188, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 131, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 197, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 185, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 2354, in search
    return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
  File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 4845, in _search
    query = self._where_calc(cr, user, args, context=context)
  File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 4674, in _where_calc
    e = expression.expression(cr, user, domain, self, context)
  File "/usr/lib/pymodules/python2.7/openerp/osv/expression.py", line 640, in __init__
    self.parse(cr, uid, context=context)
  File "/usr/lib/pymodules/python2.7/openerp/osv/expression.py", line 757, in parse
    field_path = left.split('.', 1)
AttributeError: 'NoneType' object has no attribute 'split'

Related branches

Revision history for this message
majdi (h-admin-dwt-com-au) wrote :

Version 7.0-20130702-231109

affects: openobject-server → openobject-addons
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: New → Confirmed
summary: - OpenERP Server Error when clicking on "Order Planning"
+ [trunk/7.0]OpenERP Server Error when clicking on "Order Planning"
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Twinkle Christian(OpenERP) (tch-openerp) wrote : Re: [trunk/7.0]OpenERP Server Error when clicking on "Order Planning"

Hello,

This issue is for all calendar views, can't able to switch on calendar view.

So, I am marking it as high importance.

Thanks for reporting.

affects: openobject-addons → openerp-web
Changed in openerp-web:
assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3) → OpenERP R&D Web Team (openerp-dev-web)
importance: Medium → High
summary: - [trunk/7.0]OpenERP Server Error when clicking on "Order Planning"
+ [trunk/7.0]Can't able to switch on calendar view
Revision history for this message
Paramjit Singh Sahota(OpenERP) (psa-openerp) wrote :

Hello,

It has been fixed in this branch lp:~openerp-dev/openerp-web/trunk-bug-1197323-psa.

Thankz YoU.

Changed in openerp-web:
status: In Progress → Fix Committed
Changed in openerp-web:
assignee: OpenERP R&D Web Team (openerp-dev-web) → Fabien Meghazi (OpenERP) (fme)
Revision history for this message
majdi (h-admin-dwt-com-au) wrote :

How can we apply this fix to the Ubuntu package Version 7.0-20130702-231109?

Revision history for this message
David Ellison (dave-e-9) wrote :

Just tried the nightly build, still not fixed. Can you confirm when the patch will be available on your nightly build?

Thanks.

Revision history for this message
Jad Tabet (jtabet) wrote :

Hello,

by the way the same bug seems to be affecting other calender views ( example quotations).

Revision history for this message
Maxime Chambreuil (http://www.savoirfairelinux.com) (max3903) wrote :

I backported the trunk fix on 7.0 and it is working.

Changed in openerp-web:
assignee: Fabien Meghazi (OpenERP) (fme) → Christophe Simonis (OpenERP) (kangol)
Revision history for this message
Christophe Simonis (OpenERP) (kangol) wrote :

Fixed by
web: 4003 <email address hidden>
server: 5030 <email address hidden>

Changed in openerp-web:
status: Fix Committed → Fix Released
Changed in openerp-web:
milestone: none → 7.0
Revision history for this message
Reimund Eckert (reimund-eckert) wrote :

Thanks for help - works just fine

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.