# ODT to PDF template invoice issue

**URL:** <https://www.dolibarr.org/forum/t/odt-to-pdf-template-invoice-issue/25256>\
**Category:** Using my Dolibarr\
**Tags:** Help\
**Created:** [April 24, 2024, 2:30pm UTC](https://www.dolibarr.org/forum/t/odt-to-pdf-template-invoice-issue/25256 "2024-04-24T14:30:27Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![umigun](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/umigun/32/7276_2.png) [@umigun](https://www.dolibarr.org/forum/u/umigun)\
**Post date:** [April 25, 2024, 8:17am UTC](https://www.dolibarr.org/forum/t/odt-to-pdf-template-invoice-issue/25256/3 "2024-04-25T08:17:06Z")

</div>

It might be useful to take a look here. 🔽

> [@ODT 2 PDF](https://www.dolibarr.org/forum/t/odt-2-pdf/17414/16):
>
> hello, i have the same problem. The conversion completes when I test it on the server. but after creating ODT file in dolibarr it comes with .odt extension. I still haven’t been able to solve the problem. thank you for your help Doli version : 14.0.2 Server : Centos 7 - Cpanel/Whm host: PHP version 7.4 I tried this solution published by ### [h6585](https://github.com/h6585) . (of course all other solutions didn’t work) [https://github.com/Dolibarr/dolibarr/issues/10896](https://github.com/Dolibarr/dolibarr/issues/10896) MAIN\_DOL\_SCRIPTS\_ROOT = /home/xx/public\_html…

---

_[View the full topic](https://www.dolibarr.org/forum/t/odt-to-pdf-template-invoice-issue/25256)._
