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
Framework Experts, 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

-- 
Mailing list: https://launchpad.net/~credativ
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~credativ
More help   : https://help.launchpad.net/ListHelp

Reply via email to