소스 검색

Merge pull request #54 from anandpdoshi/master

Changed select form type list to a custom query to exclude types such as doctype, docfields etc..
version-14
Anand Doshi 13 년 전
부모
커밋
fdb27eb8be
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. +4
    -4
      py/core/doctype/doclayer/doclayer.txt

+ 4
- 4
py/core/doctype/doclayer/doclayer.txt 파일 보기

@@ -5,14 +5,14 @@
{ {
'creation': '2011-11-16 16:09:34', 'creation': '2011-11-16 16:09:34',
'docstatus': 0, 'docstatus': 0,
'modified': '2011-11-23 18:01:26',
'modified': '2011-11-24 12:59:42',
'modified_by': 'Administrator', 'modified_by': 'Administrator',
'owner': 'Administrator' 'owner': 'Administrator'
}, },


# These values are common for all DocType # These values are common for all DocType
{ {
'_last_update': '1322050979',
'_last_update': '1322119618',
'autoname': 'DL.####', 'autoname': 'DL.####',
'colour': 'White:FFF', 'colour': 'White:FFF',
'doctype': 'DocType', 'doctype': 'DocType',
@@ -23,7 +23,7 @@
'search_fields': 'doc_type', 'search_fields': 'doc_type',
'section_style': 'Simple', 'section_style': 'Simple',
'show_in_menu': 0, 'show_in_menu': 0,
'version': 74
'version': 95
}, },


# These values are common for all DocField # These values are common for all DocField
@@ -80,7 +80,7 @@
'fieldname': 'doc_type', 'fieldname': 'doc_type',
'fieldtype': 'Select', 'fieldtype': 'Select',
'label': 'Select Form Type', 'label': 'Select Form Type',
'options': 'Link:DocType',
'options': 'Link:DocType\nmodule IN ("Accounts", "Buying", "HR", "Knowledge Base", "Production", "Projects", "Selling", "Stock", "Support")\nIFNULL(issingle, 0)=0\nIFNULL(in_create, 0)=0',
'permlevel': 0 'permlevel': 0
}, },




불러오는 중...
취소
저장