Module update does not overwrite existing therms when i18n-overwrite is set
Bug #1319285 reported by
Yann Papouin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned | |||
OpenERP Community Backports (Server) | Status tracked in 7.0 | |||||
6.1 |
New
|
Undecided
|
Unassigned | |||
7.0 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If the server is started with the "--i18n-overwrite" option, it is entirely ignored when updating module in these two cases:
- update from command line
- update from module view
In "tools/config.py", following is stated:
"the i18n-overwrite option cannot be used without the i18n-import option or without the update option"
I made a fix in _load_data in "modules/
# Update translations for all installed languages
modobj.
Related branches
lp://staging/~yann-papouin/openobject-server/7.0-bug-1319285-translation-overwrite-module-update
Ready for review
for merging
into
lp://staging/openobject-server/7.0
- OpenERP Core Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedopenerp/modules/loading.py (+1/-1)
lp://staging/~yann-papouin/ocb-server/7.0-bug-1319285-translation-overwrite-module-update
- Yannick Vaucher @ Camptocamp: Approve (code review, no test)
- Pedro Manuel Baeza: Approve (code review)
-
Diff: 12 lines (+1/-1)1 file modifiedopenerp/modules/loading.py (+1/-1)
description: | updated |
To post a comment you must log in.