Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
4551 Widoki

How we increment salary of employee in openerp 7 After doing appraisal of any employee

Awatar
Odrzuć
Najlepsza odpowiedź

I am running openerp 7.0 latest, installed wage_increment along with its dependencies, but when i click on wage adjustment >> Individual, i get below error:

Client Traceback (most recent call last):

File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 204, in dispatch

response["result"] = method(self, *self.params)

File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1125, in call_kw

return self._call_kw(req, model, method, args, kwargs)

File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1117, in _call_kw

return getattr(req.session.model(model), method)(args, **kwargs)

File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 42, in proxy

result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)

File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 30, in proxy_method

result = self.session.send(self.service_name, method, *args)

File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 103, in send

raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

Server Traceback (most recent call last):

File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 89, in send

return openerp.netsvc.dispatch_rpc(service_name, method, args)

File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 296, in dispatch_rpc

result = ExportService.getService(service_name).dispatch(method, params)

File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 626, in dispatch

res = fn(db, uid, params)

File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 190, in execute_kw

return self.execute(db, uid, obj, method, *args, *kw or {})

File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 132, in wrapper

return f(self, dbname, args, *kwargs)

File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 199, in execute

res = self.execute_cr(cr, uid, obj, method, args, *kw)

File "/usr/lib/pymodules/python2.7/openerp/addons/audittrail/audittrail.py", line 532, in execute_cr

return fct_src(cr, uid, model, method, args, *kw)

File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 187, in execute_cr

return getattr(object, method)(cr, uid, args, *kw)

File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 1599, in default_get

defaults[f] = self._defaultsf

File "/usr/lib/pymodules/python2.7/openerp/addons/hr_wage_increment/wage_increment.py", line 101, in _get_effective_date

contract_id = self._get_contract_id(cr, uid, context=context)

File "/usr/lib/pymodules/python2.7/openerp/addons/hr_wage_increment/wage_increment.py", line 88, in _get_contract_id

data = self._get_contract_data(cr, uid, ['id'], context)

File "/usr/lib/pymodules/python2.7/openerp/addons/hr_wage_increment/wage_increment.py", line 76, in _get_contract_data

cr, uid, employee_id, ['contract_id'], context=context)

File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 3679, in read

result = self._read_flat(cr, user, select, fields, context, load)

File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 3731, in _read_flat

cr.execute(query, [tuple(sub_ids)] + rule_params)

File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 161, in wrapper

return f(self, args, *kwargs)

File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 226, in execute

res = self._obj.execute(query, params)

ProgrammingError: operator does not exist: integer = boolean

LINE 1: ...ployee.id FROM "hr_employee" WHERE hr_employee.id IN (false)...

^

HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.

Awatar
Odrzuć
Najlepsza odpowiedź

Hi ashish,

you this module to manager hr salary increment

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lip 24
1381
4
lut 18
10426
0
mar 15
3914
2
mar 15
4079
1
mar 15
3926