Пример #1
0
def new_bean(doctype):
	from webnotes.model.create_new import get_new_doc
	return bean([get_new_doc(doctype)])
Пример #2
0
def new_bean(doctype):
    from webnotes.model.create_new import get_new_doc
    return bean([get_new_doc(doctype)])
Пример #3
0
def new_doc(doctype, parent_doc=None, parentfield=None):
	from webnotes.model.create_new import get_new_doc
	return get_new_doc(doctype, parent_doc, parentfield)
Пример #4
0
def new_doc(doctype, parent_doc=None, parentfield=None):
    from webnotes.model.create_new import get_new_doc
    return get_new_doc(doctype, parent_doc, parentfield)