Issues with ODT to PDF Conversion: Missing Share Links & Document Visibility for Customer Signatures

Hello everyone,

I’ve encountered two linked issues while using the proposition module in Dolibarr with ODT templates and automatic PDF conversion. These issues create significant problems when trying to share proposals with customers:

  1. PDFs generated from ODT-converted documents have no share links, unlike those generated using the default cyan/azur templates or directly unconverted ODTs.
  2. The document is not displayed on the signature page, meaning the customer can’t view what they are signing, which is a critical flaw.

When using the settings:

  • MAIN_ODT_AS_PDF
  • MAIN_ODT_AS_PDF_DEL_SOURCE,

the ODT files are correctly converted to PDFs, and the source ODTs are deleted as expected. However, no shareable document is available, and the PDF is not displayed on the “Accept Commercial Proposals” page for the customer’s review.

Additionally, I enabled “Allow external download”, but this didn’t seem to have any noticeable effect on the behavior.

I found a relevant discussion on this topic from 2022:
How to provide only PDF files during online sign of proposals, orders, invoices, etc.,
but it seems the issue wasn’t fully resolved at the time.

Here are some screenshots of the missing share link and the missing document on the signature page:



DOLIBARR ENVIRONMENT:

  • Version: 19.0.2
  • Operating System: Debian Linux 12.7
  • Web Server: Apache/2.4.62 (Debian)
  • PHP: 8.2.20
  • Database: MariaDB 10.11.6-MariaDB-0+deb12u1

URLs:


Has anyone seen if these issues have been addressed since the 2022 discussion, or would it be appropriate to open a feature request on GitHub?

I’m willing to contribute to developing this feature myself, as I believe it’s a crucial addition and might not be too complex to implement.

Any insights or guidance would be greatly appreciated!

Thanks
Fabrice