← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 711347] Re: email_account error global name '_' is not defined when trying send invoice by mail

 

Thanks Jordi.


Alfred, can you get the latest/updated version of that module from https://code.launchpad.net/~openerp-commiter/openobject-addons/stable_5.0-extra-addons?

Thanks.

** Changed in: openobject-addons
       Status: Won't Fix => 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/711347

Title:
  email_account error global name '_' is not defined when trying send
  invoice by mail

Status in OpenERP Modules (addons):
  Fix Released

Bug description:
  I have smptclient install working great.
  But mail_account always this error when try to send invoice by mail.

  Description:	Ubuntu 10.04.2 LTS
  Release:	10.04
  Codename:	lucid
  Operating System Release : 2.6.32-28-generic
  Operating System Version : #55-Ubuntu SMP Mon Jan 10 23:42:43 UTC 2011
  Operating System Architecture : 64bit
  Operating System Locale : fr_FR.UTF8
  Python Version : 2.6.5
  OpenERP-Client Version : 6.0.1
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/usr/share/pyshared/openerp-server/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/share/pyshared/openerp-server/service/web_services.py", line 636, in dispatch
      res = fn(db, uid, *params)
    File "/usr/share/pyshared/openerp-server/service/web_services.py", line 663, in exp_execute
      return self._execute(db, uid, wiz_id, datas, action, context)
    File "/usr/share/pyshared/openerp-server/service/web_services.py", line 645, in _execute
      return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
    File "/usr/share/pyshared/openerp-server/wizard/__init__.py", line 177, in execute
      res = self.execute_cr(cr, uid, data, state, context)
    File "/usr/share/pyshared/openerp-server/wizard/__init__.py", line 72, in execute_cr
      action_res = action(self, cr, uid, data, context)
    File "/usr/share/pyshared/openerp-server/addons/email_account/wizard/wizard_send_email.py", line 62, in _get_defaults
      subject = user.company_id.name+_('. Invoice Num.')
  NameError: global name '_' is not defined

  Have a nice day.





Follow ups

References