[cleanup] [minor] for territory fixed to applicable territory
This commit is contained in:
parent
e158cea77a
commit
9c1488a7c0
@ -72,7 +72,7 @@ class DocType(DocListController):
|
||||
# make a map of territory: [list of names]
|
||||
# if list against each territory has more than one element, raise exception
|
||||
territory_name = webnotes.conn.sql("""select `territory`, `parent`
|
||||
from `tabFor Territory`
|
||||
from `tabApplicable Territory`
|
||||
where `parenttype`=%s and `parent` in (%s)""" %
|
||||
("%s", ", ".join(["%s"]*len(names))), tuple([parenttype] + names))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user