Browse Source

Merge pull request #3955 from rohitwaghchaure/minor_template_validation_issue

[minor] Skip template validation for js print format
version-14
Rushabh Mehta 8 years ago
committed by GitHub
parent
commit
013e2da67c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/printing/doctype/print_format/print_format.py

+ 1
- 1
frappe/printing/doctype/print_format/print_format.py View File

@@ -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…
Cancel
Save