summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-02-18 08:56:53 +0000
committerAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-03-03 09:32:23 +0000
commit50e14c054222fee90489d7448558823092a58213 (patch)
treea68f051f5b86249532a2c9d0e3c069ebcec40d82 /addons/web/static/src/js/views/basic/basic_controller.js
parent3959f30d738e02855ca4acb5f607a0148ffc2388 (diff)
[FIX] l10n_it_edi: fix xml namespace when importing
When importing vendor bills it may appen that xml are rejected with a TypeError traceback (TypeError: empty namespace prefix is not supported in XPath) because the namespace parsed from the file is something similar to { None: 'http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2', 'xsd': 'http://www.w3.org/2001/XMLSchema', 'xsi':'http://www.w3.org/2001/XMLSchema-instance' } which create an issue on xpath when the key None is detected. Avoiding writing explicitly the namespace to avoid the null key fix the issue. Other solution would require fixing the namespace parsing directly in the library. opw-2198541 closes odoo/odoo#46702 X-original-commit: 04009a8562e38e92f3dbdb38bd2761e75174bf3a Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions