activity type fix and fixes in page titles
This commit is contained in:
parent
14dac24e81
commit
110ec0db67
0
projects/doctype/activity_type/__init__.py
Normal file
0
projects/doctype/activity_type/__init__.py
Normal file
22
projects/doctype/activity_type/activity_type.py
Normal file
22
projects/doctype/activity_type/activity_type.py
Normal file
@ -0,0 +1,22 @@
|
||||
# ERPNext - web based ERP (http://erpnext.com)
|
||||
# Copyright (C) 2012 Web Notes Technologies Pvt Ltd
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import unicode_literals
|
||||
import webnotes
|
||||
|
||||
class DocType:
|
||||
def __init__(self, d, dl):
|
||||
self.doc, self.doclist = d, dl
|
76
projects/doctype/activity_type/activity_type.txt
Normal file
76
projects/doctype/activity_type/activity_type.txt
Normal file
@ -0,0 +1,76 @@
|
||||
# DocType, Activity Type
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
u'creation': '2012-07-03 13:30:51',
|
||||
u'docstatus': 0,
|
||||
u'modified': '2012-11-16 12:14:21',
|
||||
u'modified_by': u'Administrator',
|
||||
u'owner': u'Administrator'
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'autoname': u'field:activity_type',
|
||||
'colour': u'White:FFF',
|
||||
u'doctype': u'DocType',
|
||||
'document_type': u'Master',
|
||||
'in_dialog': 1,
|
||||
'module': u'Projects',
|
||||
u'name': u'__common__',
|
||||
'section_style': u'Simple',
|
||||
'server_code_error': u' ',
|
||||
'version': 1
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'activity_type',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Activity Type',
|
||||
u'name': u'__common__',
|
||||
'parent': u'Activity Type',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# These values are common for all DocPerm
|
||||
{
|
||||
'create': 1,
|
||||
u'doctype': u'DocPerm',
|
||||
u'name': u'__common__',
|
||||
'parent': u'Activity Type',
|
||||
'parentfield': u'permissions',
|
||||
'parenttype': u'DocType',
|
||||
'permlevel': 0,
|
||||
'read': 1,
|
||||
'write': 1
|
||||
},
|
||||
|
||||
# DocType, Activity Type
|
||||
{
|
||||
u'doctype': u'DocType',
|
||||
u'name': u'Activity Type'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
u'doctype': u'DocField'
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
u'doctype': u'DocPerm',
|
||||
'role': u'System Manager'
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
u'doctype': u'DocPerm',
|
||||
'role': u'Projects User'
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user