mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-12 17:51:20 +00:00
remove sql =
This commit is contained in:
@@ -7,7 +7,6 @@ import webnotes
|
|||||||
from webnotes.utils import flt, fmt_money
|
from webnotes.utils import flt, fmt_money
|
||||||
from webnotes import msgprint, _
|
from webnotes import msgprint, _
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
get_value = webnotes.conn.get_value
|
get_value = webnotes.conn.get_value
|
||||||
|
|
||||||
class DocType:
|
class DocType:
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ from webnotes.model.doc import addchild
|
|||||||
from webnotes.model.bean import getlist, copy_doclist
|
from webnotes.model.bean import getlist, copy_doclist
|
||||||
from webnotes import msgprint
|
from webnotes import msgprint
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ from webnotes.utils import flt, fmt_money, getdate
|
|||||||
from webnotes.model.code import get_obj
|
from webnotes.model.code import get_obj
|
||||||
from webnotes import msgprint, _
|
from webnotes import msgprint, _
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
class DocType:
|
class DocType:
|
||||||
def __init__(self,d,dl):
|
def __init__(self,d,dl):
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ from webnotes import session, msgprint
|
|||||||
|
|
||||||
import webnotes.defaults
|
import webnotes.defaults
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
from accounts.utils import get_balance_on, get_fiscal_year
|
from accounts.utils import get_balance_on, get_fiscal_year
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ from webnotes.model.bean import copy_doclist
|
|||||||
from webnotes.model.code import get_obj
|
from webnotes.model.code import get_obj
|
||||||
from webnotes import msgprint
|
from webnotes import msgprint
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ from setup.utils import get_company_currency
|
|||||||
|
|
||||||
import webnotes.defaults
|
import webnotes.defaults
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
from controllers.buying_controller import BuyingController
|
from controllers.buying_controller import BuyingController
|
||||||
class DocType(BuyingController):
|
class DocType(BuyingController):
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ from webnotes.model import db_exists
|
|||||||
from webnotes.model.bean import copy_doclist
|
from webnotes.model.bean import copy_doclist
|
||||||
from webnotes.model.code import get_obj
|
from webnotes.model.code import get_obj
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ from webnotes import msgprint, _
|
|||||||
|
|
||||||
from buying.utils import get_last_purchase_details
|
from buying.utils import get_last_purchase_details
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
from controllers.buying_controller import BuyingController
|
from controllers.buying_controller import BuyingController
|
||||||
class DocType(BuyingController):
|
class DocType(BuyingController):
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ from webnotes.model.bean import getlist
|
|||||||
from webnotes.model.code import get_obj
|
from webnotes.model.code import get_obj
|
||||||
from webnotes import msgprint
|
from webnotes import msgprint
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
from controllers.buying_controller import BuyingController
|
from controllers.buying_controller import BuyingController
|
||||||
class DocType(BuyingController):
|
class DocType(BuyingController):
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ from webnotes.utils import cint
|
|||||||
from webnotes import msgprint, _
|
from webnotes import msgprint, _
|
||||||
from webnotes.model.doc import make_autoname
|
from webnotes.model.doc import make_autoname
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
from utilities.transaction_base import TransactionBase
|
from utilities.transaction_base import TransactionBase
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ import webnotes
|
|||||||
from webnotes.model import db_exists
|
from webnotes.model import db_exists
|
||||||
from webnotes.model.bean import copy_doclist
|
from webnotes.model.bean import copy_doclist
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ import webnotes
|
|||||||
from webnotes.utils import getdate, nowdate
|
from webnotes.utils import getdate, nowdate
|
||||||
from webnotes import msgprint, _
|
from webnotes import msgprint, _
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
class DocType:
|
class DocType:
|
||||||
def __init__(self, doc, doclist=[]):
|
def __init__(self, doc, doclist=[]):
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ from webnotes.utils import getdate, validate_email_add, cstr
|
|||||||
from webnotes.model.doc import make_autoname
|
from webnotes.model.doc import make_autoname
|
||||||
from webnotes import msgprint, _
|
from webnotes import msgprint, _
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
class DocType:
|
class DocType:
|
||||||
def __init__(self,doc,doclist=[]):
|
def __init__(self,doc,doclist=[]):
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ from webnotes.model.doc import addchild, make_autoname
|
|||||||
from webnotes.model.bean import copy_doclist
|
from webnotes.model.bean import copy_doclist
|
||||||
from webnotes import msgprint
|
from webnotes import msgprint
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ from __future__ import unicode_literals
|
|||||||
import webnotes
|
import webnotes
|
||||||
from webnotes.utils import cint, flt
|
from webnotes.utils import cint, flt
|
||||||
from webnotes import msgprint
|
from webnotes import msgprint
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
class DocType:
|
class DocType:
|
||||||
def __init__(self, doc, doclist):
|
def __init__(self, doc, doclist):
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ from webnotes.model.doc import Document
|
|||||||
from webnotes.model.code import get_obj
|
from webnotes.model.code import get_obj
|
||||||
from webnotes import msgprint
|
from webnotes import msgprint
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ from webnotes.model.bean import getlist, copy_doclist
|
|||||||
from webnotes.model.code import get_obj
|
from webnotes.model.code import get_obj
|
||||||
from webnotes import msgprint
|
from webnotes import msgprint
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ from webnotes.model.code import get_obj
|
|||||||
from webnotes import msgprint, _
|
from webnotes import msgprint, _
|
||||||
from setup.utils import get_company_currency
|
from setup.utils import get_company_currency
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
from utilities.transaction_base import TransactionBase
|
from utilities.transaction_base import TransactionBase
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ from webnotes.utils import cstr, flt
|
|||||||
from webnotes.model.doc import addchild, make_autoname
|
from webnotes.model.doc import addchild, make_autoname
|
||||||
from webnotes import msgprint, _
|
from webnotes import msgprint, _
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
class DocType:
|
class DocType:
|
||||||
def __init__(self,doc,doclist=[]):
|
def __init__(self,doc,doclist=[]):
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ from webnotes.model.bean import getlist
|
|||||||
from webnotes.model.code import get_obj
|
from webnotes.model.code import get_obj
|
||||||
from webnotes import msgprint, _
|
from webnotes import msgprint, _
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
|
|
||||||
class DocType:
|
class DocType:
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ from webnotes.utils import cstr, flt, nowdate
|
|||||||
from webnotes.model.code import get_obj
|
from webnotes.model.code import get_obj
|
||||||
from webnotes import msgprint, _
|
from webnotes import msgprint, _
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
class OverProductionError(webnotes.ValidationError): pass
|
class OverProductionError(webnotes.ValidationError): pass
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ from webnotes.model.bean import getlist
|
|||||||
from webnotes.model.code import get_obj
|
from webnotes.model.code import get_obj
|
||||||
from webnotes import msgprint, _
|
from webnotes import msgprint, _
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
class DocType:
|
class DocType:
|
||||||
def __init__(self, doc, doclist=[]):
|
def __init__(self, doc, doclist=[]):
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ from webnotes.utils import flt
|
|||||||
from webnotes.model import db_exists
|
from webnotes.model import db_exists
|
||||||
from webnotes.model.bean import copy_doclist
|
from webnotes.model.bean import copy_doclist
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ from webnotes.model import db_exists
|
|||||||
from webnotes.model.bean import copy_doclist
|
from webnotes.model.bean import copy_doclist
|
||||||
from webnotes import msgprint
|
from webnotes import msgprint
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
class DocType:
|
class DocType:
|
||||||
def __init__(self,doc,doclist=[]):
|
def __init__(self,doc,doclist=[]):
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ from webnotes.model.doc import Document, make_autoname
|
|||||||
from webnotes import msgprint, _
|
from webnotes import msgprint, _
|
||||||
import webnotes.defaults
|
import webnotes.defaults
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
from utilities.transaction_base import TransactionBase
|
from utilities.transaction_base import TransactionBase
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ from webnotes import _
|
|||||||
from webnotes.utils import cstr, validate_email_add, cint, extract_email_id
|
from webnotes.utils import cstr, validate_email_add, cint, extract_email_id
|
||||||
from webnotes import session, msgprint
|
from webnotes import session, msgprint
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
from controllers.selling_controller import SellingController
|
from controllers.selling_controller import SellingController
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ from webnotes.utils import cstr, getdate, cint
|
|||||||
from webnotes.model.bean import getlist
|
from webnotes.model.bean import getlist
|
||||||
from webnotes import msgprint
|
from webnotes import msgprint
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
from utilities.transaction_base import TransactionBase
|
from utilities.transaction_base import TransactionBase
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ from webnotes.model.bean import getlist
|
|||||||
from webnotes.model.code import get_obj
|
from webnotes.model.code import get_obj
|
||||||
from webnotes import _, msgprint
|
from webnotes import _, msgprint
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
|
|
||||||
from controllers.selling_controller import SellingController
|
from controllers.selling_controller import SellingController
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ from webnotes.model.code import get_obj
|
|||||||
from webnotes import msgprint
|
from webnotes import msgprint
|
||||||
from webnotes.model.mapper import get_mapped_doclist
|
from webnotes.model.mapper import get_mapped_doclist
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
|
|
||||||
from controllers.selling_controller import SellingController
|
from controllers.selling_controller import SellingController
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ from webnotes.model.bean import copy_doclist
|
|||||||
from webnotes.model.code import get_obj
|
from webnotes.model.code import get_obj
|
||||||
from webnotes import msgprint
|
from webnotes import msgprint
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
# ----------
|
# ----------
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ from webnotes.model.bean import getlist
|
|||||||
from webnotes import session, msgprint
|
from webnotes import session, msgprint
|
||||||
from setup.utils import get_company_currency
|
from setup.utils import get_company_currency
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
from utilities.transaction_base import TransactionBase
|
from utilities.transaction_base import TransactionBase
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ from webnotes.model import db_exists
|
|||||||
from webnotes.model.bean import copy_doclist
|
from webnotes.model.bean import copy_doclist
|
||||||
from webnotes import msgprint
|
from webnotes import msgprint
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ from webnotes.model.doc import Document
|
|||||||
from webnotes.model.code import get_obj
|
from webnotes.model.code import get_obj
|
||||||
import webnotes.defaults
|
import webnotes.defaults
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
class DocType:
|
class DocType:
|
||||||
def __init__(self,d,dl):
|
def __init__(self,d,dl):
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ from __future__ import unicode_literals
|
|||||||
import webnotes
|
import webnotes
|
||||||
from webnotes import msgprint
|
from webnotes import msgprint
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
from webnotes.utils.nestedset import DocTypeNestedSet
|
from webnotes.utils.nestedset import DocTypeNestedSet
|
||||||
class DocType(DocTypeNestedSet):
|
class DocType(DocTypeNestedSet):
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
import webnotes
|
import webnotes
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
from webnotes.utils import cint
|
from webnotes.utils import cint
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ from webnotes.utils import cstr
|
|||||||
from webnotes import msgprint
|
from webnotes import msgprint
|
||||||
import webnotes.model.doctype
|
import webnotes.model.doctype
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
class DocType:
|
class DocType:
|
||||||
def __init__(self, d, dl):
|
def __init__(self, d, dl):
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ import webnotes
|
|||||||
|
|
||||||
from webnotes import msgprint
|
from webnotes import msgprint
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
class DocType:
|
class DocType:
|
||||||
def __init__(self,d,dl):
|
def __init__(self,d,dl):
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ import webnotes
|
|||||||
from webnotes.model import db_exists
|
from webnotes.model import db_exists
|
||||||
from webnotes.model.bean import copy_doclist
|
from webnotes.model.bean import copy_doclist
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ from __future__ import unicode_literals
|
|||||||
import webnotes
|
import webnotes
|
||||||
from webnotes.utils import cint, cstr, filter_strip_join
|
from webnotes.utils import cint, cstr, filter_strip_join
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
class DocType:
|
class DocType:
|
||||||
def __init__(self, doc, doclist=None):
|
def __init__(self, doc, doclist=None):
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ from __future__ import unicode_literals
|
|||||||
import webnotes
|
import webnotes
|
||||||
from webnotes.utils import add_days, cint,flt, nowdate, get_url_to_form, formatdate
|
from webnotes.utils import add_days, cint,flt, nowdate, get_url_to_form, formatdate
|
||||||
from webnotes import msgprint, _
|
from webnotes import msgprint, _
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
import webnotes.defaults
|
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
|
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.model.code import get_obj
|
||||||
from webnotes import msgprint
|
from webnotes import msgprint
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
|
|
||||||
class DocType:
|
class DocType:
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ from webnotes.model.code import get_obj
|
|||||||
from webnotes import msgprint
|
from webnotes import msgprint
|
||||||
import webnotes.defaults
|
import webnotes.defaults
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
from controllers.buying_controller import BuyingController
|
from controllers.buying_controller import BuyingController
|
||||||
class DocType(BuyingController):
|
class DocType(BuyingController):
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ from stock.stock_ledger import get_previous_sle
|
|||||||
from controllers.queries import get_match_cond
|
from controllers.queries import get_match_cond
|
||||||
import json
|
import json
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
class NotUpdateStockError(webnotes.ValidationError): pass
|
class NotUpdateStockError(webnotes.ValidationError): pass
|
||||||
class StockOverReturnError(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 webnotes import session, msgprint
|
||||||
from stock.utils import get_valid_serial_nos
|
from stock.utils import get_valid_serial_nos
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
class DocType:
|
class DocType:
|
||||||
def __init__(self, doc, doclist=[]):
|
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.model.code import get_obj
|
||||||
from webnotes import msgprint, _
|
from webnotes import msgprint, _
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
class DocType:
|
class DocType:
|
||||||
def __init__(self, d, dl=[]):
|
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.model.code import get_obj
|
||||||
from webnotes import msgprint
|
from webnotes import msgprint
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
class DocType:
|
class DocType:
|
||||||
def __init__(self, doc, doclist=[]):
|
def __init__(self, doc, doclist=[]):
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ import webnotes
|
|||||||
from webnotes import session, msgprint
|
from webnotes import session, msgprint
|
||||||
from webnotes.utils import today
|
from webnotes.utils import today
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
|
|
||||||
from utilities.transaction_base import TransactionBase
|
from utilities.transaction_base import TransactionBase
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ from webnotes.model.doc import addchild
|
|||||||
from webnotes.model.bean import getlist
|
from webnotes.model.bean import getlist
|
||||||
from webnotes import msgprint
|
from webnotes import msgprint
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
|
|
||||||
from utilities.transaction_base import TransactionBase, delete_events
|
from utilities.transaction_base import TransactionBase, delete_events
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ from webnotes.utils import cstr
|
|||||||
from webnotes.model.bean import getlist
|
from webnotes.model.bean import getlist
|
||||||
from webnotes import msgprint
|
from webnotes import msgprint
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
|
|
||||||
from utilities.transaction_base import TransactionBase
|
from utilities.transaction_base import TransactionBase
|
||||||
|
|||||||
@@ -10,8 +10,6 @@ from webnotes.model.doc import Document
|
|||||||
from webnotes import msgprint
|
from webnotes import msgprint
|
||||||
from webnotes.model.bean import getlist, copy_doclist
|
from webnotes.model.bean import getlist, copy_doclist
|
||||||
|
|
||||||
sql = webnotes.conn.sql
|
|
||||||
|
|
||||||
class DocType:
|
class DocType:
|
||||||
def __init__(self, doc, doclist=[]):
|
def __init__(self, doc, doclist=[]):
|
||||||
self.doc = doc
|
self.doc = doc
|
||||||
@@ -119,4 +117,4 @@ class DocType:
|
|||||||
sl.message = arg['message']
|
sl.message = arg['message']
|
||||||
sl.no_of_requested_sms = len(arg['receiver_list'])
|
sl.no_of_requested_sms = len(arg['receiver_list'])
|
||||||
sl.no_of_sent_sms = sent_sms
|
sl.no_of_sent_sms = sent_sms
|
||||||
sl.save(new=1)
|
sl.save(new=1)
|
||||||
|
|||||||
Reference in New Issue
Block a user