Merge branch 'master' of github.com:webnotes/wnframework
This commit is contained in:
commit
a1382ddbd7
1 changed files with 2 additions and 1 deletions
|
|
@ -10,7 +10,8 @@ import webnotes.defaults
|
|||
def get_new_doc(doctype, parent_doc = None, parentfield = None):
|
||||
doc = webnotes.doc({
|
||||
"doctype": doctype,
|
||||
"__islocal": 1
|
||||
"__islocal": 1,
|
||||
"owner": webnotes.session.user
|
||||
})
|
||||
|
||||
meta = webnotes.get_doctype(doctype)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue