mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-07 23:31:20 +00:00
remove sql =
This commit is contained in:
@@ -5,7 +5,6 @@ from __future__ import unicode_literals
|
||||
import webnotes
|
||||
from webnotes.utils import add_days, cint,flt, nowdate, get_url_to_form, formatdate
|
||||
from webnotes import msgprint, _
|
||||
sql = webnotes.conn.sql
|
||||
|
||||
import webnotes.defaults
|
||||
|
||||
|
||||
@@ -13,7 +13,6 @@ from webnotes.model.mapper import get_mapped_doclist
|
||||
|
||||
|
||||
|
||||
sql = webnotes.conn.sql
|
||||
|
||||
from controllers.selling_controller import SellingController
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@ from webnotes.model.bean import getlist
|
||||
from webnotes.model.code import get_obj
|
||||
from webnotes import msgprint
|
||||
|
||||
sql = webnotes.conn.sql
|
||||
|
||||
|
||||
class DocType:
|
||||
|
||||
@@ -10,7 +10,6 @@ from webnotes.model.code import get_obj
|
||||
from webnotes import msgprint
|
||||
import webnotes.defaults
|
||||
|
||||
sql = webnotes.conn.sql
|
||||
|
||||
from controllers.buying_controller import BuyingController
|
||||
class DocType(BuyingController):
|
||||
|
||||
@@ -15,7 +15,6 @@ from stock.stock_ledger import get_previous_sle
|
||||
from controllers.queries import get_match_cond
|
||||
import json
|
||||
|
||||
sql = webnotes.conn.sql
|
||||
|
||||
class NotUpdateStockError(webnotes.ValidationError): pass
|
||||
class StockOverReturnError(webnotes.ValidationError): pass
|
||||
|
||||
@@ -11,7 +11,6 @@ from webnotes.model.code import get_obj
|
||||
from webnotes import session, msgprint
|
||||
from stock.utils import get_valid_serial_nos
|
||||
|
||||
sql = webnotes.conn.sql
|
||||
|
||||
class DocType:
|
||||
def __init__(self, doc, doclist=[]):
|
||||
|
||||
@@ -10,7 +10,6 @@ from webnotes.model.bean import copy_doclist
|
||||
from webnotes.model.code import get_obj
|
||||
from webnotes import msgprint, _
|
||||
|
||||
sql = webnotes.conn.sql
|
||||
|
||||
class DocType:
|
||||
def __init__(self, d, dl=[]):
|
||||
|
||||
@@ -8,7 +8,6 @@ from webnotes.utils import flt, validate_email_add
|
||||
from webnotes.model.code import get_obj
|
||||
from webnotes import msgprint
|
||||
|
||||
sql = webnotes.conn.sql
|
||||
|
||||
class DocType:
|
||||
def __init__(self, doc, doclist=[]):
|
||||
|
||||
Reference in New Issue
Block a user