diff --git a/accounts/doctype/account/account.py b/accounts/doctype/account/account.py index 70c55e7215..763c64b095 100644 --- a/accounts/doctype/account/account.py +++ b/accounts/doctype/account/account.py @@ -23,6 +23,7 @@ from webnotes.model.wrapper import copy_doclist from webnotes import msgprint sql = webnotes.conn.sql +get_value = webnotes.conn.get_value class DocType: def __init__(self,d,dl): diff --git a/selling/doctype/sales_common/sales_common.py b/selling/doctype/sales_common/sales_common.py index 7f6ffe62e1..96314c64cf 100644 --- a/selling/doctype/sales_common/sales_common.py +++ b/selling/doctype/sales_common/sales_common.py @@ -24,7 +24,7 @@ from webnotes.model.wrapper import getlist, copy_doclist from webnotes.model.code import get_obj from webnotes import form, msgprint - +get_value = webnotes.conn.get_value from utilities.transaction_base import TransactionBase