summaryrefslogtreecommitdiff
path: root/addons/mail/data/mail_shortcode_data.xml
diff options
context:
space:
mode:
authorAdrian Torres <adt@odoo.com>2018-02-26 15:33:37 +0100
committerGitHub <noreply@github.com>2018-02-26 15:33:37 +0100
commitd33ce2b4d1e7521cb1d86b9b69ccf670205a2750 (patch)
tree613b758db8475a7cf0221a4b9b9ea408b9f02d2a /addons/mail/data/mail_shortcode_data.xml
parent25b49fe6247930f71a0a43e2ec55a1ed30b275d1 (diff)
[FIX] base_import_module: don't assume data/ exists
Before this commit, while performing a check on whether a customization being imported was done using studio or not, we would assume that the .zip would, at the very least, contain a data folder. This is not the case as loose files can be imported and the data folder is only generated by studio customizations. To solve this, we walk over the whole zip instead of walking over the data/ folder only (which may be non-existant), so loose files, files inside the data folder and potentially files in other folders can be parsed without raising unexpected errors.
Diffstat (limited to 'addons/mail/data/mail_shortcode_data.xml')
0 files changed, 0 insertions, 0 deletions