summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorNans Lefebvre <len@odoo.com>2019-10-01 14:30:38 +0000
committerfw-bot <otis@odoo.com>2019-10-10 14:28:09 +0000
commit66a2ca059193272215519459e6660c39ec28e2be (patch)
treea56f43b74fdc4f21ca05e279e12e8ab3406c750a /addons/web/static/src/js/fields/basic_fields.js
parent381fa5abdd83384b630d4e6326a06b58c422e920 (diff)
[FIX] account_facturx: process pdf with .PDF extensions
In fact, "not filename.endswith('.pdf')" does not "Check if the attachment is a pdf". Some pdf files have filenames with a pdf extension, but .PDF, .Pdf work generally just as well, and it's also possible to live without a file extension. In any case, it doesn't prevent from crashes because of corrupted files, or files that are not pdf files but have the extension. opw 2075933 X-original-commit: 3f63447d8f25f6ff8a4d9951a74db069d41332f3
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions