← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 741495] [NEW] [openerp-v6.0] AttributeError: 'PoweremailSelectFolder' object has no attribute 'inboxvalue'

 

Public bug reported:

Error occurs when I try to select IMAP folder in account settings.

Traceback (most recent call last):
  File "/home/kodemi/src/openerp6/server/openerp/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/kodemi/src/openerp6/server/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/kodemi/src/openerp6/server/openerp/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/kodemi/src/openerp6/server/openerp/osv/orm.py", line 981, in default_get
    defaults[f] = self._defaults[f](self, cr, uid, context)
  File "/home/kodemi/src/openerp6/server/openerp/addons/poweremail/poweremail_core.py", line 1181, in <lambda>
    'folder': lambda self, cr, uid, ctx:self.inboxvalue
AttributeError: 'PoweremailSelectFolder' object has no attribute 'inboxvalue'

I avoided the problem by adding definition of inboxvalue = '' before
_defaults dict.

** Affects: poweremail
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/741495

Title:
  [openerp-v6.0] AttributeError: 'PoweremailSelectFolder' object has no
  attribute 'inboxvalue'

Status in Power e-Mail for Open ERP:
  New

Bug description:
  Error occurs when I try to select IMAP folder in account settings.

  Traceback (most recent call last):
    File "/home/kodemi/src/openerp6/server/openerp/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/kodemi/src/openerp6/server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/kodemi/src/openerp6/server/openerp/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/kodemi/src/openerp6/server/openerp/osv/orm.py", line 981, in default_get
      defaults[f] = self._defaults[f](self, cr, uid, context)
    File "/home/kodemi/src/openerp6/server/openerp/addons/poweremail/poweremail_core.py", line 1181, in <lambda>
      'folder': lambda self, cr, uid, ctx:self.inboxvalue
  AttributeError: 'PoweremailSelectFolder' object has no attribute 'inboxvalue'

  I avoided the problem by adding definition of inboxvalue = '' before
  _defaults dict.



Follow ups

References