← Back to team overview

openerp-india team mailing list archive

[Bug 1067519] Re: Audittrail rule fails when editing a Claim

 

*** This bug is a duplicate of bug 1012931 ***
    https://bugs.launchpad.net/bugs/1012931

** This bug has been marked a duplicate of bug 1012931
   audit trail one2many error

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


References