mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 22:49:19 +00:00
moved directory structure
This commit is contained in:
1
setup/doctype/currency/__init__.py
Normal file
1
setup/doctype/currency/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from __future__ import unicode_literals
|
||||
3
setup/doctype/currency/currency.js
Normal file
3
setup/doctype/currency/currency.js
Normal file
@@ -0,0 +1,3 @@
|
||||
cur_frm.cscript.refresh = function(doc) {
|
||||
cur_frm.set_intro(doc.__islocal ? "" : "There is nothing to edit.")
|
||||
}
|
||||
94
setup/doctype/currency/currency.txt
Normal file
94
setup/doctype/currency/currency.txt
Normal file
@@ -0,0 +1,94 @@
|
||||
# DocType, Currency
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-07-03 13:30:55',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-07-11 16:11:45',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'allow_trash': 1,
|
||||
'autoname': u'field:currency_name',
|
||||
'colour': u'White:FFF',
|
||||
'description': u'**Currency** Master',
|
||||
'doctype': 'DocType',
|
||||
'in_create': 0,
|
||||
'module': u'Setup',
|
||||
'name': '__common__',
|
||||
'read_only': 0,
|
||||
'section_style': u'Simple',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 1
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'fieldname': u'currency_name',
|
||||
'fieldtype': u'Data',
|
||||
'label': u'Currency Name',
|
||||
'name': '__common__',
|
||||
'oldfieldname': u'currency_name',
|
||||
'oldfieldtype': u'Data',
|
||||
'parent': u'Currency',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType',
|
||||
'permlevel': 0,
|
||||
'reqd': 1
|
||||
},
|
||||
|
||||
# These values are common for all DocPerm
|
||||
{
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'name': '__common__',
|
||||
'parent': u'Currency',
|
||||
'parentfield': u'permissions',
|
||||
'parenttype': u'DocType',
|
||||
'permlevel': 0,
|
||||
'read': 1,
|
||||
'write': 1
|
||||
},
|
||||
|
||||
# DocType, Currency
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Currency'
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'cancel': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'role': u'Accounts Manager'
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'amend': 0,
|
||||
'cancel': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'role': u'Sales Master Manager',
|
||||
'submit': 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'amend': 0,
|
||||
'cancel': 0,
|
||||
'doctype': u'DocPerm',
|
||||
'role': u'Purchase Master Manager',
|
||||
'submit': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField'
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user