From a2c63493421f8fbb2be4a224a3a6e0d27e80ff81 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Fri, 30 Nov 2012 17:08:00 +0530 Subject: [PATCH] added get_value --- accounts/doctype/account/account.py | 1 + selling/doctype/sales_common/sales_common.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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