[7.0] audittrail delete event on employee doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
Running on 7.0 branch, using the latest revision of 22nd april 2013
Running on Windows
Running on Postgres 9.2
Clean database, without demo data
Installed 'audittrail' and 'employee directory'
create an audittrail rule, that logs the create, write and delete events
create an employee
all is well, the create event is logged
delete the employee
There is a stacktrace:
Traceback (most recent call last):
File "C:\OpenERP\
result = ExportService.
File "C:\OpenERP\
res = fn(db, uid, *params)
File "C:\OpenERP\
return self.execute(db, uid, obj, method, *args, **kw or {})
File "C:\OpenERP\
return f(self, dbname, *args, **kwargs)
File "C:\OpenERP\
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "C:\OpenERP\
return self.log_fct(cr, uid, model, method, fct_src, *args, **kw)
File "C:\OpenERP\
self.
File "C:\OpenERP\
name = pool.get(
IndexError: list index out of range
This only happens when performing a delete.