** Summary changed:

- [TRUNK]:hr_attendance:can not open the attendance view 
+ local variable 'params' referenced before assignment

-- 
You received this bug notification because you are a member of OpenERP
CTP, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/857069

Title:
  local variable 'params' referenced before assignment

Status in OpenERP Server:
  Confirmed

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/857069/+subscriptions

_______________________________________________
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