Version 6.x.x Source

frappe.modules.utils.commonify_doclist (doclist, with_comments=1)

Makes a doclist more readable by extracting common properties. This is used for printing Documents in files


frappe.modules.utils.listfolders (path, only_name=0)

Returns the list of folders (with paths) in the given path, If only_name is set, it returns only the folder names


frappe.modules.utils.peval_doclist (txt)

No docs


frappe.modules.utils.pprint_doclist (doclist, with_comments=1)

No docs


frappe.modules.utils.switch_module (dt, dn, to, frm=None, export=None)

Change the module of the given doctype, if export is true, then also export txt and copy code files from src


frappe.modules.utils.uncommonify_doclist (dl)

Expands an commonified doclist