odoo/openerp/tools
Jairo Llopis 295f62741d
[FIX] tools: cherry-pick of 0529a7f9
extract terms in correct folder

If two addons path have a common part in the folder name (e.g. `/home/alice/dev`
and `/home/alice/devodoo`), the `get_module_from_path` method may match the
wrong folder.
A file `/home/alice/devodoo/bob/models.py` would wrongly match `/home/alice/dev`
path (due to the lack of separator) and the returned module would be `odoo`
(`"odoo/bob/models.py".split('/')[0]`).

In such scenario, the translations of files (code, static folder, report) would
not be included in the exported translation file.

Force the module path to ends with a folder separator to avoid wrong matching.

Closes #13363
2016-09-28 13:43:41 +02:00
..
__init__.py [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
amount_to_text.py [FIX] amount_to_text: make sure accented string is in unicode 2014-04-23 17:02:15 +02:00
amount_to_text_en.py [IMP] more augmented assignments 2012-12-14 14:44:55 +01:00
appdirs.py [FIX] move appsdirs to tools 2014-02-27 17:32:59 +01:00
assertion_report.py [IMP] tests: 2012-03-02 12:02:27 +01:00
cache.py [FIX] ormcache: correct stat counter usage. 2015-04-13 13:17:23 +02:00
config.py [IMP] logging: store logs in database in multi databases env. 2015-05-07 15:11:58 +02:00
convert.py [MERGE] Forward-port 7.0 up to bdbcbea285 2016-02-03 00:40:27 +01:00
debugger.py [IMP] Move the netsvc.dispatch_rpc function from netsvc to openerp.http 2014-02-27 13:56:48 +01:00
float_utils.py [FIX] base: support float rounding with rounding_method=UP (ceiling) 2014-10-22 14:28:22 +02:00
func.py [IMP] core: manage registries via an LRU. 2014-10-29 18:28:07 +01:00
graph.py [IMP] more augmented assignments 2012-12-14 14:44:55 +01:00
image.py [FIX] tools: add support for transparency of PNG images 2015-06-25 18:51:03 +02:00
import_email.py [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
lru.py [FIX] core: correct LRU cleaning 2015-04-03 16:33:18 +02:00
mail.py [FIX] tools: email TLDs can be longer than 6 chars 2015-12-16 17:11:08 +01:00
misc.py [FIX] tools: correct Burmese locale 2016-05-13 12:53:17 +02:00
osutil.py [IMP] Allow custom ordering of files contained in zip dumps 2015-03-18 14:22:22 +01:00
parse_version.py [IMP] parse_version: ignore saas~ componants 2013-04-30 16:20:37 +02:00
pdf_utils.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
safe_eval.py [MERGE] Forward-port latest saas-3 bugfixes, up to c9b690f6b6 2015-01-29 13:54:13 +01:00
sql.py [FIX] drop_view_if_exists: simpler and CASCADING implementation for pg 8.3+ 2012-02-27 17:57:37 +01:00
test-config-values [ADD] tools/config: started tests. 2011-06-01 13:50:55 +02:00
test-config-values-00.conf [ADD] tools/config: started tests. 2011-06-01 13:50:55 +02:00
test_config.py [IMP] Added missing vim mode lines 2011-11-22 09:58:48 +01:00
test_reports.py [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
translate.py [FIX] tools: cherry-pick of 0529a7f9 2016-09-28 13:43:41 +02:00
view_validation.py [ADD] doc: new documentation, with training tutorials, and new scaffolding 2014-08-22 17:51:20 +02:00
which.py [IMP] Added missing vim mode lines 2011-11-22 09:58:48 +01:00
win32.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
yaml_import.py [FIX] YAML: `!menuitem` tag handling 2015-09-28 17:15:38 +02:00
yaml_tag.py [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00