Hi. All.
I am trying to re-generate PDF from Product list. But receiving this error.
Error File /home/desigdxz/public_html/providenceqatar.com/dolibarr/core/modules/product/doc/pdf_strato.modules.php does not exist
Hi. All.
I am trying to re-generate PDF from Product list. But receiving this error.
Error File /home/desigdxz/public_html/providenceqatar.com/dolibarr/core/modules/product/doc/pdf_strato.modules.php does not exist
Hi Anas,
You have to set default model in Module Setup/Products. Then it should work.
Regards,
Marc
Hi Marc.
Thanks again.
Done as you mention. PDF Re generated command executed, but I did not get any PDF.!!!
That’s really sad. What if you regenerate one single file (in the product card) ? Does it work there ? If not, i would suspect rights on document folder (should be writable to your php process).
Regards,
Marc
Individual is fine…I guess its fine for me for now. Will investigate later… As i need to move on for further setup.
Thanks Marc.
Coming back with new question soon…

Fatal error : Uncaught Error: Undefined constant Product::STATUS_DRAFT in /home/evklrovp/domains/confeder8international.com/public_html/dolibarr/core/modules/product/doc/pdf_strato.modules.php:167 Stack trace: #0 /home/evklrovp/domains/confeder8international.com/public_html/dolibarr/product/admin/product.php(207): pdf_strato->write_file() #1 {main} thrown in /home/evklrovp/domains/confeder8international.com/public_html/dolibarr/core/modules/product/doc/pdf_strato.modules.php on line 167
@Conedr8 which dolibarr version, and what did you do to get that message?
Hi Conedr8,
Please inspect your installation. strato should be a template for Contracts, not for Products.
Regards,
Marc