← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 744203] Re: Bug in skills management scale grade

 

Hello,

I re-installed the updated module. Please see these lines below. Maybe
the error comes from there. There is a code field on line 63.

class hr_scale(osv.osv):
    _description ='Pay Scales'
    _name='hr.scale'

    _columns = {
         'code' : fields.char('Code', size=64,),
         'name' : fields.char('Name', size=64),
         'cur' : fields.selection(_currency_get, 'Currency', method=True),
         'min_sal' : fields.integer('Minimum Salary'),
         'max_sal' : fields.integer('Maximum Salary'),
         'increase' : fields.integer('Step Increase'),

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