Exemplo n.º 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]])
Exemplo n.º 2
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]])
Exemplo n.º 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]])