Fix typo when converting po_path into list in Translation.translation_import
This feature was introduced with typo in changeset 1e46a7fc4fd5 for issue5733
This commit is contained in:
1 parent
9937191676
commit
d972fea9e5
1 file changed
+1
-1
@@ -777,7 +777,7 @@ class Translation(ModelSQL, ModelView):
|
||||
pool = Pool()
|
||||
ModelData = pool.get('ir.model.data')
|
||||
if isinstance(po_path, basestring):
|
||||
filenames = [po_path]
|
||||
po_path = [po_path]
|
||||
models_data = ModelData.search([
|
||||
('module', '=', module),
|
||||
])
|
||||
|
||||
Reference in new issue
Block a user