[trunk/7.0/6.1]Audit Trail doesn't Work For Users & Groups Object
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP Publisher's Warranty Team |
Bug Description
Dear Team,
I was installing audittrail module, and the I try to create some Audit Rules for some object. Everything was okay until I tried to create Audit Rules for object res.users and res.groups. I found this error when I create new user, edit or delete a user.
Environment Information :
System : Linux-2.
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04.4 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-45-generic
Operating System Version : #102-Ubuntu SMP Wed Jan 2 21:53:06 UTC 2013
Operating System Architecture : 32bit
Operating System Locale : id_ID.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.1-20121207-003046
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/opt/OpenERP/
result = netsvc.
File "/opt/OpenERP/
result = ExportService.
File "/opt/OpenERP/
res = fn(db, uid, *params)
File "/opt/OpenERP/
return f(self, dbname, *args, **kwargs)
File "/opt/OpenERP/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/OpenERP/
return self.log_fct(cr, uid, model, method, fct_src, *args)
File "/opt/OpenERP/
old_values = self.get_data(cr, uid_orig, pool, res_ids, model, method)
File "/opt/OpenERP/
values_
File "/opt/OpenERP/
field_obj = (resource_
AttributeError: 'NoneType' object has no attribute 'column'
I try to dig the reason why the error only occur for res.users and res.groups. So far I know that in Users and Groups menu, there are some fields (which is placed in Access Rights tab) that is created NOT BY class declaration instead by function, so the field is not saved nor in object neither in class. It is just my thought.
OS: Ubuntu Lucid
OpenERP version: 6.1
Regards,
Togar - ADSOFT
Related branches
- Leonardo Pistone (community): Approve (test for bug 1157497, code review)
- OpenERP Core Team: Pending requested
-
Diff: 75 lines (+29/-21)1 file modifiedaudittrail/audittrail.py (+29/-21)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1) |
importance: | Undecided → Medium |
summary: |
- Audit Trail doesn't Work For Users & Groups Object + [trunk/7.0/6.1]Audit Trail doesn't Work For Users & Groups Object |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
assignee: | OpenERP R&D Addons Team 1 (openerp-dev-addons1) → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
Changed in openobject-addons: | |
status: | In Progress → Fix Committed |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
Thank you for getting this bug report confirmed.
Regards,
Togar - ADSOFT