[6.1]Error on Employee unlink
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Medium
|
OpenERP Publisher's Warranty Team | |||
Therp Backports (Deprecated) | Status tracked in Addons-6.1 | |||||
Addons-6.1 |
Fix Released
|
High
|
Stefan Rijnhart (Opener) | |||
Addons-7.0 |
New
|
Undecided
|
Unassigned |
Bug Description
With the last revision of OpenERP Server http://
Client Traceback (most recent call last):
File "/home/
response[
File "/home/
return self.call_
File "/home/
return self._call_kw(req, model, method, args, {})
File "/home/
return getattr(
File "/home/
args, kw)
File "/home/
result = self.connector.
File "/home/
raise xmlrpclib.
Server Traceback (most recent call last):
File "/home/
return openerp.
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
return super(hr_employee, self).unlink(cr, uid, ids, context=context)
File "/home/
result_store = self._store_
File "/home/
target_ids = [id for id in function[
File "/home/
if employee.job_id:
File "/home/
raise AttributeError(e)
AttributeError: 'Field job_id not found in browse_
I think that this error is related with this commit http://
Regards.
Related branches
- Therp: Pending requested
-
Diff: 15 lines (+2/-1)1 file modifiedhr/hr.py (+2/-1)
- OpenERP Core Team: Pending requested
-
Diff: 15 lines (+2/-1)1 file modifiedhr/hr.py (+2/-1)
affects: | openobject-server → openobject-addons |
summary: |
- Error on Employee unlink + [6.1]Error on Employee unlink |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in therp-backports: | |
status: | New → Incomplete |
status: | Incomplete → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → Stefan Rijnhart (Therp) (stefan-therp) |
milestone: | none → 6.1-maintenance |
Changed in therp-backports: | |
status: | Fix Committed → Fix Released |
Changed in therp-backports: | |
milestone: | 6.1-maintenance → 7.0-maintenance |
Hello,
This issue has been fixed with following branch:
Branch: lp:~openerp-dev/openobject-addons/6.1-opw-578933-nep with
Revision-id : <email address hidden>
Revision-no : 6986
Soon our experts will review and merge it in stable(6.1) addons.
Regards,
Nehal Panchal