-
- Downloads
[FIX] account: origianl bills with encrypted PDF
To reproduce
============
- Accounting > Vendor Bills > create a vendor bill and upload the pdf (attached on this ticket)
- back to list view, select the created bill and print the original bills a user error is raised
Problem
=======
when trying to add the banner we read the PDF and we found out that it's encrypted so we raise the error
Solution
========
if the PDF is encrypted, we log warning and carry on downloading the original bill.
opw-3221796
closes odoo/odoo#116987
Signed-off-by:
John Laterre (jol) <jol@odoo.com>
Showing
- addons/account/models/ir_actions_report.py 2 additions, 2 deletionsaddons/account/models/ir_actions_report.py
- addons/account/tests/__init__.py 1 addition, 0 deletionsaddons/account/tests/__init__.py
- addons/account/tests/test_ir_actions_report.py 98 additions, 0 deletionsaddons/account/tests/test_ir_actions_report.py