Example #1
0
	def import_doc(self):
		from frappe.modules.import_module import import_from_files
		import_from_files(record_list=[[self.module, 'doctype', self.name]])
 def import_doc(self):
     """Import from standard folder `[module]/doctype/[name]/[name].json`."""
     from frappe.modules.import_module import import_from_files
     import_from_files(record_list=[[self.module, 'doctype', self.name]])
Example #3
0
	def import_doc(self):
		"""Import from standard folder `[module]/doctype/[name]/[name].json`."""
		from frappe.modules.import_module import import_from_files
		import_from_files(record_list=[[self.module, 'doctype', self.name]])