Selaa lähdekoodia

Merge pull request #3955 from rohitwaghchaure/minor_template_validation_issue

[minor] Skip template validation for js print format
version-14
Rushabh Mehta 8 vuotta sitten
committed by GitHub
vanhempi
commit
013e2da67c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      frappe/printing/doctype/print_format/print_format.py

+ 1
- 1
frappe/printing/doctype/print_format/print_format.py Näytä tiedosto

@@ -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):


Ladataan…
Peruuta
Tallenna