style: fix indent
This commit is contained in:
parent
cac8a8c4a0
commit
742d79cd5f
1 changed files with 5 additions and 5 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue