Load translation of zip-file
Bug #885134 reported by
Andreas Brueckl
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
lp:~openerp-dev/openobject-server/trunk-bug-885134-nch
- OpenERP R&D Team: Pending requested
- Vo Minh Thu: Pending requested
- Olivier Dony (Odoo): Pending requested
-
Diff: 31 lines (+2/-2)2 files modifiedopenerp/addons/base/module/module.py (+1/-1)
openerp/tools/translate.py (+1/-1)
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 |
To post a comment you must log in.
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,