Did I find the right examples for you? yes no

All Samples(384)  |  Call(0)  |  Derive(0)  |  Import(384)

src/e/r/erpnext-HEAD/erpnext/startup/boot.py   erpnext(Download)
 
from __future__ import unicode_literals
import frappe
 
def boot_session(bootinfo):
	"""boot session - send website info if guest"""
	import frappe
def get_letter_heads():
	import frappe
	ret = frappe.db.sql("""select name, content from `tabLetter Head` 
		where ifnull(disabled,0)=0""")
	return dict(ret)

src/e/r/erpnext-HEAD/erpnext/startup/__init__.py   erpnext(Download)
from __future__ import unicode_literals
 
import frappe
 
product_name = "ERPNext"
def get_monthly_bulk_mail_limit():
	import frappe
	# if global settings, then 500 or unlimited
	if frappe.db.get_value('Outgoing Email Settings', None, 'mail_server'):
		return 999999

src/e/r/erpnext-HEAD/erpnext/setup/doctype/company/fixtures/india/__init__.py   erpnext(Download)
from __future__ import unicode_literals
 
import frappe
 
def install(company):

src/e/r/erpnext-HEAD/erpnext/accounts/doctype/account/account.py   erpnext(Download)
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
 
from __future__ import unicode_literals
import frappe
	def update_nsm_model(self):
		"""update lft, rgt indices for nested set model"""
		import frappe
		import frappe.utils.nestedset
		frappe.utils.nestedset.update_nsm(self)

src/e/r/erpnext-HEAD/erpnext/accounts/doctype/chart_of_accounts/charts/import_from_openerp.py   erpnext(Download)
from frappe.utils.datautils import read_csv_content
from frappe.utils import cstr
import frappe
 
 

src/e/r/erpnext-HEAD/erpnext/utilities/doctype/sms_log/sms_log.py   erpnext(Download)
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
 
from __future__ import unicode_literals
import frappe

src/e/r/erpnext-HEAD/erpnext/utilities/doctype/sms_control/sms_control.py   erpnext(Download)
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
 
from __future__ import unicode_literals
import frappe, json

src/e/r/erpnext-HEAD/erpnext/utilities/doctype/rename_tool/rename_tool.py   erpnext(Download)
 
from __future__ import unicode_literals
import frappe
from frappe import _
 

src/e/r/erpnext-HEAD/erpnext/utilities/doctype/note_user/note_user.py   erpnext(Download)
 
from __future__ import unicode_literals
import frappe
 
from frappe.model.document import Document

src/e/r/erpnext-HEAD/erpnext/utilities/doctype/note/note.py   erpnext(Download)
 
from __future__ import unicode_literals
import frappe
from frappe import _
from frappe.model.document import Document

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next