summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2017-10-13 10:28:04 +0200
committerMartin Trigaux <mat@odoo.com>2017-10-13 10:35:57 +0200
commit8f1d889e50e18d81db7d4e8bb0555513a2b1019c (patch)
tree4112695b47065984562d4a9fff85a31e5eab16aa /addons/web_editor/static/src
parent40d4cdd39fb648d9d6ca7851248bdddff48389dd (diff)
[FIX] tools: correctly export the non-module translations
8ac39287 introdcude a way to export the source terms not located inside an addons module (e.g. error messages in openerp/service/models.py) 0529a7f9 fixed a bug in the get_module_from_path with addons path with similar names. The above commit introduced a regression making files located outside of an addons path to be wrongly considered as a module e.g. openerp/service/models.py used not to match any module and was considered correctly as belonging to base module After, 0529a7f9, '~/openerp/service' being different than '~/openerp/service/' the module was considered as 'models.py' (which is incorrect). Compare correctly both parent path to have a correct match Fixes # 19907
Diffstat (limited to 'addons/web_editor/static/src')
0 files changed, 0 insertions, 0 deletions