← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 701390] Re: bug in job position form view

 

** Changed in: openobject-client-web
       Status: In Progress => Fix Released

-- 
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/701390

Title:
  bug in job position form view

Status in OpenObject Web Client:
  Fix Released

Bug description:
  web,trun, hr_recruitment (tested on firefox as hr manager (user right + employee and partner manager rights) and with a french db without demo data). 

-> go to Job Position, click "New" (or créer if the bug is due to translated db) -> bug 

Traceback (most recent call last):
  File "/home/aline/openerp/trunk/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/aline/openerp/trunk/server/bin/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/aline/openerp/trunk/addons/hr/hr.py", line 118, in on_change_expected_employee
    result['no_of_recruitment'] = expected_employee - no_of_employee
TypeError: unsupported operand type(s) for -: 'int' and 'dict'





References