Merge branch 'version-13-hotfix' into mergify/bp/version-13-hotfix/pr-31223
This commit is contained in:
@@ -1156,8 +1156,11 @@ def get_company_gstins(company):
|
||||
.inner_join(links)
|
||||
.on(address.name == links.parent)
|
||||
.select(address.gstin)
|
||||
.distinct()
|
||||
.where(links.link_doctype == "Company")
|
||||
.where(links.link_name == company)
|
||||
.where(address.gstin.isnotnull())
|
||||
.where(address.gstin != "")
|
||||
.run(as_dict=1)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user