ODT template to generate a contract

By any chance are you just dropping my example template unmodified in to the doctemplates/order directory or are you unzipping or editing it first? Leaving it unedited will help to rule out other issues. Also, Dolibarr ODT templates do not need to be unzipped and should be edited directly with OpenOffice.

As for debugging, I’m not sure a ODT template issues will generate an error.log so you will need to

  1. Open /htdocs/conf/conf.php
  2. Find this line $dolibarr_main_prod=‘1’;
  3. Change 1 to 0. This is a security issue and you’ll want to change it back ASAP.