← Back to team overview

openerp-india team mailing list archive

[Bug 917728] [NEW] audittrail in log_fcf KeyError: 'name'

 

Public bug reported:

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

** 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/917728

Title:
  audittrail in log_fcf KeyError: 'name'

Status in OpenERP Addons (modules):
  New

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


Follow ups

References