Can anyone help me with how I can omit the odt template name from the file that is generated with a .odt template?
In my case, I am using the NS{yy}{mm}/QT/{000@1} Mask for the Proposal. e.g the name should be NS2209/QT/001 but I am getting NS2209/QT/001_Quote.pdf while using the Quote.odt template.
Is it possible to eliminate the part of the filename?
Thank you so much, adding your code line solved the issue.
One more thing please whenever I generate the using doc odt template, I am getting the following Warning
Warning : md5_file(c:/dolibarr/dolibarr_documents/propale/(PROV8)/(PROV8).odt): failed to open stream: No such file or directory in C:\dolibarr\www\dolibarr\htdocs\core\class\commonobject.class.php on line 5419
pcbleu,
I am trying to replace the odt document name to have my Project title in the place of the odt file name. Can you show me how to incorporate {object_project_title} into this line of code?
$newfiletmp = $objectref . ‘-’;