mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 20:59:11 +00:00
Merge pull request #7365 from rohitwaghchaure/terms_and_condition
minor fix
This commit is contained in:
@@ -9,6 +9,7 @@ from frappe.utils.jinja import validate_template
|
||||
|
||||
class TermsandConditions(Document):
|
||||
def validate(self):
|
||||
if self.terms:
|
||||
validate_template(self.terms)
|
||||
|
||||
@frappe.whitelist()
|
||||
|
||||
Reference in New Issue
Block a user