Exemple #1
0
 def onload(self):
     """Load address in `__onload`"""
     load_address_and_contact(self, "patient_record")
     self.load_dashboard_info()
 def onload(self):
     customer = frappe.db.get_value("Customer", {"lead_name": self.name})
     self.get("__onload").is_customer = customer
     load_address_and_contact(self, "lead")
 def onload(self):
     """Load address and contacts in `__onload`"""
     load_address_and_contact(self, "supplier")
     self.load_dashboard_info()
Exemple #4
0
	def onload(self):
		"""Load address and contacts in `__onload`"""
		load_address_and_contact(self, "sales_partner")
Exemple #5
0
	def onload(self):
		"""Load address and contacts in `__onload`"""
		load_address_and_contact(self, "supplier")
		self.load_dashboard_info()
Exemple #6
0
 def onload(self):
     load_address_and_contact(self, "company")
     self.get("__onload"
              )["transactions_exist"] = self.check_if_transactions_exist()
Exemple #7
0
	def onload(self):
		customer = frappe.db.get_value("Customer", {"lead_name": self.name})
		self.get("__onload").is_customer = customer
		load_address_and_contact(self, "lead")