Load translation of zip-file

Bug #885134 reported by Andreas Brueckl
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Low
OpenERP's Framework R&D

Bug Description

If you import a module as zip file and install it, then the translations in the i18n folder are not considered.
The Bug is in function 'trans_load' of tools/translate.py since it cannot open the passed filename.
It is assumed that the module is not a zip-file.

Reproduce:
- Import a module with existing i18n-folder as ZIP-File
- Update/Install module
- Look at translation terms -> they are not updated

Expected Result:
- translation terms are updated/created

Platform:
Ubuntu 10.04, openerp-server 6.0.1

If the same module without ZIP is moved to the addons folder, then everything is fine.
The error is only if you put a ZIP-module into the addons-folder

Related branches

Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-server:
status: Confirmed → In Progress
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello Andreas Brueckl,

Thanks for reporting !

The issue has been fixed at :lp:~openerp-dev/openobject-server/trunk-bug-885134-nch with revision-info: 3836 <email address hidden> and will be merged soon to the trunk server.

Regards,

Changed in openobject-server:
status: In Progress → Fix Committed
Revision history for this message
Vo Minh Thu (thu) wrote :

Thanks for the bug report, the fix is available in trunk:
revno: 3934
revision-id: <email address hidden>

Changed in openobject-server:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.