← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hi jordi !

Before i'll use powermail but i don't arrive to make working it on the v6.0
and it's not write on launchpad that it work with the v6.0 and I was thinking
that powermail is not again available for the v6...so if i want mail in v6.0
that's appears me to be logic for me to take the module put on the v6 extra 
addon...

Have you a version of powermail working in v6 ? i've try the 0.7 she don't 
install ?

Thank's for fast reply  ! Have a nice day.
I'll try your update....



________________________________
De :Jordi Esteve (www.zikzakmedia.com) 
À : alfredlueurt@xxxxxxxx
Envoyé le : Mar 1 février 2011, 19h 43min 56s
Objet : [Bug 711347] Re: email_account error global name '_' is not defined when 
trying send invoice by mail

You were using an out of date version of email_account module, all these
modules (email_account, email_sale, email_purchase) were improved in 5.0
addons-extra but not in 6.0.

I have ported the last version of these 3 modules from 5.0 to work with
6.0 and done little changes to work in 6.0. Test them and if there is
any problem, report it another time. Note: We don't use these modules
any more, the poweremail module is more flexible and powerful so it
replaces them.

-- 
You received this bug notification because you are a direct subscriber
of the bug.
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):
  Won't Fix

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.

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/openobject-addons/+bug/711347/+subscribe

-- 
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.





References