← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 697207] Re: Bug when sending followups without specifying any email address

 

** Changed in: openobject-addons
       Status: Fix Committed => Fix Released

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

Title:
  Bug when sending followups without specifying any email address

Status in OpenObject Addons Modules:
  Fix Released

Bug description:
  Install account_followup module (with demo data). Create an invoice and validate it. 
Then send followup to your partner. 

=> Error reported if no email address specified :

Environment Information : 
System : Linux-2.6.32-27-generic-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 10.04.1 LTS
Release:	10.04
Codename:	lucid
Operating System Release : 2.6.32-27-generic
Operating System Version : #49-Ubuntu SMP Wed Dec 1 23:52:12 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : fr_BE.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0.0-rc2
Last revision No. & ID :1752 chs@xxxxxxxxxxx-20110103123629-4k6nlpqledv7o475
Traceback (most recent call last):
  File "/home/openerp/trunk/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/openerp/trunk/server/bin/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/home/openerp/trunk/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp/trunk/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/openerp/trunk/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp/trunk/server/bin/addons/account_followup/wizard/account_followup_print.py", line 222, in do_mail
    partners.append(line.name)
  File "/home/openerp/trunk/server/bin/osv/orm.py", line 285, in __getattr__
    raise AttributeError(e)
AttributeError: "Field 'name' does not exist in object 'browse_record(account_followup.stat, 33)'"





References