# -*- coding: utf-8 -*-
# Copyright (c) 2019, <NAME> and contributors
# For license information, please see license.txt

from __future__ import unicode_literals
import frappe
from frappe.model.document import Document

class SurveyForm(Document):
	def onload(self):
		customer = frappe.get_value("Customer", {"lead_name" : self.lead},['name'])
		self.customer = customer

# -*- coding: utf-8 -*-
# Copyright (c) 2019, <NAME> and contributors
# For license information, please see license.txt

from __future__ import unicode_literals
import frappe
from frappe.model.document import Document

class SurveyForm(Document):
	def onload(self):
		customer = frappe.get_value("Customer", {"lead_name" : self.lead},['name'])
		self.customer = customer

# -*- coding: utf-8 -*- # Copyright (c) 2019, <NAME> and contributors # For license information, please see license.txt