mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-28 02:28:43 +00:00
Order: Improve help text(s)
This commit is contained in:
1 parent
406dbc36fa
commit
5c4781b5b4
3 files changed
+42
-7
No files matched your search
@@ -127,7 +127,7 @@ class ReportTemplateBase(models.Model):
|
||||
except TexError:
|
||||
return TexResponse(rendered, filename="error.tex")
|
||||
else:
|
||||
return ValidationError("Enable LaTeX support in config.yaml")
|
||||
raise ValidationError("Enable LaTeX support in config.yaml")
|
||||
elif self.extension in ['.htm', '.html']:
|
||||
# Render HTML template to PDF
|
||||
wp = WeasyprintReportMixin(request, self.template_name, **kwargs)
|
||||
|
||||
Reference in new issue
Block a user