← Back to team overview

openerp-india team mailing list archive

[Bug 1067519] [NEW] Audittrail rule fails when editing a Claim

 

Public bug reported:

Reproduced both in 6.1 and trunk:
- install crm_claim and audittrail
- create and subscribe an audittrail rule on the Claim model
- edit a Claim demo record: set a  Dealine and save

This will result in the following error:
  File "/home/erp_user/openerp/trunk/server/openerp/addons/audittrail/audittrail.py", line 408, 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: 'id'

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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/1067519

Title:
  Audittrail rule fails when editing a Claim

Status in OpenERP Addons (modules):
  New

Bug description:
  Reproduced both in 6.1 and trunk:
  - install crm_claim and audittrail
  - create and subscribe an audittrail rule on the Claim model
  - edit a Claim demo record: set a  Dealine and save

  This will result in the following error:
    File "/home/erp_user/openerp/trunk/server/openerp/addons/audittrail/audittrail.py", line 408, 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: 'id'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1067519/+subscriptions


Follow ups

References