← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 857069] Re: [TRUNK]:hr_attendance:can not open the attendance view

 

*** This bug is a duplicate of bug 854522 ***
    https://bugs.launchpad.net/bugs/854522

** Changed in: openobject-addons
     Assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3) => (unassigned)

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

Title:
  [TRUNK]:hr_attendance:can not open the attendance view

Status in OpenERP Addons (modules):
  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-addons/+bug/857069/+subscriptions


References