From 742d79cd5fd0d4d44ecff987a29b1d70ab124798 Mon Sep 17 00:00:00 2001 From: prssanna Date: Sat, 18 Jul 2020 14:16:32 +0530 Subject: [PATCH] style: fix indent --- frappe/model/base_document.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frappe/model/base_document.py b/frappe/model/base_document.py index d89800b296..7d56736cdc 100644 --- a/frappe/model/base_document.py +++ b/frappe/model/base_document.py @@ -703,12 +703,12 @@ class BaseDocument(object): sanitized_value = value if df and (df.get("ignore_xss_filter") - or (df.get("fieldtype")=="Code" and df.get("options")!="Email") - or df.get("fieldtype") in ("Attach", "Attach Image", "Barcode") + or (df.get("fieldtype")=="Code" and df.get("options")!="Email") + or df.get("fieldtype") in ("Attach", "Attach Image", "Barcode") - # cancelled and submit but not update after submit should be ignored - or self.docstatus==2 - or (self.docstatus==1 and not df.get("allow_on_submit"))): + # cancelled and submit but not update after submit should be ignored + or self.docstatus==2 + or (self.docstatus==1 and not df.get("allow_on_submit"))): continue else: