← Back to team overview

openerp-india team mailing list archive

[Bug 1111597] Re: Audittrail generates KeyError on models that define column 'id'

 

** Branch linked: lp:~therp-nl/therp-backports/6.1-lp1111597

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

Title:
  Audittrail generates KeyError on models that define column 'id'

Status in OpenERP Addons (modules):
  New
Status in Therp Backports:
  New
Status in Therp Backports addons-6.1 series:
  New

Bug description:
  Steps to reproduce:
  1. Install crm module and add some crm.lead objects.
  2. Install Audittrail module and add rule to track crm.lead changes.
  3. Try to change some fields of crm.lead object.
  4. You will not be able to save the changes because of Audittrail's KeyError.

  This is triggered by the fact that crm.lead defines the column 'id'
  which is filtered out in http://bazaar.launchpad.net/~openerp
  /openobject-addons/6.1/view/head:/audittrail/audittrail.py#L331

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


References