Skip to Content
Menu
This question has been flagged
1573 Views

File "/home/ubuntu/rostaing/openerp/osv/osv.py", line 199, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/home/ubuntu/rostaing/openerp/addons/audittrail/audittrail.py", line 552, in execute_cr return self.log_fct(cr, uid, model, method, fct_src, *args, **kw)

File "/home/ubuntu/rostaing/openerp/addons/audittrail/audittrail.py", line 309, in log_fct self.process_data(cr, uid_orig, pool, res_ids, model, method, old_values, new_values, field_list)

File "/home/ubuntu/rostaing/openerp/addons/audittrail/audittrail.py", line 493, in process_data lines = self.prepare_audittrail_log_line(cr, uid, pool, model, res_id, method, old_values, new_values, field_list)

File "/home/ubuntu/rostaing/openerp/addons/audittrail/audittrail.py", line 466, in prepare_audittrail_log_line return self.prepare_audittrail_log_line_context(cr, uid, pool, model, resource_id, method, old_values, new_values, field_list=field_list)

File "/home/ubuntu/rostaing/openerp/addons/audittrail/audittrail.py", line 446, in prepare_audittrail_log_line_context

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'

Avatar
Discard