← Back to team overview

openerp-india team mailing list archive

[Bug 1207782] Re: when i try open my employees i get that error:

 

Hello,

so the bug occurs because of the portal_hr_modules that get installed automatically for instance if you install the CRM module (auto_install = True)
In the es, nl and pt_BR locales, there is a Javascript key in the po files that was translated by mistake (yes it deserves an award of the most stupid translation https://translations.launchpad.net/openobject-addons/7.0/+pots/portal-hr-employees/pt_BR/18/+translate ) so as the Javascript interperter doesn't really speak these languages it was breaking in a subtitle obfuscated way.

Also, it's probably an other deeper bug that the server generates a
translation key for javascript present in the XML views.

But let's say it's for another one. Here follows the merge proposal that
voids the translation of the Javascript and prevents the bug.

Also, if you want to repair a corrupted database, it's not that simple.
The simplest we found (but there could be simpler) is to delete the nl,
es or pt_BR language completely (possibly choosing English as the
preferred language for the administrator temporarily) and then install
it again (load an Settings>Language> load an official translation,
overriding the terms)

Hope this helps and this gets merged by the OpenERP crew.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1207782

Title:
  when i try open my employees i get that error:

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  Uncaught SyntaxError: Unexpected identifier
  http://server-pc:8069/?ts=1369948181483#view_type=kanban&model=hr.employee&menu_id=370&action=447:2

  In Google Chrome.

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


References