← Back to team overview

credativ team mailing list archive

[Bug 917728] Re: [V6]audittrail in log_fcf KeyError: 'name'

 

** Attachment added: "Audittrial.ogv"
   https://bugs.launchpad.net/openobject-addons/+bug/917728/+attachment/2684031/+files/Audittrial.ogv

** Changed in: openobject-addons
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/917728

Title:
  [V6]audittrail in log_fcf KeyError: 'name'

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  class Example(osv.osv):
      _inherit = 'some.model'

      #some code

  If you declare a model class like Example, without declaring _name, audittrail will fall in KeyError: 'name'.
  at audittrail.py:327, "name": resource['name']

  addons revno: 5004

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


References