diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-10-01 14:30:38 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-10-10 14:28:09 +0000 |
| commit | 66a2ca059193272215519459e6660c39ec28e2be (patch) | |
| tree | a56f43b74fdc4f21ca05e279e12e8ab3406c750a /doc/reference/javascript_reference.rst | |
| parent | 381fa5abdd83384b630d4e6326a06b58c422e920 (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 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
