← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 800915] Re: email_purchase and email_invoice error

 

Hello Mihai,

"email_invoice" is part of the extra-addons, and which is not developed
by "Tiny".

But your issue is confirmed when the user has no signature defined this
type of the problem will occures.

So I am suggesting that apply the attached the patch it will solve your
end.

As per we are not the author of this module I am assigning this issue to
the related author and then will take the appropriate decision. So I am
setting this as a "Won't fix"

Thanks

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

Title:
  email_purchase and email_invoice error

Status in OpenERP Modules (addons):
  Won't Fix

Bug description:
  As user administrator the mail system works OK,
  but as  regular user I get this error on any email services

  Environment Information : 
  System : Windows-XP-5.1.2600-SP3
  OS Name : nt
  Operating System Release : XP
  Operating System Version : 5.1.2600
  Operating System Architecture : 32bit
  Operating System Locale : ro_RO.cp1252
  Python Version : 2.5.2
  OpenERP-Client Version : 6.0.2
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/usr/lib/openerp-server-6.0.1/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/lib/openerp-server-6.0.1/service/web_services.py", line 636, in dispatch
      res = fn(db, uid, *params)
    File "/usr/lib/openerp-server-6.0.1/service/web_services.py", line 663, in exp_execute
      return self._execute(db, uid, wiz_id, datas, action, context)
    File "/usr/lib/openerp-server-6.0.1/service/web_services.py", line 645, in _execute
      return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
    File "/usr/lib/openerp-server-6.0.1/wizard/__init__.py", line 177, in execute
      res = self.execute_cr(cr, uid, data, state, context)
    File "/usr/lib/openerp-server-6.0.1/wizard/__init__.py", line 72, in execute_cr
      action_res = action(self, cr, uid, data, context)
    File "/usr/lib/openerp-server-6.0.1/addons/email_account/wizard/wizard_send_email.py", line 64, in _get_defaults
      text = '\n--\n' + user.signature
  TypeError: cannot concatenate 'str' and 'bool' objects

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


References