Merge pull request #150 from anandpdoshi/master
Modified Patch to create a DocType Label entry for DocLayer
This commit is contained in:
commit
2dd7863b1d
@ -7,3 +7,10 @@ def execute():
|
|||||||
reload_doc('core', 'doctype', 'doclayer')
|
reload_doc('core', 'doctype', 'doclayer')
|
||||||
reload_doc('core', 'doctype', 'doclayerfield')
|
reload_doc('core', 'doctype', 'doclayerfield')
|
||||||
reload_doc('accounts', 'doctype', 'gl_entry')
|
reload_doc('accounts', 'doctype', 'gl_entry')
|
||||||
|
from webnotes.model.doc import Document
|
||||||
|
d = Document('DocType Label')
|
||||||
|
d.dt = "DocLayer"
|
||||||
|
d.dt_label = "Customize Form View"
|
||||||
|
d.save(1)
|
||||||
|
from webnotes.session_cache import clear
|
||||||
|
clear()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user