Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

7.0 error when using audittrail

By
willie ho
on 8/19/15, 10:03 PM 370 views

I installed audittrail and i found this error

File "/usr/lib/python2.7/dist-packages/openerp/addons/audittrail/audittrail.py", line 535, in execute_cr

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

File "/usr/lib/python2.7/dist-packages/openerp/addons/audittrail/audittrail.py", line 300, in log_fct

old_values = self.get_data(cr, uid_orig, pool, res_ids, model, method)

File "/usr/lib/python2.7/dist-packages/openerp/addons/audittrail/audittrail.py", line 335, in get_data

for resource in resource_pool.read(cr, SUPERUSER_ID, res_ids, resource_pool._all_columns):

File "/usr/lib/python2.7/dist-packages/openerp/osv/orm.py", line 3718, in read

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

File "/usr/lib/python2.7/dist-packages/openerp/osv/orm.py", line 3841, in _read_flat

res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)

File "/usr/lib/python2.7/dist-packages/openerp/osv/fields.py", line 1158, in get

elif result.get(id):

AttributeError: 'NoneType' object has no attribute 'get'


how do I solve it?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 8/19/15, 10:03 PM
Seen: 370 times
Last updated: 8/19/15, 10:03 PM