← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 731795] Re: [trunk] hr_holidays: Can not refuse leave if its category is "by employee category"

 

** Changed in: openobject-addons
       Status: Confirmed => In Progress

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

Title:
  [trunk] hr_holidays: Can not refuse leave if its category is "by
  employee category"

Status in OpenERP Modules (addons):
  In Progress

Bug description:
  Error:

    File "/home/mra/rdtools/addons/trunk-payroll-salary_rules-mtr/hr_holidays/hr_holidays.py", line 298, in holidays_cancel
      wf_service.trg_validate(uid, 'hr.holidays', id, 'cancel', cr)
    File "/home/mra/rdtools/server/trunk/openerp/workflow/wkf_service.py", line 78, in trg_validate
      cr.execute('select id from wkf_instance where res_id=%s and res_type=%s and state=%s', (res_id, res_type, 'active'))
    File "/home/mra/rdtools/server/trunk/openerp/sql_db.py", line 78, in wrapper
      return f(self, *args, **kwargs)
    File "/home/mra/rdtools/server/trunk/openerp/sql_db.py", line 131, in execute
      res = self._obj.execute(query, params)
  ProgrammingError: can't adapt

  Thank you,
  mra



References