c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #20346
[Bug 744203] Re: Bug in skills management scale grade
Hello Azazhamed,
I think there may be still the error. I updated the hrskill.py code for
lines 28 & 29 with the revision in 5312, but am still getting this
error:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 1643, in fields_view_get
xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 1326, in __view_look_dom_arch
fields = self.fields_get(cr, user, fields_def.keys(), context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 2927, in fields_get
return super(orm, self).fields_get(cr, user, fields, context, write_access)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 1133, in fields_get
res[f]['selection'] = field_col.selection(self, cr, user, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/hr_skill.zip/hr_skill/hrskill.py", line 29, in _currency_get
return [(r['name'],r['name']) for r in res]
KeyError: 'code'
Please state if there are more to be done than replacing the lines and
re-importing the module. What else for me to do to correct?
--
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/744203
Title:
Bug in skills management scale grade
Status in OpenERP Modules (addons):
Fix Released
Bug description:
I have installed the skills management module, but under
HR->Configuration->Skills Management->Scale Grade, when i click, i get
this error:
Traceback (most recent call last):
File "netsvc.pyo", line 489, in dispatch
File "service\web_services.pyo", line 599, in dispatch
File "osv\osv.pyo", line 122, in wrapper
File "osv\osv.pyo", line 176, in execute
File "osv\osv.pyo", line 167, in execute_cr
File "osv\orm.pyo", line 1635, in fields_view_get
File "osv\orm.pyo", line 1318, in __view_look_dom_arch
File "osv\orm.pyo", line 2908, in fields_get
File "osv\orm.pyo", line 1125, in fields_get
File "C:\Program Files\OpenERP 6.0\Server\addons\hr_skill.zip\hr_skill\hrskill.py", line 29, in _currency_get
KeyError: 'code'
References