** 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/727900

Title:
  can not change stage in hr recruitment

Status in OpenERP Modules (addons):
  In Progress

Bug description:
  trunk, saas

  in hr recruitment, stage are depending on department (each department
  can have different recruitment process). In applicant view, specify a
  department and change stage ok, but if you change the department, and
  then change satge again : bug

  how to reproduce
  - create 2 departments : dep1 and dep2 (from Human 
Resources/Configuration/Human Resources/Departments)
  - create 3 stages for this 2 department  (from) Human 
Resources/Configuration/Recruitment/Stages)
  - create a new applicant (from Human Resources/Recruitment/Applicants)
  - set the department to dep1 
  - change stage ok
  - change department to dep2
  - change stage : bug 

  Traceback (most recent call last):
    File "/home/aline/openerp/trunk/server/openerp/netsvc.py", line 410, in 
dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, 
params)
    File "/home/aline/openerp/trunk/server/openerp/service/web_services.py", 
line 598, in dispatch
      res = fn(db, uid, *params)
    File "/home/aline/openerp/trunk/server/openerp/osv/osv.py", line 122, in 
wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/aline/openerp/trunk/server/openerp/osv/osv.py", line 176, in 
execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/aline/openerp/trunk/server/openerp/osv/osv.py", line 167, in 
execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/aline/openerp/trunk/addons/hr_recruitment/hr_recruitment.py", 
line 218, in stage_next
      if st and len(stage_ids) != stage_ids.index(st)+1:
  ValueError: list.index(x): x not in list

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

Reply via email to