openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #24321
[Bug 1206793] Re: [7.0]Audit Trails errors when create Audit Rules and test it
*** This bug is a duplicate of bug 1206792 ***
https://bugs.launchpad.net/bugs/1206792
** This bug has been marked a duplicate of bug 1206792
[7.0]Audit Trails errors when create Audit Rules and test it
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1206793
Title:
[7.0]Audit Trails errors when create Audit Rules and test it
Status in OpenERP Addons (modules):
New
Bug description:
why in version 7 module audit trails error
when i create new Audit Rules in object incoming shipment and check all boolean log, add all user and subscribe
then i try to incoming shipment its error like
Client Traceback (most recent call last):
File "/home/army/OpenERP/openerp7/addons/addons7_dev/web/http.py", line 204, in dispatch
response["result"] = method(self, **self.params)
File "/home/army/OpenERP/openerp7/addons/addons7_dev/web/controllers/main.py", line 1125, in call_kw
return self._call_kw(req, model, method, args, kwargs)
File "/home/army/OpenERP/openerp7/addons/addons7_dev/web/controllers/main.py", line 1111, in _call_kw
records = req.session.model(model).read(*args, **kwargs)
File "/home/army/OpenERP/openerp7/addons/addons7_dev/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 "/home/army/OpenERP/openerp7/addons/addons7_dev/web/session.py", line 30, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/home/army/OpenERP/openerp7/addons/addons7_dev/web/session.py", line 103, in send
raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)
Server Traceback (most recent call last):
File "/home/army/OpenERP/openerp7/addons/addons7_dev/web/session.py", line 89, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/army/OpenERP/openerp7/server/7.0/openerp/netsvc.py", line 292, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/army/OpenERP/openerp7/server/7.0/openerp/service/web_services.py", line 626, in dispatch
res = fn(db, uid, *params)
File "/home/army/OpenERP/openerp7/server/7.0/openerp/osv/osv.py", line 188, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/army/OpenERP/openerp7/server/7.0/openerp/osv/osv.py", line 131, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/army/OpenERP/openerp7/server/7.0/openerp/osv/osv.py", line 197, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/army/OpenERP/openerp7/addons/addons7_dev/audittrail/audittrail.py", line 513, in execute_cr
return self.log_fct(cr, uid, model, method, fct_src, *args, **kw)
File "/home/army/OpenERP/openerp7/addons/addons7_dev/audittrail/audittrail.py", line 303, in log_fct
self.process_data(cr, uid_orig, pool, res_ids, model, method, old_values, new_values, field_list)
File "/home/army/OpenERP/openerp7/addons/addons7_dev/audittrail/audittrail.py", line 458, in process_data
lines = self.prepare_audittrail_log_line(cr, uid, pool, model, res_id, method, old_values, new_values, field_list)
File "/home/army/OpenERP/openerp7/addons/addons7_dev/audittrail/audittrail.py", line 423, in prepare_audittrail_log_line
if key not in old_values or key not in new_values or old_values[key]['value'][field_name] != new_values[key]['value'][field_name]:
KeyError: 'warehouse_id'
Please
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1206793/+subscriptions