← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 685949] Re: base_module_upgrade.py needs to import translation tool

 

** Changed in: openobject-addons
   Importance: Undecided => High

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)

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

Title:
  base_module_upgrade.py needs to import translation tool

Status in OpenObject Addons Modules:
  Confirmed

Bug description:
  The following error occurs because _ is not imported.

File "/home/oerinttst6/openerp-server/bin/addons/base/module/wizard/base_module_upgrade.py", line 97, in upgrade_module
    raise osv.except_osv(_('Unmet dependency !'), _('Following modules are not installed or unknown: %s') % ('\n\n' + '\n'.join(unmet_packages)))
UnboundLocalError: local variable '_' referenced before assignment

openerp-addons bzr revno 3983





References