← 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"

 

Hello Mustufa Rangwala,

Its fixed in lp:~openerp-dev/openobject-addons/trunk-bug-731795-ara
branch. It will be merged soon with trunk addons.

Revision ID: ara@xxxxxxxxxxx-20110310095432-s4q9ijdf21gp77sg 
Revision No: 4504

Thanks,
ara

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

-- 
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):
  Fix Committed

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