You have been subscribed to a public bug:

Steps to reproduce the trackback :

Installed hr_ attendance module and open the view Human Resource ->
Attendances ->Attendances.

Traceback (most recent call last):
  File "/home/amit/OpenERP/server/trunk/openerp/osv/osv.py", line 118, in 
wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/amit/OpenERP/server/trunk/openerp/osv/osv.py", line 172, in 
execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/amit/OpenERP/server/trunk/openerp/osv/osv.py", line 163, in 
execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/amit/OpenERP/server/trunk/openerp/osv/orm.py", line 2112, in 
search
    return self._search(cr, user, args, offset=offset, limit=limit, 
order=order, context=context, count=count)
  File "/home/amit/OpenERP/server/trunk/openerp/osv/orm.py", line 4570, in 
_search
    query = self._where_calc(cr, user, args, context=context)
  File "/home/amit/OpenERP/server/trunk/openerp/osv/orm.py", line 4425, in 
_where_calc
    where_clause, where_params = e.to_sql()
  File "/home/amit/OpenERP/server/trunk/openerp/osv/expression.py", line 786, 
in to_sql
    q, p = self.__leaf_to_sql(e, table)
  File "/home/amit/OpenERP/server/trunk/openerp/osv/expression.py", line 774, 
in __leaf_to_sql
    if isinstance(params, basestring):
UnboundLocalError: local variable 'params' referenced before assignment

** Affects: openobject-server
     Importance: Medium
         Status: Confirmed

-- 
[TRUNK]:hr_attendance:can not open the attendance view 
https://bugs.launchpad.net/bugs/857069
You received this bug notification because you are a member of OpenERP CTP, 
which is subscribed to OpenERP Server.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to