summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2017-06-07 22:46:25 +0200
committerOlivier Dony <odo@openerp.com>2017-06-07 22:46:25 +0200
commitc6b9b69f6a483e7ccebf0b823240b71a8f426fd3 (patch)
tree8b55558af2fcf23a2e5dd5f02f5ce320041531a3 /addons/web/static/src/js/fields
parentd18d606a55330a6b9fd19596d8b12c4e9e0a4b57 (diff)
[FIX] base_import_module: allow selective access to module files
As a consequence of rev. 76cd8d2558d2a1fc11681dbc4a134ba06fb698c0, imported modules were unable to access their resource files during import. Rather than further modifying the file_open API to whitelist paths (the whole thing needs a redesign in master), we temporarily whitelist the temporary directory by including it in the global addons_paths, making sure to undo it afterwards. This gives all lower level function access the resource files via file_open, without having to pass around whitelisted paths through many different calls.
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions