You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When converting an invoice draft to template I get a PHP fatal error: Fatal error: Uncaught Error: Class 'FormProjets' not found in /home/lox/public_html/Tests/dolibarr/erp/htdocs/compta/facture/fiche-rec.php on line 892
Same problem in 5.0.1
I check in htdocs/compta/facture/fiche-rec.php file, the call to the class, line 38. In line 36, we can see the requirement that projects must be enabled.
Isn't it possible to convert an invoice draft to template without the project's module ?
… template
cf. Dolibarr#6614
without this class AND module Projects disabled, it's not possible to create an invoice template. So I pulled out the call of the class from the condition.
Instructions
Bug
When converting an invoice draft to template I get a PHP fatal error:
Fatal error: Uncaught Error: Class 'FormProjets' not found in /home/lox/public_html/Tests/dolibarr/erp/htdocs/compta/facture/fiche-rec.php on line 892
Environment
Expected and actual behavior
Should create an invoice template, throws a fatal error an the conversion doesn't happen.
Steps to reproduce the behavior
Create an invoice draft click convert to template
The text was updated successfully, but these errors were encountered: