[minor] Bypass template validation for js print format
This commit is contained in:
parent
4e83014f4d
commit
40bdc767dc
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ class PrintFormat(Document):
|
|||
if not self.module:
|
||||
self.module = frappe.db.get_value('DocType', self.doc_type, 'module')
|
||||
|
||||
if self.html:
|
||||
if self.html and self.print_format_type != 'Js':
|
||||
validate_template(self.html)
|
||||
|
||||
def extract_images(self):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue