Merge branch 'master' of github.com:webnotes/erpnext

This commit is contained in:
Rushabh Mehta
2012-12-20 17:12:59 +05:30
542 changed files with 27572 additions and 39784 deletions

View File

@@ -1,30 +1,23 @@
# DocType, Authorization Control
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:18',
'docstatus': 0,
'modified': '2012-03-27 14:36:18',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'colour': u'White:FFF',
'doctype': 'DocType',
'issingle': 1,
'module': u'Setup',
'name': '__common__',
'section_style': u'Tabbed',
'server_code_error': u' ',
'version': 216
},
# DocType, Authorization Control
{
'doctype': 'DocType',
'name': u'Authorization Control'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:18",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:18"
},
{
"section_style": "Tabbed",
"name": "__common__",
"colour": "White:FFF",
"module": "Setup",
"doctype": "DocType",
"version": 216,
"server_code_error": " ",
"issingle": 1
},
{
"name": "Authorization Control",
"doctype": "DocType"
}
]

View File

@@ -2,9 +2,9 @@
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-07-03 13:30:00",
"creation": "2012-12-14 14:27:06",
"modified_by": "Administrator",
"modified": "2012-12-12 10:42:42"
"modified": "2012-12-17 17:59:54"
},
{
"autoname": "AR.####",
@@ -58,7 +58,7 @@
"fieldname": "transaction",
"fieldtype": "Select",
"reqd": 1,
"options": "\nDelivery Note\nPurchase Invoice\nPurchase Order\nPurchase Receipt\nQuotation\nSales Invoice\nSales Order\nStock Entry\nAppraisal"
"options": "\nDelivery Note\nPurchase Invoice\nPurchase Order\nPurchase Receipt\nQuotation\nSales Invoice\nSales Order\nAppraisal"
},
{
"oldfieldtype": "Select",

View File

@@ -1,155 +1,126 @@
# DocType, Brand
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:19',
'docstatus': 0,
'modified': '2012-03-27 14:36:19',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'allow_trash': 1,
'autoname': u'field:brand',
'colour': u'White:FFF',
'doctype': 'DocType',
'document_type': u'Master',
'module': u'Setup',
'name': '__common__',
'section_style': u'Simple',
'server_code_error': u' ',
'show_in_menu': 0,
'version': 5
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Brand',
'parentfield': u'fields',
'parenttype': u'DocType'
},
# These values are common for all DocPerm
{
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'Brand',
'parentfield': u'permissions',
'parenttype': u'DocType',
'read': 1
},
# DocType, Brand
{
'doctype': 'DocType',
'name': u'Brand'
},
# DocPerm
{
'cancel': 1,
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'System Manager',
'write': 1
},
# DocPerm
{
'cancel': 1,
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Material Master Manager',
'write': 1
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Material Manager',
'submit': 0,
'write': 0
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Material Manager',
'submit': 0,
'write': 0
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Material User',
'submit': 0,
'write': 0
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Material User',
'submit': 0,
'write': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'trash_reason',
'fieldtype': u'Small Text',
'label': u'Trash Reason',
'oldfieldname': u'trash_reason',
'oldfieldtype': u'Small Text',
'permlevel': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'brand',
'fieldtype': u'Data',
'label': u'Brand Name',
'oldfieldname': u'brand',
'oldfieldtype': u'Data',
'permlevel': 0,
'reqd': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'description',
'fieldtype': u'Text',
'label': u'Description',
'oldfieldname': u'description',
'oldfieldtype': u'Text',
'permlevel': 0,
'width': u'300px'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:19",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:19"
},
{
"section_style": "Simple",
"module": "Setup",
"server_code_error": " ",
"allow_trash": 1,
"doctype": "DocType",
"autoname": "field:brand",
"document_type": "Master",
"name": "__common__",
"colour": "White:FFF",
"show_in_menu": 0,
"version": 5
},
{
"name": "__common__",
"parent": "Brand",
"doctype": "DocField",
"parenttype": "DocType",
"parentfield": "fields"
},
{
"name": "__common__",
"parent": "Brand",
"read": 1,
"doctype": "DocPerm",
"parenttype": "DocType",
"parentfield": "permissions"
},
{
"name": "Brand",
"doctype": "DocType"
},
{
"create": 1,
"doctype": "DocPerm",
"write": 1,
"role": "System Manager",
"cancel": 1,
"permlevel": 0
},
{
"create": 1,
"doctype": "DocPerm",
"write": 1,
"role": "Material Master Manager",
"cancel": 1,
"permlevel": 0
},
{
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Material Manager",
"cancel": 0,
"permlevel": 1
},
{
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Material Manager",
"cancel": 0,
"permlevel": 0
},
{
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Material User",
"cancel": 0,
"permlevel": 1
},
{
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Material User",
"cancel": 0,
"permlevel": 0
},
{
"oldfieldtype": "Small Text",
"doctype": "DocField",
"label": "Trash Reason",
"oldfieldname": "trash_reason",
"fieldname": "trash_reason",
"fieldtype": "Small Text",
"permlevel": 1
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Brand Name",
"oldfieldname": "brand",
"fieldname": "brand",
"fieldtype": "Data",
"reqd": 1,
"permlevel": 0
},
{
"oldfieldtype": "Text",
"doctype": "DocField",
"label": "Description",
"oldfieldname": "description",
"width": "300px",
"fieldname": "description",
"fieldtype": "Text",
"permlevel": 0
}
]

View File

@@ -1,84 +1,65 @@
# DocType, Contact Control
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:19',
'docstatus': 0,
'modified': '2012-03-27 14:36:19',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'colour': u'White:FFF',
'doctype': 'DocType',
'in_create': 1,
'issingle': 1,
'module': u'Setup',
'name': '__common__',
'read_only': 1,
'section_style': u'Simple',
'server_code_error': u' ',
'show_in_menu': 0,
'version': 25
},
# These values are common for all DocField
{
'doctype': u'DocField',
'fieldtype': u'Text',
'name': '__common__',
'parent': u'Contact Control',
'parentfield': u'fields',
'parenttype': u'DocType',
'permlevel': 0
},
# These values are common for all DocPerm
{
'create': 0,
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'Contact Control',
'parentfield': u'permissions',
'parenttype': u'DocType',
'permlevel': 0,
'read': 1,
'role': u'System Manager',
'write': 1
},
# DocType, Contact Control
{
'doctype': 'DocType',
'name': u'Contact Control'
},
# DocPerm
{
'doctype': u'DocPerm'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'header',
'label': u'Header'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'customer_intro',
'label': u'Customer Intro'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'supplier_intro',
'label': u'Supplier Intro'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:19",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:19"
},
{
"section_style": "Simple",
"in_create": 1,
"module": "Setup",
"doctype": "DocType",
"server_code_error": " ",
"issingle": 1,
"read_only": 1,
"name": "__common__",
"colour": "White:FFF",
"show_in_menu": 0,
"version": 25
},
{
"name": "__common__",
"parent": "Contact Control",
"doctype": "DocField",
"parenttype": "DocType",
"fieldtype": "Text",
"permlevel": 0,
"parentfield": "fields"
},
{
"parent": "Contact Control",
"read": 1,
"name": "__common__",
"create": 0,
"doctype": "DocPerm",
"write": 1,
"parenttype": "DocType",
"role": "System Manager",
"permlevel": 0,
"parentfield": "permissions"
},
{
"name": "Contact Control",
"doctype": "DocType"
},
{
"doctype": "DocPerm"
},
{
"fieldname": "header",
"doctype": "DocField",
"label": "Header"
},
{
"fieldname": "customer_intro",
"doctype": "DocField",
"label": "Customer Intro"
},
{
"fieldname": "supplier_intro",
"doctype": "DocField",
"label": "Supplier Intro"
}
]

View File

@@ -1,95 +1,74 @@
# DocType, Country
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:19',
'docstatus': 0,
'modified': '2012-03-27 14:36:19',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'autoname': u'field:country_name',
'colour': u'White:FFF',
'doctype': 'DocType',
'document_type': u'Master',
'in_create': 0,
'module': u'Setup',
'name': '__common__',
'read_only': 0,
'section_style': u'Simple',
'server_code_error': u' ',
'show_in_menu': 0,
'version': 11
},
# These values are common for all DocField
{
'doctype': u'DocField',
'fieldname': u'country_name',
'fieldtype': u'Data',
'label': u'Country Name',
'name': '__common__',
'oldfieldname': u'country_name',
'oldfieldtype': u'Data',
'parent': u'Country',
'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'Country',
'parentfield': u'permissions',
'parenttype': u'DocType',
'permlevel': 0,
'read': 1,
'write': 1
},
# DocType, Country
{
'doctype': 'DocType',
'name': u'Country'
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'doctype': u'DocPerm',
'role': u'Sales Master Manager',
'submit': 0
},
# DocPerm
{
'doctype': u'DocPerm',
'role': u'Purchase Master Manager'
},
# DocPerm
{
'doctype': u'DocPerm',
'role': u'HR User'
},
# DocPerm
{
'doctype': u'DocPerm',
'role': u'HR Manager'
},
# DocField
{
'doctype': u'DocField'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:19",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:19"
},
{
"section_style": "Simple",
"in_create": 0,
"module": "Setup",
"server_code_error": " ",
"document_type": "Master",
"read_only": 0,
"autoname": "field:country_name",
"name": "__common__",
"colour": "White:FFF",
"doctype": "DocType",
"show_in_menu": 0,
"version": 11
},
{
"parent": "Country",
"oldfieldtype": "Data",
"oldfieldname": "country_name",
"reqd": 1,
"name": "__common__",
"doctype": "DocField",
"label": "Country Name",
"parenttype": "DocType",
"fieldname": "country_name",
"fieldtype": "Data",
"permlevel": 0,
"parentfield": "fields"
},
{
"name": "__common__",
"parent": "Country",
"read": 1,
"create": 1,
"doctype": "DocPerm",
"write": 1,
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "permissions"
},
{
"name": "Country",
"doctype": "DocType"
},
{
"amend": 0,
"cancel": 0,
"role": "Sales Master Manager",
"doctype": "DocPerm",
"submit": 0
},
{
"role": "Purchase Master Manager",
"doctype": "DocPerm"
},
{
"role": "HR User",
"doctype": "DocPerm"
},
{
"role": "HR Manager",
"doctype": "DocPerm"
},
{
"doctype": "DocField"
}
]

View File

@@ -1,94 +1,75 @@
# 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'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-07-03 13:30:55",
"modified_by": "Administrator",
"modified": "2012-07-11 16:11:45"
},
{
"section_style": "Simple",
"description": "**Currency** Master",
"module": "Setup",
"allow_trash": 1,
"server_code_error": " ",
"in_create": 0,
"read_only": 0,
"autoname": "field:currency_name",
"name": "__common__",
"colour": "White:FFF",
"doctype": "DocType",
"show_in_menu": 0,
"version": 1
},
{
"parent": "Currency",
"oldfieldtype": "Data",
"oldfieldname": "currency_name",
"reqd": 1,
"name": "__common__",
"doctype": "DocField",
"label": "Currency Name",
"parenttype": "DocType",
"fieldname": "currency_name",
"fieldtype": "Data",
"permlevel": 0,
"parentfield": "fields"
},
{
"name": "__common__",
"parent": "Currency",
"read": 1,
"create": 1,
"doctype": "DocPerm",
"write": 1,
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "permissions"
},
{
"name": "Currency",
"doctype": "DocType"
},
{
"cancel": 1,
"role": "Accounts Manager",
"doctype": "DocPerm"
},
{
"amend": 0,
"cancel": 1,
"role": "Sales Master Manager",
"doctype": "DocPerm",
"submit": 0
},
{
"amend": 0,
"cancel": 0,
"role": "Purchase Master Manager",
"doctype": "DocPerm",
"submit": 0
},
{
"doctype": "DocField"
}
]

View File

@@ -1,374 +1,293 @@
# DocType, Email Digest
[
# These values are common in all dictionaries
{
u'creation': '2012-09-18 10:50:53',
u'docstatus': 0,
u'modified': '2012-11-13 15:10:35',
u'modified_by': u'Administrator',
u'owner': u'Administrator'
},
# These values are common for all DocType
{
'_last_update': u'1324556758',
'autoname': u'Prompt',
'colour': u'White:FFF',
'description': u'Send regular summary reports via Email.',
u'doctype': u'DocType',
'document_type': u'System',
'module': u'Setup',
u'name': u'__common__',
'section_style': u'Simple',
'show_in_menu': 0,
'version': 1
},
# These values are common for all DocField
{
u'doctype': u'DocField',
u'name': u'__common__',
'parent': u'Email Digest',
'parentfield': u'fields',
'parenttype': u'DocType'
},
# These values are common for all DocPerm
{
u'doctype': u'DocPerm',
u'name': u'__common__',
'parent': u'Email Digest',
'parentfield': u'permissions',
'parenttype': u'DocType',
'read': 1,
'role': u'System Manager'
},
# DocType, Email Digest
{
u'doctype': u'DocType',
u'name': u'Email Digest'
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'settings',
'fieldtype': u'Section Break',
'label': u'Email Digest Settings',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'column_break0',
'fieldtype': u'Column Break',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'enabled',
'fieldtype': u'Check',
'label': u'Enabled',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'company',
'fieldtype': u'Select',
'label': u'For Company',
'options': u'link:Company',
'permlevel': 0,
'reqd': 1
},
# DocField
{
'allow_on_submit': 0,
u'doctype': u'DocField',
'fieldname': u'frequency',
'fieldtype': u'Select',
'label': u'How frequently?',
'options': u'Daily\nWeekly\nMonthly',
'permlevel': 0,
'reqd': 1
},
# DocField
{
'depends_on': u'eval:doc.enabled',
u'doctype': u'DocField',
'fieldname': u'next_send',
'fieldtype': u'Data',
'label': u'Next email will be sent on:',
'permlevel': 1
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'column_break1',
'fieldtype': u'Column Break',
'permlevel': 0
},
# DocField
{
'description': u'Note: Email will not be sent to disabled users',
u'doctype': u'DocField',
'fieldname': u'recipient_list',
'fieldtype': u'Text',
'label': u'Recipients',
'permlevel': 1,
'reqd': 1
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'addremove_recipients',
'fieldtype': u'Button',
'label': u'Add/Remove Recipients',
'permlevel': 0,
'trigger': u'Client'
},
# DocField
{
'colour': u'White:FFF',
'description': u'Check all the items below that you want to send in this digest.',
u'doctype': u'DocField',
'fieldname': u'select_digest_content',
'fieldtype': u'Section Break',
'label': u'Select Digest Content',
'permlevel': 0
},
# DocField
{
'colour': u'White:FFF',
u'doctype': u'DocField',
'fieldname': u'new_leads',
'fieldtype': u'Check',
'label': u'New Leads',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'new_enquiries',
'fieldtype': u'Check',
'label': u'New Enquiries',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'new_quotations',
'fieldtype': u'Check',
'label': u'New Quotations',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'new_sales_orders',
'fieldtype': u'Check',
'label': u'New Sales Orders',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'new_delivery_notes',
'fieldtype': u'Check',
'label': u'New Delivery Notes',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'new_purchase_requests',
'fieldtype': u'Check',
'label': u'New Purchase Requests',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'new_supplier_quotations',
'fieldtype': u'Check',
'label': u'New Supplier Quotations',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'new_purchase_orders',
'fieldtype': u'Check',
'label': u'New Purchase Orders',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'new_purchase_receipts',
'fieldtype': u'Check',
'label': u'New Purchase Receipts',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'new_stock_entries',
'fieldtype': u'Check',
'label': u'New Stock Entries',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'new_support_tickets',
'fieldtype': u'Check',
'label': u'New Support Tickets',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'new_communications',
'fieldtype': u'Check',
'label': u'New Communications',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'new_projects',
'fieldtype': u'Check',
'label': u'New Projects',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'open_tickets',
'fieldtype': u'Check',
'label': u'Open Tickets',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'cb1',
'fieldtype': u'Column Break',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'income_year_to_date',
'fieldtype': u'Check',
'label': u'Income Year to Date',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'bank_balance',
'fieldtype': u'Check',
'label': u'Bank Balance',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'income',
'fieldtype': u'Check',
'label': u'Income',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'expenses_booked',
'fieldtype': u'Check',
'label': u'Expenses Booked',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'collections',
'fieldtype': u'Check',
'label': u'Collections',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'payments',
'fieldtype': u'Check',
'label': u'Payments',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'invoiced_amount',
'fieldtype': u'Check',
'label': u'Receivables',
'permlevel': 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'payables',
'fieldtype': u'Check',
'label': u'Payables',
'permlevel': 0
},
# DocPerm
{
'cancel': 1,
'create': 1,
u'doctype': u'DocPerm',
'permlevel': 0,
'write': 1
},
# DocPerm
{
u'doctype': u'DocPerm',
'permlevel': 1
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-09-18 10:50:53",
"modified_by": "Administrator",
"modified": "2012-11-13 15:10:35"
},
{
"section_style": "Simple",
"description": "Send regular summary reports via Email.",
"module": "Setup",
"doctype": "DocType",
"autoname": "Prompt",
"document_type": "System",
"name": "__common__",
"colour": "White:FFF",
"_last_update": "1324556758",
"show_in_menu": 0,
"version": 1
},
{
"name": "__common__",
"parent": "Email Digest",
"doctype": "DocField",
"parenttype": "DocType",
"parentfield": "fields"
},
{
"name": "__common__",
"parent": "Email Digest",
"read": 1,
"doctype": "DocPerm",
"parenttype": "DocType",
"role": "System Manager",
"parentfield": "permissions"
},
{
"name": "Email Digest",
"doctype": "DocType"
},
{
"doctype": "DocField",
"label": "Email Digest Settings",
"fieldname": "settings",
"fieldtype": "Section Break",
"permlevel": 0
},
{
"doctype": "DocField",
"fieldname": "column_break0",
"fieldtype": "Column Break",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Enabled",
"fieldname": "enabled",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "For Company",
"options": "link:Company",
"fieldname": "company",
"fieldtype": "Select",
"reqd": 1,
"permlevel": 0
},
{
"allow_on_submit": 0,
"doctype": "DocField",
"label": "How frequently?",
"permlevel": 0,
"fieldname": "frequency",
"fieldtype": "Select",
"reqd": 1,
"options": "Daily\nWeekly\nMonthly"
},
{
"depends_on": "eval:doc.enabled",
"doctype": "DocField",
"label": "Next email will be sent on:",
"fieldname": "next_send",
"fieldtype": "Data",
"permlevel": 1
},
{
"doctype": "DocField",
"fieldname": "column_break1",
"fieldtype": "Column Break",
"permlevel": 0
},
{
"description": "Note: Email will not be sent to disabled users",
"doctype": "DocField",
"label": "Recipients",
"fieldname": "recipient_list",
"fieldtype": "Text",
"reqd": 1,
"permlevel": 1
},
{
"doctype": "DocField",
"label": "Add/Remove Recipients",
"trigger": "Client",
"fieldname": "addremove_recipients",
"fieldtype": "Button",
"permlevel": 0
},
{
"description": "Check all the items below that you want to send in this digest.",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Select Digest Content",
"fieldname": "select_digest_content",
"fieldtype": "Section Break",
"permlevel": 0
},
{
"colour": "White:FFF",
"doctype": "DocField",
"label": "New Leads",
"fieldname": "new_leads",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "New Enquiries",
"fieldname": "new_enquiries",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "New Quotations",
"fieldname": "new_quotations",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "New Sales Orders",
"fieldname": "new_sales_orders",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "New Delivery Notes",
"fieldname": "new_delivery_notes",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "New Purchase Requests",
"fieldname": "new_purchase_requests",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "New Supplier Quotations",
"fieldname": "new_supplier_quotations",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "New Purchase Orders",
"fieldname": "new_purchase_orders",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "New Purchase Receipts",
"fieldname": "new_purchase_receipts",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "New Stock Entries",
"fieldname": "new_stock_entries",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "New Support Tickets",
"fieldname": "new_support_tickets",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "New Communications",
"fieldname": "new_communications",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "New Projects",
"fieldname": "new_projects",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Open Tickets",
"fieldname": "open_tickets",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"fieldname": "cb1",
"fieldtype": "Column Break",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Income Year to Date",
"fieldname": "income_year_to_date",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Bank Balance",
"fieldname": "bank_balance",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Income",
"fieldname": "income",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Expenses Booked",
"fieldname": "expenses_booked",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Collections",
"fieldname": "collections",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Payments",
"fieldname": "payments",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Receivables",
"fieldname": "invoiced_amount",
"fieldtype": "Check",
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Payables",
"fieldname": "payables",
"fieldtype": "Check",
"permlevel": 0
},
{
"create": 1,
"doctype": "DocPerm",
"write": 1,
"cancel": 1,
"permlevel": 0
},
{
"permlevel": 1,
"doctype": "DocPerm"
}
]

View File

@@ -1,253 +1,198 @@
# DocType, Email Settings
[
# These values are common in all dictionaries
{
'creation': '2012-07-03 13:30:55',
'docstatus': 0,
'modified': '2012-07-12 16:16:27',
'modified_by': u'Administrator',
'owner': u'harshada@webnotestech.com'
},
# These values are common for all DocType
{
'_last_update': u'1325570647',
'allow_copy': 1,
'allow_email': 1,
'allow_print': 1,
'colour': u'White:FFF',
'description': u'Email Settings for Outgoing and Incoming Emails.',
'doctype': 'DocType',
'in_create': 1,
'issingle': 1,
'module': u'Setup',
'name': '__common__',
'section_style': u'Simple',
'server_code_error': u' ',
'version': 1
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Email Settings',
'parentfield': u'fields',
'parenttype': u'DocType',
'permlevel': 0
},
# These values are common for all DocPerm
{
'create': 1,
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'Email Settings',
'parentfield': u'permissions',
'parenttype': u'DocType',
'permlevel': 0,
'read': 1,
'role': u'System Manager',
'write': 1
},
# DocType, Email Settings
{
'doctype': 'DocType',
'name': u'Email Settings'
},
# DocPerm
{
'doctype': u'DocPerm'
},
# DocPerm
{
'doctype': u'DocPerm'
},
# DocField
{
'colour': u'White:FFF',
'description': u'Set your outgoing mail SMTP settings here. All system generated notifications, emails will go from this mail server. If you are not sure, leave this blank to use ERPNext servers (emails will still be sent from your email id) or contact your email provider.',
'doctype': u'DocField',
'fieldname': u'outgoing_mails',
'fieldtype': u'Section Break',
'label': u'Outgoing Mails'
},
# DocField
{
'colour': u'White:FFF',
'description': u'SMTP Server (e.g. smtp.gmail.com)',
'doctype': u'DocField',
'fieldname': u'outgoing_mail_server',
'fieldtype': u'Data',
'label': u'Outgoing Mail Server'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'use_ssl',
'fieldtype': u'Check',
'label': u'Use SSL'
},
# DocField
{
'colour': u'White:FFF',
'description': u'If non standard port (e.g. 587)',
'doctype': u'DocField',
'fieldname': u'mail_port',
'fieldtype': u'Int',
'label': u'Mail Port'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'cb0',
'fieldtype': u'Column Break'
},
# DocField
{
'colour': u'White:FFF',
'description': u'Set Login and Password if authentication is required.',
'doctype': u'DocField',
'fieldname': u'mail_login',
'fieldtype': u'Data',
'label': u'Login Id'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'mail_password',
'fieldtype': u'Password',
'label': u'Mail Password'
},
# DocField
{
'colour': u'White:FFF',
'description': u'System generated mails will be sent from this email id.',
'doctype': u'DocField',
'fieldname': u'auto_email_id',
'fieldtype': u'Data',
'label': u'Auto Email Id'
},
# DocField
{
'description': u'Set the POP3 email settings to pull emails directly from a mailbox and create Support Tickets',
'doctype': u'DocField',
'fieldname': u'support_ticket_mail_settings',
'fieldtype': u'Section Break',
'label': u'Support Ticket Mail Settings'
},
# DocField
{
'colour': u'White:FFF',
'description': u'To automatically create Support Tickets from your incoming mail, set your POP3 settings here. You must ideally create a separate email id for the erp system so that all emails will be synced into the system from that mail id. If you are not sure, please contact your EMail Provider.',
'doctype': u'DocField',
'fieldname': u'section_break0',
'fieldtype': u'Section Break',
'label': u'Incoming Mail Setting'
},
# DocField
{
'colour': u'White:FFF',
'description': u'Check this to pull emails from your mailbox',
'doctype': u'DocField',
'fieldname': u'sync_support_mails',
'fieldtype': u'Check',
'label': u'Sync Support Mails'
},
# DocField
{
'colour': u'White:FFF',
'description': u'Your support email id - must be a valid email - this is where your emails will come!',
'doctype': u'DocField',
'fieldname': u'support_email',
'fieldtype': u'Data',
'label': u'Support Email'
},
# DocField
{
'colour': u'White:FFF',
'description': u'POP3 mail server (e.g. pop.gmail.com)',
'doctype': u'DocField',
'fieldname': u'support_host',
'fieldtype': u'Data',
'label': u'POP3 Mail Server'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'support_use_ssl',
'fieldtype': u'Check',
'label': u'Use SSL'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'support_username',
'fieldtype': u'Data',
'label': u'User Name'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'support_password',
'fieldtype': u'Password',
'label': u'Support Password'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'cb1',
'fieldtype': u'Column Break'
},
# DocField
{
'colour': u'White:FFF',
'description': u'Signature to be appended at the end of every email',
'doctype': u'DocField',
'fieldname': u'support_signature',
'fieldtype': u'Text',
'label': u'Signature'
},
# DocField
{
'colour': u'White:FFF',
'default': u'1',
'doctype': u'DocField',
'fieldname': u'send_autoreply',
'fieldtype': u'Check',
'label': u'Send Autoreply'
},
# DocField
{
'colour': u'White:FFF',
'description': u'Autoreply when a new mail is received',
'doctype': u'DocField',
'fieldname': u'support_autoreply',
'fieldtype': u'Text',
'label': u'Custom Autoreply Message'
}
{
"owner": "harshada@webnotestech.com",
"docstatus": 0,
"creation": "2012-07-03 13:30:55",
"modified_by": "Administrator",
"modified": "2012-07-12 16:16:27"
},
{
"section_style": "Simple",
"description": "Email Settings for Outgoing and Incoming Emails.",
"allow_print": 1,
"module": "Setup",
"doctype": "DocType",
"in_create": 1,
"allow_email": 1,
"issingle": 1,
"name": "__common__",
"colour": "White:FFF",
"_last_update": "1325570647",
"server_code_error": " ",
"version": 1,
"allow_copy": 1
},
{
"name": "__common__",
"parent": "Email Settings",
"doctype": "DocField",
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields"
},
{
"name": "__common__",
"parent": "Email Settings",
"read": 1,
"create": 1,
"doctype": "DocPerm",
"write": 1,
"parenttype": "DocType",
"role": "System Manager",
"permlevel": 0,
"parentfield": "permissions"
},
{
"name": "Email Settings",
"doctype": "DocType"
},
{
"doctype": "DocPerm"
},
{
"doctype": "DocPerm"
},
{
"description": "Set your outgoing mail SMTP settings here. All system generated notifications, emails will go from this mail server. If you are not sure, leave this blank to use ERPNext servers (emails will still be sent from your email id) or contact your email provider.",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Outgoing Mails",
"fieldname": "outgoing_mails",
"fieldtype": "Section Break"
},
{
"description": "SMTP Server (e.g. smtp.gmail.com)",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Outgoing Mail Server",
"fieldname": "outgoing_mail_server",
"fieldtype": "Data"
},
{
"doctype": "DocField",
"fieldname": "use_ssl",
"fieldtype": "Check",
"label": "Use SSL"
},
{
"description": "If non standard port (e.g. 587)",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Mail Port",
"fieldname": "mail_port",
"fieldtype": "Int"
},
{
"fieldname": "cb0",
"fieldtype": "Column Break",
"doctype": "DocField"
},
{
"description": "Set Login and Password if authentication is required.",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Login Id",
"fieldname": "mail_login",
"fieldtype": "Data"
},
{
"doctype": "DocField",
"fieldname": "mail_password",
"fieldtype": "Password",
"label": "Mail Password"
},
{
"description": "System generated mails will be sent from this email id.",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Auto Email Id",
"fieldname": "auto_email_id",
"fieldtype": "Data"
},
{
"description": "Set the POP3 email settings to pull emails directly from a mailbox and create Support Tickets",
"doctype": "DocField",
"label": "Support Ticket Mail Settings",
"fieldname": "support_ticket_mail_settings",
"fieldtype": "Section Break"
},
{
"description": "To automatically create Support Tickets from your incoming mail, set your POP3 settings here. You must ideally create a separate email id for the erp system so that all emails will be synced into the system from that mail id. If you are not sure, please contact your EMail Provider.",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Incoming Mail Setting",
"fieldname": "section_break0",
"fieldtype": "Section Break"
},
{
"description": "Check this to pull emails from your mailbox",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Sync Support Mails",
"fieldname": "sync_support_mails",
"fieldtype": "Check"
},
{
"description": "Your support email id - must be a valid email - this is where your emails will come!",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Support Email",
"fieldname": "support_email",
"fieldtype": "Data"
},
{
"description": "POP3 mail server (e.g. pop.gmail.com)",
"colour": "White:FFF",
"doctype": "DocField",
"label": "POP3 Mail Server",
"fieldname": "support_host",
"fieldtype": "Data"
},
{
"doctype": "DocField",
"fieldname": "support_use_ssl",
"fieldtype": "Check",
"label": "Use SSL"
},
{
"doctype": "DocField",
"fieldname": "support_username",
"fieldtype": "Data",
"label": "User Name"
},
{
"doctype": "DocField",
"fieldname": "support_password",
"fieldtype": "Password",
"label": "Support Password"
},
{
"fieldname": "cb1",
"fieldtype": "Column Break",
"doctype": "DocField"
},
{
"description": "Signature to be appended at the end of every email",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Signature",
"fieldname": "support_signature",
"fieldtype": "Text"
},
{
"default": "1",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Send Autoreply",
"fieldname": "send_autoreply",
"fieldtype": "Check"
},
{
"description": "Autoreply when a new mail is received",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Custom Autoreply Message",
"fieldname": "support_autoreply",
"fieldtype": "Text"
}
]

View File

@@ -1,340 +1,265 @@
# DocType, Features Setup
[
# These values are common in all dictionaries
{
'creation': '2012-04-13 11:56:31',
'docstatus': 0,
'modified': '2012-06-07 18:41:50',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'_last_update': u'1323840127',
'colour': u'White:FFF',
'doctype': 'DocType',
'issingle': 1,
'module': u'Setup',
'name': '__common__',
'name_case': u'Title Case',
'section_style': u'Simple',
'show_in_menu': 1,
'version': 1
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Features Setup',
'parentfield': u'fields',
'parenttype': u'DocType',
'permlevel': 0
},
# These values are common for all DocPerm
{
'create': 1,
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'Features Setup',
'parentfield': u'permissions',
'parenttype': u'DocType',
'permlevel': 0,
'read': 1,
'write': 1
},
# DocType, Features Setup
{
'doctype': 'DocType',
'name': u'Features Setup'
},
# DocPerm
{
'doctype': u'DocPerm',
'role': u'System Manager'
},
# DocPerm
{
'doctype': u'DocPerm',
'role': u'Administrator'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'materials',
'fieldtype': u'Section Break',
'label': u'Materials'
},
# DocField
{
'colour': u'White:FFF',
'description': u'To track item in sales and purchase documents based on their serial nos. This is can also used to track warranty details of the product.',
'doctype': u'DocField',
'fieldname': u'fs_item_serial_nos',
'fieldtype': u'Check',
'label': u'Item Serial Nos'
},
# DocField
{
'colour': u'White:FFF',
'description': u'To track items in sales and purchase documents with batch nos<br><b>Preferred Industry: Chemicals etc</b>',
'doctype': u'DocField',
'fieldname': u'fs_item_batch_nos',
'fieldtype': u'Check',
'label': u'Item Batch Nos'
},
# DocField
{
'colour': u'White:FFF',
'description': u'To track brand name in the following documents<br>\nDelivery Note, Enuiry, Purchase Request, Item, Purchase Order, Purchase Voucher, Purchaser Receipt, Quotation, Sales Invoice, Sales BOM, Sales Order, Serial No',
'doctype': u'DocField',
'fieldname': u'fs_brands',
'fieldtype': u'Check',
'label': u'Brands'
},
# DocField
{
'description': u'To track items using barcode. You will be able to enter items in Delivery Note and Sales Invoice by scanning barcode of item.',
'doctype': u'DocField',
'fieldname': u'fs_item_barcode',
'fieldtype': u'Check',
'label': u'Item Barcode'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break0',
'fieldtype': u'Column Break'
},
# DocField
{
'colour': u'White:FFF',
'description': u'1. To maintain the customer wise item code and to make them searchable based on their code use this option',
'doctype': u'DocField',
'fieldname': u'fs_item_advanced',
'fieldtype': u'Check',
'label': u'Item Advanced'
},
# DocField
{
'colour': u'White:FFF',
'description': u'If Sale BOM is defined, the actual BOM of the Pack is displayed as table.\nAvailable in Delivery Note and Sales Order',
'doctype': u'DocField',
'fieldname': u'fs_packing_details',
'fieldtype': u'Check',
'label': u'Packing Detials'
},
# DocField
{
'colour': u'White:FFF',
'description': u'To get Item Group in details table',
'doctype': u'DocField',
'fieldname': u'fs_item_group_in_details',
'fieldtype': u'Check',
'label': u'Item Groups in Details'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'sales_and_purchase',
'fieldtype': u'Section Break',
'label': u'Sales and Purchase'
},
# DocField
{
'colour': u'White:FFF',
'description': u'All export related fields like currency, conversion rate, export total, export grand total etc are available in <br>\nDelivery Note, POS, Quotation, Sales Invoice, Sales Order etc.',
'doctype': u'DocField',
'fieldname': u'fs_exports',
'fieldtype': u'Check',
'label': u'Exports'
},
# DocField
{
'colour': u'White:FFF',
'description': u'All import related fields like currency, conversion rate, import total, import grand total etc are available in <br>\nPurchase Receipt, Supplier Quotation, Purchase Invoice, Purchase Order etc.',
'doctype': u'DocField',
'fieldname': u'fs_imports',
'fieldtype': u'Check',
'label': u'Imports'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break1',
'fieldtype': u'Column Break'
},
# DocField
{
'colour': u'White:FFF',
'description': u'Field available in Delivery Note, Quotation, Sales Invoice, Sales Order',
'doctype': u'DocField',
'fieldname': u'fs_discounts',
'fieldtype': u'Check',
'label': u'Sales Discounts'
},
# DocField
{
'colour': u'White:FFF',
'description': u'Discount Fields will be available in Purchase Order, Purchase Receipt, Purchase Invoice',
'doctype': u'DocField',
'fieldname': u'fs_purchase_discounts',
'fieldtype': u'Check',
'label': u'Purchase Discounts'
},
# DocField
{
'colour': u'White:FFF',
'description': u'To track any installation or commissioning related work after sales',
'doctype': u'DocField',
'fieldname': u'fs_after_sales_installations',
'fieldtype': u'Check',
'label': u'After Sale Installations'
},
# DocField
{
'description': u'Available in \nBOM, Delivery Note, Purchase Invoice, Production Order, Purchase Order, Purchase Receipt, Sales Invoice, Sales Order, Stock Entry, Timesheet',
'doctype': u'DocField',
'fieldname': u'fs_projects',
'fieldtype': u'Check',
'label': u'Projects'
},
# DocField
{
'colour': u'White:FFF',
'description': u'If you have Sales Team and Sale Partners (Channel Partners) they can be tagged and maintain their contribution in the sales activity',
'doctype': u'DocField',
'fieldname': u'fs_sales_extras',
'fieldtype': u'Check',
'label': u'Sales Extras'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'accounts',
'fieldtype': u'Section Break',
'label': u'Accounts'
},
# DocField
{
'colour': u'White:FFF',
'description': u'Check if you need automatic recurring invoices. After submitting any sales invoice, Recurring section will be visible.',
'doctype': u'DocField',
'fieldname': u'fs_recurring_invoice',
'fieldtype': u'Check',
'label': u'Recurring Invoice'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break2',
'fieldtype': u'Column Break'
},
# DocField
{
'colour': u'White:FFF',
'description': u'To enable <b>Point of Sale</b> features',
'doctype': u'DocField',
'fieldname': u'fs_pos',
'fieldtype': u'Check',
'label': u'Point of Sale'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'production',
'fieldtype': u'Section Break',
'label': u'Production'
},
# DocField
{
'colour': u'White:FFF',
'description': u'If you involve in manufacturing activity<br>\nEnables item <b>Is Manufactured</b>',
'doctype': u'DocField',
'fieldname': u'fs_manufacturing',
'fieldtype': u'Check',
'label': u'Manufacturing'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break3',
'fieldtype': u'Column Break'
},
# DocField
{
'colour': u'White:FFF',
'description': u'If you follow Quality Inspection<br>\nEnables item QA Required and QA No in Purchase Receipt',
'doctype': u'DocField',
'fieldname': u'fs_quality',
'fieldtype': u'Check',
'label': u'Quality'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'miscelleneous',
'fieldtype': u'Section Break',
'label': u'Miscelleneous'
},
# DocField
{
'colour': u'White:FFF',
'description': u'If you have long print formats, this feature can be used to split the page to be printed on multiple pages with all headers and footers on each page',
'doctype': u'DocField',
'fieldname': u'fs_page_break',
'fieldtype': u'Check',
'label': u'Page Break'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break4',
'fieldtype': u'Column Break'
},
# DocField
{
'colour': u'White:FFF',
'description': u'Enables <b>More Info.</b> in all documents',
'doctype': u'DocField',
'fieldname': u'fs_more_info',
'fieldtype': u'Check',
'label': u'More Info'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-04-13 11:56:31",
"modified_by": "Administrator",
"modified": "2012-12-10 18:30:00"
},
{
"section_style": "Simple",
"module": "Setup",
"doctype": "DocType",
"issingle": 1,
"name": "__common__",
"colour": "White:FFF",
"_last_update": "1323840127",
"show_in_menu": 1,
"name_case": "Title Case",
"version": 1
},
{
"name": "__common__",
"parent": "Features Setup",
"doctype": "DocField",
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields"
},
{
"name": "__common__",
"parent": "Features Setup",
"read": 1,
"create": 1,
"doctype": "DocPerm",
"write": 1,
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "permissions"
},
{
"name": "Features Setup",
"doctype": "DocType"
},
{
"role": "System Manager",
"doctype": "DocPerm"
},
{
"role": "Administrator",
"doctype": "DocPerm"
},
{
"doctype": "DocField",
"fieldname": "materials",
"fieldtype": "Section Break",
"label": "Materials"
},
{
"description": "To track item in sales and purchase documents based on their serial nos. This is can also used to track warranty details of the product.",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Item Serial Nos",
"fieldname": "fs_item_serial_nos",
"fieldtype": "Check"
},
{
"description": "To track items in sales and purchase documents with batch nos<br><b>Preferred Industry: Chemicals etc</b>",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Item Batch Nos",
"fieldname": "fs_item_batch_nos",
"fieldtype": "Check"
},
{
"description": "To track brand name in the following documents<br>\nDelivery Note, Enuiry, Purchase Request, Item, Purchase Order, Purchase Voucher, Purchaser Receipt, Quotation, Sales Invoice, Sales BOM, Sales Order, Serial No",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Brands",
"fieldname": "fs_brands",
"fieldtype": "Check"
},
{
"description": "To track items using barcode. You will be able to enter items in Delivery Note and Sales Invoice by scanning barcode of item.",
"doctype": "DocField",
"label": "Item Barcode",
"fieldname": "fs_item_barcode",
"fieldtype": "Check"
},
{
"fieldname": "column_break0",
"fieldtype": "Column Break",
"doctype": "DocField"
},
{
"description": "1. To maintain the customer wise item code and to make them searchable based on their code use this option",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Item Advanced",
"fieldname": "fs_item_advanced",
"fieldtype": "Check"
},
{
"description": "If Sale BOM is defined, the actual BOM of the Pack is displayed as table.\nAvailable in Delivery Note and Sales Order",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Packing Detials",
"fieldname": "fs_packing_details",
"fieldtype": "Check"
},
{
"description": "To get Item Group in details table",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Item Groups in Details",
"fieldname": "fs_item_group_in_details",
"fieldtype": "Check"
},
{
"doctype": "DocField",
"fieldname": "sales_and_purchase",
"fieldtype": "Section Break",
"label": "Sales and Purchase"
},
{
"description": "All export related fields like currency, conversion rate, export total, export grand total etc are available in <br>\nDelivery Note, POS, Quotation, Sales Invoice, Sales Order etc.",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Exports",
"fieldname": "fs_exports",
"fieldtype": "Check"
},
{
"description": "All import related fields like currency, conversion rate, import total, import grand total etc are available in <br>\nPurchase Receipt, Supplier Quotation, Purchase Invoice, Purchase Order etc.",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Imports",
"fieldname": "fs_imports",
"fieldtype": "Check"
},
{
"fieldname": "column_break1",
"fieldtype": "Column Break",
"doctype": "DocField"
},
{
"description": "Field available in Delivery Note, Quotation, Sales Invoice, Sales Order",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Sales Discounts",
"fieldname": "fs_discounts",
"fieldtype": "Check"
},
{
"description": "Discount Fields will be available in Purchase Order, Purchase Receipt, Purchase Invoice",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Purchase Discounts",
"fieldname": "fs_purchase_discounts",
"fieldtype": "Check"
},
{
"description": "To track any installation or commissioning related work after sales",
"colour": "White:FFF",
"doctype": "DocField",
"label": "After Sale Installations",
"fieldname": "fs_after_sales_installations",
"fieldtype": "Check"
},
{
"description": "Available in \nBOM, Delivery Note, Purchase Invoice, Production Order, Purchase Order, Purchase Receipt, Sales Invoice, Sales Order, Stock Entry, Timesheet",
"doctype": "DocField",
"label": "Projects",
"fieldname": "fs_projects",
"fieldtype": "Check"
},
{
"description": "If you have Sales Team and Sale Partners (Channel Partners) they can be tagged and maintain their contribution in the sales activity",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Sales Extras",
"fieldname": "fs_sales_extras",
"fieldtype": "Check"
},
{
"doctype": "DocField",
"fieldname": "accounts",
"fieldtype": "Section Break",
"label": "Accounts"
},
{
"description": "Check if you need automatic recurring invoices. After submitting any sales invoice, Recurring section will be visible.",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Recurring Invoice",
"fieldname": "fs_recurring_invoice",
"fieldtype": "Check"
},
{
"fieldname": "column_break2",
"fieldtype": "Column Break",
"doctype": "DocField"
},
{
"description": "To enable <b>Point of Sale</b> features",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Point of Sale",
"fieldname": "fs_pos",
"fieldtype": "Check"
},
{
"doctype": "DocField",
"fieldname": "production",
"fieldtype": "Section Break",
"label": "Manufacturing"
},
{
"description": "If you involve in manufacturing activity<br>\nEnables item <b>Is Manufactured</b>",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Manufacturing",
"fieldname": "fs_manufacturing",
"fieldtype": "Check"
},
{
"fieldname": "column_break3",
"fieldtype": "Column Break",
"doctype": "DocField"
},
{
"description": "If you follow Quality Inspection<br>\nEnables item QA Required and QA No in Purchase Receipt",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Quality",
"fieldname": "fs_quality",
"fieldtype": "Check"
},
{
"doctype": "DocField",
"fieldname": "miscelleneous",
"fieldtype": "Section Break",
"label": "Miscelleneous"
},
{
"description": "If you have long print formats, this feature can be used to split the page to be printed on multiple pages with all headers and footers on each page",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Page Break",
"fieldname": "fs_page_break",
"fieldtype": "Check"
},
{
"fieldname": "column_break4",
"fieldtype": "Column Break",
"doctype": "DocField"
},
{
"description": "Enables <b>More Info.</b> in all documents",
"colour": "White:FFF",
"doctype": "DocField",
"label": "More Info",
"fieldname": "fs_more_info",
"fieldtype": "Check"
}
]

View File

@@ -17,6 +17,7 @@
from __future__ import unicode_literals
"""Global Defaults"""
import webnotes
from webnotes.utils import cint
keydict = {
"fiscal_year": "current_fiscal_year",
@@ -66,12 +67,11 @@ class DocType:
def validate_session_expiry(self):
if self.doc.session_expiry:
from datetime import datetime
try:
datetime.strptime(self.doc.session_expiry, "%H:%M")
except ValueError:
parts = self.doc.session_expiry.split(":")
if len(parts)!=2 or not (cint(parts[0]) or cint(parts[1])):
webnotes.msgprint("""Session Expiry must be in format hh:mm""",
raise_exception=1)
def get_defaults(self):
return webnotes.conn.get_defaults()

View File

@@ -1,77 +1,62 @@
# DocType, Market Segment
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:21',
'docstatus': 0,
'modified': '2012-03-27 14:36:21',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'allow_trash': 1,
'autoname': u'field:segment_name',
'colour': u'White:FFF',
'doctype': 'DocType',
'in_create': 1,
'module': u'Setup',
'name': '__common__',
'name_case': u'Title Case',
'read_only': 0,
'section_style': u'Simple',
'show_in_menu': 0,
'version': 1
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Market Segment',
'parentfield': u'fields',
'parenttype': u'DocType'
},
# DocType, Market Segment
{
'doctype': 'DocType',
'name': u'Market Segment'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'trash_reason',
'fieldtype': u'Small Text',
'label': u'Trash Reason',
'oldfieldname': u'trash_reason',
'oldfieldtype': u'Small Text',
'permlevel': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'segment_name',
'fieldtype': u'Data',
'label': u'Segment Name',
'oldfieldname': u'segment_name',
'oldfieldtype': u'Data',
'permlevel': 0,
'reqd': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'details',
'fieldtype': u'Text',
'label': u'Details',
'oldfieldname': u'details',
'oldfieldtype': u'Text',
'permlevel': 0
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:21",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:21"
},
{
"section_style": "Simple",
"in_create": 1,
"module": "Setup",
"allow_trash": 1,
"read_only": 0,
"autoname": "field:segment_name",
"name": "__common__",
"colour": "White:FFF",
"doctype": "DocType",
"show_in_menu": 0,
"name_case": "Title Case",
"version": 1
},
{
"name": "__common__",
"parent": "Market Segment",
"doctype": "DocField",
"parenttype": "DocType",
"parentfield": "fields"
},
{
"name": "Market Segment",
"doctype": "DocType"
},
{
"oldfieldtype": "Small Text",
"doctype": "DocField",
"label": "Trash Reason",
"oldfieldname": "trash_reason",
"fieldname": "trash_reason",
"fieldtype": "Small Text",
"permlevel": 1
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Segment Name",
"oldfieldname": "segment_name",
"fieldname": "segment_name",
"fieldtype": "Data",
"reqd": 1,
"permlevel": 0
},
{
"oldfieldtype": "Text",
"doctype": "DocField",
"label": "Details",
"oldfieldname": "details",
"fieldname": "details",
"fieldtype": "Text",
"permlevel": 0
}
]

View File

@@ -1,193 +1,152 @@
# DocType, Naming Series
[
# These values are common in all dictionaries
{
'creation': '2012-07-03 13:30:54',
'docstatus': 0,
'modified': '2012-07-12 15:59:52',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'colour': u'White:FFF',
'description': u'Set prefix for numbering series on your transactions',
'doctype': 'DocType',
'hide_heading': 0,
'hide_toolbar': 1,
'issingle': 1,
'module': u'Setup',
'name': '__common__',
'read_only': 1,
'section_style': u'Tray',
'server_code_error': u' ',
'show_in_menu': 0,
'version': 1
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Naming Series',
'parentfield': u'fields',
'parenttype': u'DocType',
'permlevel': 0
},
# These values are common for all DocPerm
{
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'Naming Series',
'parentfield': u'permissions',
'parenttype': u'DocType',
'read': 1
},
# DocType, Naming Series
{
'doctype': 'DocType',
'name': u'Naming Series'
},
# DocPerm
{
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'System Manager',
'write': 1
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'System Manager',
'submit': 0,
'write': 1
},
# DocPerm
{
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'System Manager'
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'System Manager',
'submit': 0,
'write': 0
},
# DocPerm
{
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Guest'
},
# DocField
{
'description': u'Set prefix for numbering series on your transactions',
'doctype': u'DocField',
'fieldname': u'setup_series',
'fieldtype': u'Section Break',
'label': u'Setup Series'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'select_doc_for_series',
'fieldtype': u'Select',
'label': u'Select Transaction'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'help_html',
'fieldtype': u'HTML',
'label': u'Help HTML',
'options': u'<div class="help-box">\nEdit list of Series in the box below. Each Series Prefix on a new line.<br><br>\nAllowed special characters are "/" and "-"<br>\nExamples:<br>\nINV-<br>\nINV-10-<br>\nINVK-<br>\n</div>'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'set_options',
'fieldtype': u'Text',
'label': u'Series List for this Transaction'
},
# DocField
{
'colour': u'White:FFF',
'description': u'Check this if you want to force the user to select a series before saving. There will be no default if you check this.',
'doctype': u'DocField',
'fieldname': u'user_must_always_select',
'fieldtype': u'Check',
'label': u'User must always select'
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'update',
'fieldtype': u'Button',
'label': u'Update'
},
# DocField
{
'colour': u'White:FFF',
'description': u'Change the starting / current sequence number of an existing series.',
'doctype': u'DocField',
'fieldname': u'update_series',
'fieldtype': u'Section Break',
'label': u'Update Series'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'prefix',
'fieldtype': u'Select',
'label': u'Prefix'
},
# DocField
{
'colour': u'White:FFF',
'description': u'This is the number of the last created transaction with this prefix',
'doctype': u'DocField',
'fieldname': u'current_value',
'fieldtype': u'Int',
'label': u'Current Value'
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'update_series_start',
'fieldtype': u'Button',
'label': u'Update Series Number',
'options': u'update_series_start'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-07-03 13:30:54",
"modified_by": "Administrator",
"modified": "2012-07-12 15:59:52"
},
{
"section_style": "Tray",
"description": "Set prefix for numbering series on your transactions",
"module": "Setup",
"server_code_error": " ",
"read_only": 1,
"hide_heading": 0,
"issingle": 1,
"name": "__common__",
"colour": "White:FFF",
"doctype": "DocType",
"show_in_menu": 0,
"version": 1,
"hide_toolbar": 1
},
{
"name": "__common__",
"parent": "Naming Series",
"doctype": "DocField",
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields"
},
{
"name": "__common__",
"parent": "Naming Series",
"read": 1,
"doctype": "DocPerm",
"parenttype": "DocType",
"parentfield": "permissions"
},
{
"name": "Naming Series",
"doctype": "DocType"
},
{
"create": 1,
"doctype": "DocPerm",
"write": 1,
"role": "System Manager",
"permlevel": 0
},
{
"amend": 0,
"create": 1,
"doctype": "DocPerm",
"submit": 0,
"write": 1,
"role": "System Manager",
"cancel": 0,
"permlevel": 0
},
{
"role": "System Manager",
"permlevel": 1,
"doctype": "DocPerm"
},
{
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "System Manager",
"cancel": 0,
"permlevel": 1
},
{
"role": "Guest",
"permlevel": 0,
"doctype": "DocPerm"
},
{
"description": "Set prefix for numbering series on your transactions",
"doctype": "DocField",
"label": "Setup Series",
"fieldname": "setup_series",
"fieldtype": "Section Break"
},
{
"doctype": "DocField",
"fieldname": "select_doc_for_series",
"fieldtype": "Select",
"label": "Select Transaction"
},
{
"doctype": "DocField",
"label": "Help HTML",
"fieldname": "help_html",
"fieldtype": "HTML",
"options": "<div class=\"help-box\">\nEdit list of Series in the box below. Each Series Prefix on a new line.<br><br>\nAllowed special characters are \"/\" and \"-\"<br>\nExamples:<br>\nINV-<br>\nINV-10-<br>\nINVK-<br>\n</div>"
},
{
"doctype": "DocField",
"fieldname": "set_options",
"fieldtype": "Text",
"label": "Series List for this Transaction"
},
{
"description": "Check this if you want to force the user to select a series before saving. There will be no default if you check this.",
"colour": "White:FFF",
"doctype": "DocField",
"label": "User must always select",
"fieldname": "user_must_always_select",
"fieldtype": "Check"
},
{
"colour": "White:FFF",
"doctype": "DocField",
"label": "Update",
"fieldname": "update",
"fieldtype": "Button"
},
{
"description": "Change the starting / current sequence number of an existing series.",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Update Series",
"fieldname": "update_series",
"fieldtype": "Section Break"
},
{
"doctype": "DocField",
"fieldname": "prefix",
"fieldtype": "Select",
"label": "Prefix"
},
{
"description": "This is the number of the last created transaction with this prefix",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Current Value",
"fieldname": "current_value",
"fieldtype": "Int"
},
{
"colour": "White:FFF",
"doctype": "DocField",
"label": "Update Series Number",
"fieldname": "update_series_start",
"fieldtype": "Button",
"options": "update_series_start"
}
]

View File

@@ -1,81 +1,64 @@
# DocType, Naming Series Options
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:21',
'docstatus': 0,
'modified': '2012-03-27 14:36:21',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'autoname': u'__NSO.#####',
'colour': u'White:FFF',
'doctype': 'DocType',
'in_create': 1,
'module': u'Setup',
'name': '__common__',
'read_only': 0,
'section_style': u'Simple',
'server_code_error': u' ',
'show_in_menu': 0,
'version': 5
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Naming Series Options',
'parentfield': u'fields',
'parenttype': u'DocType',
'permlevel': 0
},
# These values are common for all DocPerm
{
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'Naming Series Options',
'parentfield': u'permissions',
'parenttype': u'DocType',
'permlevel': 0,
'read': 1,
'role': u'System Manager'
},
# DocType, Naming Series Options
{
'doctype': 'DocType',
'name': u'Naming Series Options'
},
# DocPerm
{
'doctype': u'DocPerm'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'doc_type',
'fieldtype': u'Data',
'label': u'Doc Type',
'oldfieldname': u'doc_type',
'oldfieldtype': u'Data',
'search_index': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'series_options',
'fieldtype': u'Text',
'label': u'Series Options',
'oldfieldname': u'series_options',
'oldfieldtype': u'Text'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:21",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:21"
},
{
"section_style": "Simple",
"in_create": 1,
"module": "Setup",
"doctype": "DocType",
"autoname": "__NSO.#####",
"show_in_menu": 0,
"read_only": 0,
"name": "__common__",
"colour": "White:FFF",
"server_code_error": " ",
"version": 5
},
{
"name": "__common__",
"parent": "Naming Series Options",
"doctype": "DocField",
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields"
},
{
"parent": "Naming Series Options",
"read": 1,
"name": "__common__",
"doctype": "DocPerm",
"parenttype": "DocType",
"role": "System Manager",
"permlevel": 0,
"parentfield": "permissions"
},
{
"name": "Naming Series Options",
"doctype": "DocType"
},
{
"doctype": "DocPerm"
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Doc Type",
"oldfieldname": "doc_type",
"fieldname": "doc_type",
"fieldtype": "Data",
"search_index": 1
},
{
"oldfieldtype": "Text",
"doctype": "DocField",
"label": "Series Options",
"oldfieldname": "series_options",
"fieldname": "series_options",
"fieldtype": "Text"
}
]

View File

@@ -1,273 +1,214 @@
# DocType, Notification Control
[
# These values are common in all dictionaries
{
'creation': '2012-07-03 13:30:56',
'docstatus': 0,
'modified': '2012-07-12 16:20:36',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'allow_copy': 1,
'allow_email': 1,
'allow_print': 1,
'colour': u'White:FFF',
'description': u'Send automatic emails to Contacts on Submitting transactions.',
'doctype': 'DocType',
'issingle': 1,
'module': u'Setup',
'name': '__common__',
'section_style': u'Simple',
'server_code_error': u' ',
'version': 1
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Notification Control',
'parentfield': u'fields',
'parenttype': u'DocType',
'permlevel': 0
},
# These values are common for all DocPerm
{
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'Notification Control',
'parentfield': u'permissions',
'parenttype': u'DocType',
'permlevel': 0,
'read': 1
},
# DocType, Notification Control
{
'doctype': 'DocType',
'name': u'Notification Control'
},
# DocPerm
{
'create': 0,
'doctype': u'DocPerm',
'role': u'Guest',
'write': 0
},
# DocPerm
{
'create': 1,
'doctype': u'DocPerm',
'role': u'System Manager',
'write': 1
},
# DocField
{
'colour': u'White:FFF',
'description': u'When any of the checked transactions are "Submitted", an email is automatically sent to the associated "Contact" in that transaction, with the transaction as an attachment.',
'doctype': u'DocField',
'fieldname': u'send_autonotification_for',
'fieldtype': u'Section Break',
'label': u'Send Email Automatically on Submission of'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'sales',
'fieldtype': u'Column Break',
'label': u'Sales',
'width': u'50%'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'quotation',
'fieldtype': u'Check',
'label': u'Quotation'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'sales_order',
'fieldtype': u'Check',
'label': u'Sales Order'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'delivery_note',
'fieldtype': u'Check',
'label': u'Delivery Note'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'sales_invoice',
'fieldtype': u'Check',
'label': u'Sales Invoice'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'purchase',
'fieldtype': u'Column Break',
'label': u'Purchase',
'width': u'50%'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'purchase_order',
'fieldtype': u'Check',
'label': u'Purchase Order'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'purchase_receipt',
'fieldtype': u'Check',
'label': u'Purchase Receipt'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'expense_claim',
'fieldtype': u'Check',
'label': u'Expense Claim'
},
# DocField
{
'colour': u'White:FFF',
'description': u'Customize the introductory text that goes as a part of that email. Each transaction has a separate introductory text.',
'doctype': u'DocField',
'fieldname': u'customize_the_notification',
'fieldtype': u'Section Break',
'label': u'Customize the Notification'
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'select_transaction',
'fieldtype': u'Select',
'label': u'Select Transaction',
'options': u'\nQuotation\nSales Order\nDelivery Note\nSales Invoice\nPurchase Order\nPurchase Receipt\nExpense Claim\nExpense Claim Approved\nExpense Claim Rejected',
'trigger': u'Client'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'custom_message',
'fieldtype': u'Text Editor',
'label': u'Custom Message'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'update',
'fieldtype': u'Button',
'label': u'Update',
'options': u'set_message'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'quotation_message',
'fieldtype': u'Text',
'hidden': 1,
'label': u'Quotation Message',
'print_hide': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'sales_order_message',
'fieldtype': u'Text',
'hidden': 1,
'label': u'Sales Order Message',
'print_hide': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'delivery_note_message',
'fieldtype': u'Text',
'hidden': 1,
'label': u'Delivery Note Message',
'print_hide': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'sales_invoice_message',
'fieldtype': u'Text',
'hidden': 1,
'label': u'Sales Invoice Message',
'print_hide': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'purchase_order_message',
'fieldtype': u'Text',
'hidden': 1,
'label': u'Purchase Order Message',
'print_hide': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'purchase_receipt_message',
'fieldtype': u'Text',
'hidden': 1,
'label': u'Purchase Receipt Message',
'print_hide': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'expense_claim_approved_message',
'fieldtype': u'Text',
'hidden': 1,
'label': u'Expense Claim Approved Message',
'print_hide': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'expense_claim_rejected_message',
'fieldtype': u'Text',
'hidden': 1,
'label': u'Expense Claim Rejected Message',
'print_hide': 1
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-07-03 13:30:56",
"modified_by": "Administrator",
"modified": "2012-07-12 16:20:36"
},
{
"section_style": "Simple",
"description": "Send automatic emails to Contacts on Submitting transactions.",
"allow_print": 1,
"module": "Setup",
"allow_email": 1,
"issingle": 1,
"name": "__common__",
"colour": "White:FFF",
"doctype": "DocType",
"server_code_error": " ",
"version": 1,
"allow_copy": 1
},
{
"name": "__common__",
"parent": "Notification Control",
"doctype": "DocField",
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields"
},
{
"name": "__common__",
"parent": "Notification Control",
"read": 1,
"doctype": "DocPerm",
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "permissions"
},
{
"name": "Notification Control",
"doctype": "DocType"
},
{
"write": 0,
"create": 0,
"role": "Guest",
"doctype": "DocPerm"
},
{
"write": 1,
"create": 1,
"role": "System Manager",
"doctype": "DocPerm"
},
{
"description": "When any of the checked transactions are \"Submitted\", an email is automatically sent to the associated \"Contact\" in that transaction, with the transaction as an attachment.",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Send Email Automatically on Submission of",
"fieldname": "send_autonotification_for",
"fieldtype": "Section Break"
},
{
"doctype": "DocField",
"label": "Sales",
"width": "50%",
"fieldname": "sales",
"fieldtype": "Column Break"
},
{
"doctype": "DocField",
"fieldname": "quotation",
"fieldtype": "Check",
"label": "Quotation"
},
{
"doctype": "DocField",
"fieldname": "sales_order",
"fieldtype": "Check",
"label": "Sales Order"
},
{
"doctype": "DocField",
"fieldname": "delivery_note",
"fieldtype": "Check",
"label": "Delivery Note"
},
{
"doctype": "DocField",
"fieldname": "sales_invoice",
"fieldtype": "Check",
"label": "Sales Invoice"
},
{
"doctype": "DocField",
"label": "Purchase",
"width": "50%",
"fieldname": "purchase",
"fieldtype": "Column Break"
},
{
"doctype": "DocField",
"fieldname": "purchase_order",
"fieldtype": "Check",
"label": "Purchase Order"
},
{
"doctype": "DocField",
"fieldname": "purchase_receipt",
"fieldtype": "Check",
"label": "Purchase Receipt"
},
{
"doctype": "DocField",
"fieldname": "expense_claim",
"fieldtype": "Check",
"label": "Expense Claim"
},
{
"description": "Customize the introductory text that goes as a part of that email. Each transaction has a separate introductory text.",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Customize the Notification",
"fieldname": "customize_the_notification",
"fieldtype": "Section Break"
},
{
"colour": "White:FFF",
"doctype": "DocField",
"label": "Select Transaction",
"trigger": "Client",
"fieldname": "select_transaction",
"fieldtype": "Select",
"options": "\nQuotation\nSales Order\nDelivery Note\nSales Invoice\nPurchase Order\nPurchase Receipt\nExpense Claim\nExpense Claim Approved\nExpense Claim Rejected"
},
{
"doctype": "DocField",
"fieldname": "custom_message",
"fieldtype": "Text Editor",
"label": "Custom Message"
},
{
"doctype": "DocField",
"label": "Update",
"fieldname": "update",
"fieldtype": "Button",
"options": "set_message"
},
{
"print_hide": 1,
"doctype": "DocField",
"label": "Quotation Message",
"fieldname": "quotation_message",
"fieldtype": "Text",
"hidden": 1
},
{
"print_hide": 1,
"doctype": "DocField",
"label": "Sales Order Message",
"fieldname": "sales_order_message",
"fieldtype": "Text",
"hidden": 1
},
{
"print_hide": 1,
"doctype": "DocField",
"label": "Delivery Note Message",
"fieldname": "delivery_note_message",
"fieldtype": "Text",
"hidden": 1
},
{
"print_hide": 1,
"doctype": "DocField",
"label": "Sales Invoice Message",
"fieldname": "sales_invoice_message",
"fieldtype": "Text",
"hidden": 1
},
{
"print_hide": 1,
"doctype": "DocField",
"label": "Purchase Order Message",
"fieldname": "purchase_order_message",
"fieldtype": "Text",
"hidden": 1
},
{
"print_hide": 1,
"doctype": "DocField",
"label": "Purchase Receipt Message",
"fieldname": "purchase_receipt_message",
"fieldtype": "Text",
"hidden": 1
},
{
"print_hide": 1,
"doctype": "DocField",
"label": "Expense Claim Approved Message",
"fieldname": "expense_claim_approved_message",
"fieldtype": "Text",
"hidden": 1
},
{
"print_hide": 1,
"doctype": "DocField",
"label": "Expense Claim Rejected Message",
"fieldname": "expense_claim_rejected_message",
"fieldtype": "Text",
"hidden": 1
}
]

View File

@@ -1,33 +1,26 @@
# DocType, Permission Control
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:22',
'docstatus': 0,
'modified': '2012-03-27 14:36:22',
'modified_by': u'Administrator',
'owner': u'saumil@webnotestech.com'
},
# These values are common for all DocType
{
'colour': u'White:FFF',
'doctype': 'DocType',
'in_create': 1,
'issingle': 1,
'module': u'Setup',
'name': '__common__',
'read_only': 1,
'section_style': u'Simple',
'server_code_error': u' ',
'show_in_menu': 0,
'version': 15
},
# DocType, Permission Control
{
'doctype': 'DocType',
'name': u'Permission Control'
}
{
"owner": "saumil@webnotestech.com",
"docstatus": 0,
"creation": "2012-03-27 14:36:22",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:22"
},
{
"section_style": "Simple",
"in_create": 1,
"module": "Setup",
"doctype": "DocType",
"server_code_error": " ",
"issingle": 1,
"read_only": 1,
"name": "__common__",
"colour": "White:FFF",
"show_in_menu": 0,
"version": 15
},
{
"name": "Permission Control",
"doctype": "DocType"
}
]

View File

@@ -1,142 +1,115 @@
# DocType, Price List
[
# These values are common in all dictionaries
{
u'creation': '2012-07-12 23:29:45',
u'docstatus': 0,
u'modified': '2012-11-15 10:50:52',
u'modified_by': u'Administrator',
u'owner': u'Administrator'
},
# These values are common for all DocType
{
'_last_update': u'1303100817',
'allow_attach': 0,
'allow_copy': 1,
'allow_email': 1,
'allow_print': 1,
'allow_trash': 1,
'autoname': u'field:price_list_name',
'colour': u'White:FFF',
'description': u'Price List Master',
u'doctype': u'DocType',
'document_type': u'Master',
'max_attachments': 1,
'module': u'Setup',
u'name': u'__common__',
'section_style': u'Simple',
'server_code_error': u' ',
'show_in_menu': 0,
'version': 1
},
# These values are common for all DocField
{
u'doctype': u'DocField',
u'name': u'__common__',
'parent': u'Price List',
'parentfield': u'fields',
'parenttype': u'DocType',
'permlevel': 0
},
# These values are common for all DocPerm
{
'amend': 0,
u'doctype': u'DocPerm',
u'name': u'__common__',
'parent': u'Price List',
'parentfield': u'permissions',
'parenttype': u'DocType',
'read': 1,
'submit': 0
},
# DocType, Price List
{
u'doctype': u'DocType',
u'name': u'Price List'
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'price_list_name',
'fieldtype': u'Data',
'label': u'Price List Name',
'oldfieldname': u'price_list_name',
'oldfieldtype': u'Data',
'reqd': 1
},
# DocField
{
'depends_on': u'price_list_name',
u'doctype': u'DocField',
'fieldname': u'how_to_upload',
'fieldtype': u'HTML',
'label': u'How to upload',
'options': u'<div class="help">Use the <a href="#data-import-tool">Data Import Tool</a> to upload, update Item Prices in bulk:\n<ol> \n<li>Go to Data Import Tool.\n<li>Select "Item"\n<li>Check on "With Data"\n<li>Download "Item Price" from Child Tables.\n<li>Update the prices required and add new rows if required.\n<li>Check on "Overwrite"\n<li>Upload the modified sheet.\n</div>\n'
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'file_list',
'fieldtype': u'Text',
'hidden': 1,
'label': u'File List'
},
# DocPerm
{
'cancel': 0,
'create': 0,
u'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Sales Manager',
'write': 0
},
# DocPerm
{
'cancel': 0,
'create': 0,
u'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Sales Manager',
'write': 0
},
# DocPerm
{
'cancel': 0,
'create': 0,
u'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Sales User',
'write': 0
},
# DocPerm
{
'cancel': 0,
'create': 0,
u'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Sales User',
'write': 0
},
# DocPerm
{
'cancel': 1,
'create': 1,
u'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Sales Master Manager',
'write': 1
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-07-12 23:29:45",
"modified_by": "Administrator",
"modified": "2012-11-15 10:50:52"
},
{
"section_style": "Simple",
"allow_attach": 0,
"allow_print": 1,
"module": "Setup",
"doctype": "DocType",
"allow_trash": 1,
"server_code_error": " ",
"document_type": "Master",
"description": "Price List Master",
"allow_email": 1,
"autoname": "field:price_list_name",
"name": "__common__",
"colour": "White:FFF",
"_last_update": "1303100817",
"show_in_menu": 0,
"max_attachments": 1,
"version": 1,
"allow_copy": 1
},
{
"name": "__common__",
"parent": "Price List",
"doctype": "DocField",
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields"
},
{
"name": "__common__",
"parent": "Price List",
"amend": 0,
"doctype": "DocPerm",
"submit": 0,
"read": 1,
"parenttype": "DocType",
"parentfield": "permissions"
},
{
"name": "Price List",
"doctype": "DocType"
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Price List Name",
"oldfieldname": "price_list_name",
"fieldname": "price_list_name",
"fieldtype": "Data",
"reqd": 1
},
{
"depends_on": "price_list_name",
"doctype": "DocField",
"label": "How to upload",
"fieldname": "how_to_upload",
"fieldtype": "HTML",
"options": "<div class=\"help\">Use the <a href=\"#data-import-tool\">Data Import Tool</a> to upload, update Item Prices in bulk:\n<ol> \n<li>Go to Data Import Tool.\n<li>Select \"Item\"\n<li>Check on \"With Data\"\n<li>Download \"Item Price\" from Child Tables.\n<li>Update the prices required and add new rows if required.\n<li>Check on \"Overwrite\"\n<li>Upload the modified sheet.\n</div>\n"
},
{
"doctype": "DocField",
"label": "File List",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1
},
{
"create": 0,
"doctype": "DocPerm",
"write": 0,
"role": "Sales Manager",
"cancel": 0,
"permlevel": 1
},
{
"create": 0,
"doctype": "DocPerm",
"write": 0,
"role": "Sales Manager",
"cancel": 0,
"permlevel": 0
},
{
"create": 0,
"doctype": "DocPerm",
"write": 0,
"role": "Sales User",
"cancel": 0,
"permlevel": 1
},
{
"create": 0,
"doctype": "DocPerm",
"write": 0,
"role": "Sales User",
"cancel": 0,
"permlevel": 0
},
{
"create": 1,
"doctype": "DocPerm",
"write": 1,
"role": "Sales Master Manager",
"cancel": 1,
"permlevel": 0
}
]

View File

@@ -1,99 +1,80 @@
# DocType, Print Heading
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:22',
'docstatus': 0,
'modified': '2012-03-27 14:36:22',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'_last_update': u'1294312215',
'allow_trash': 1,
'autoname': u'field:print_heading',
'colour': u'White:FFF',
'doctype': 'DocType',
'document_type': u'Master',
'module': u'Setup',
'name': '__common__',
'search_fields': u'print_heading',
'section_style': u'Simple',
'server_code_error': u' ',
'version': 27
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Print Heading',
'parentfield': u'fields',
'parenttype': u'DocType'
},
# These values are common for all DocPerm
{
'cancel': 1,
'create': 1,
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'Print Heading',
'parentfield': u'permissions',
'parenttype': u'DocType',
'permlevel': 0,
'read': 1,
'role': u'All',
'write': 1
},
# DocType, Print Heading
{
'doctype': 'DocType',
'name': u'Print Heading'
},
# DocPerm
{
'doctype': u'DocPerm'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'trash_reason',
'fieldtype': u'Small Text',
'label': u'Trash Reason',
'oldfieldname': u'trash_reason',
'oldfieldtype': u'Small Text',
'permlevel': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'print_heading',
'fieldtype': u'Data',
'in_filter': 1,
'label': u'Print Heading',
'oldfieldname': u'print_heading',
'oldfieldtype': u'Data',
'permlevel': 0,
'reqd': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'description',
'fieldtype': u'Small Text',
'label': u'Description',
'oldfieldname': u'description',
'oldfieldtype': u'Small Text',
'permlevel': 0,
'width': u'300px'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:22",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:22"
},
{
"section_style": "Simple",
"search_fields": "print_heading",
"module": "Setup",
"doctype": "DocType",
"allow_trash": 1,
"document_type": "Master",
"autoname": "field:print_heading",
"name": "__common__",
"colour": "White:FFF",
"_last_update": "1294312215",
"server_code_error": " ",
"version": 27
},
{
"name": "__common__",
"parent": "Print Heading",
"doctype": "DocField",
"parenttype": "DocType",
"parentfield": "fields"
},
{
"parent": "Print Heading",
"read": 1,
"doctype": "DocPerm",
"cancel": 1,
"name": "__common__",
"create": 1,
"write": 1,
"parenttype": "DocType",
"role": "All",
"permlevel": 0,
"parentfield": "permissions"
},
{
"name": "Print Heading",
"doctype": "DocType"
},
{
"doctype": "DocPerm"
},
{
"oldfieldtype": "Small Text",
"doctype": "DocField",
"label": "Trash Reason",
"oldfieldname": "trash_reason",
"fieldname": "trash_reason",
"fieldtype": "Small Text",
"permlevel": 1
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Print Heading",
"oldfieldname": "print_heading",
"fieldname": "print_heading",
"fieldtype": "Data",
"reqd": 1,
"permlevel": 0,
"in_filter": 1
},
{
"oldfieldtype": "Small Text",
"doctype": "DocField",
"label": "Description",
"oldfieldname": "description",
"width": "300px",
"fieldname": "description",
"fieldtype": "Small Text",
"permlevel": 0
}
]

View File

@@ -1,93 +1,74 @@
# DocType, Quotation Lost Reason
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:22',
'docstatus': 0,
'modified': '2012-03-27 14:36:22',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'allow_trash': 1,
'autoname': u'field:order_lost_reason',
'colour': u'White:FFF',
'doctype': 'DocType',
'document_type': u'Master',
'module': u'Setup',
'name': '__common__',
'section_style': u'Simple',
'server_code_error': u' ',
'show_in_menu': 0,
'version': 4
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Quotation Lost Reason',
'parentfield': u'fields',
'parenttype': u'DocType'
},
# These values are common for all DocPerm
{
'cancel': 1,
'create': 1,
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'Quotation Lost Reason',
'parentfield': u'permissions',
'parenttype': u'DocType',
'permlevel': 0,
'read': 1,
'write': 1
},
# DocType, Quotation Lost Reason
{
'doctype': 'DocType',
'name': u'Quotation Lost Reason'
},
# DocPerm
{
'doctype': u'DocPerm',
'role': u'System Manager'
},
# DocPerm
{
'amend': 0,
'doctype': u'DocPerm',
'role': u'Sales Master Manager',
'submit': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'trash_reason',
'fieldtype': u'Small Text',
'label': u'Trash Reason',
'oldfieldname': u'trash_reason',
'oldfieldtype': u'Small Text',
'permlevel': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'order_lost_reason',
'fieldtype': u'Data',
'label': u'Quotation Lost Reason',
'oldfieldname': u'order_lost_reason',
'oldfieldtype': u'Data',
'permlevel': 0,
'reqd': 1
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:22",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:22"
},
{
"section_style": "Simple",
"module": "Setup",
"server_code_error": " ",
"allow_trash": 1,
"doctype": "DocType",
"autoname": "field:order_lost_reason",
"document_type": "Master",
"name": "__common__",
"colour": "White:FFF",
"show_in_menu": 0,
"version": 4
},
{
"name": "__common__",
"parent": "Quotation Lost Reason",
"doctype": "DocField",
"parenttype": "DocType",
"parentfield": "fields"
},
{
"name": "__common__",
"parent": "Quotation Lost Reason",
"read": 1,
"create": 1,
"doctype": "DocPerm",
"write": 1,
"cancel": 1,
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "permissions"
},
{
"name": "Quotation Lost Reason",
"doctype": "DocType"
},
{
"role": "System Manager",
"doctype": "DocPerm"
},
{
"amend": 0,
"role": "Sales Master Manager",
"doctype": "DocPerm",
"submit": 0
},
{
"oldfieldtype": "Small Text",
"doctype": "DocField",
"label": "Trash Reason",
"oldfieldname": "trash_reason",
"fieldname": "trash_reason",
"fieldtype": "Small Text",
"permlevel": 1
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Quotation Lost Reason",
"oldfieldname": "order_lost_reason",
"fieldname": "order_lost_reason",
"fieldtype": "Data",
"reqd": 1,
"permlevel": 0
}
]

View File

@@ -1,30 +1,23 @@
# DocType, Sales Browser Control
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:23',
'docstatus': 0,
'modified': '2012-03-27 14:36:23',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'colour': u'White:FFF',
'doctype': 'DocType',
'issingle': 1,
'module': u'Setup',
'name': '__common__',
'section_style': u'Simple',
'server_code_error': u' ',
'version': 159
},
# DocType, Sales Browser Control
{
'doctype': 'DocType',
'name': u'Sales Browser Control'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:23",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:23"
},
{
"section_style": "Simple",
"name": "__common__",
"colour": "White:FFF",
"module": "Setup",
"doctype": "DocType",
"version": 159,
"server_code_error": " ",
"issingle": 1
},
{
"name": "Sales Browser Control",
"doctype": "DocType"
}
]

View File

@@ -1,327 +1,268 @@
# DocType, Sales Partner
[
# These values are common in all dictionaries
{
'creation': '2012-07-03 13:30:54',
'docstatus': 0,
'modified': '2012-07-12 11:22:15',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'_last_update': u'1322549700',
'allow_trash': 1,
'autoname': u'field:partner_name',
'colour': u'White:FFF',
'description': u'A **Sales Partner** is a third party distributor / dealer / commission agent / affiliate / reseller who sells the companies products for a commission. This is useful if you make the end sale to the **Customer**, involving your **Sales Partner**.\n\nIf you sell to your **Sales Partner** who in-turn sells it to the **Customer**, then you must make a **Customer** instead.',
'doctype': 'DocType',
'document_type': u'Master',
'in_create': 0,
'module': u'Setup',
'name': '__common__',
'read_only': 0,
'section_style': u'Tabbed',
'server_code_error': u' ',
'show_in_menu': 0,
'version': 1
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Sales Partner',
'parentfield': u'fields',
'parenttype': u'DocType'
},
# These values are common for all DocPerm
{
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'Sales Partner',
'parentfield': u'permissions',
'parenttype': u'DocType',
'read': 1
},
# DocType, Sales Partner
{
'doctype': 'DocType',
'name': u'Sales Partner'
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Sales Manager',
'submit': 0,
'write': 0
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Sales Manager',
'submit': 0,
'write': 0
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Sales User',
'submit': 0,
'write': 0
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Sales User',
'submit': 0,
'write': 0
},
# DocPerm
{
'amend': 0,
'cancel': 1,
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Sales Master Manager',
'submit': 0,
'write': 1
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Sales Master Manager',
'submit': 0,
'write': 0
},
# DocPerm
{
'cancel': 1,
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'System Manager',
'write': 1
},
# DocPerm
{
'create': 0,
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'System Manager',
'write': 0
},
# DocField
{
'colour': u'White:FFF',
'description': u'Note: You Can Manage Multiple Address or Contacts via Addresses & Contacts',
'doctype': u'DocField',
'fieldname': u'basic_info',
'fieldtype': u'Section Break',
'label': u'Sales Partner Details',
'oldfieldtype': u'Section Break',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'partner_name',
'fieldtype': u'Data',
'in_filter': 1,
'label': u'Sales Partner Name',
'oldfieldname': u'partner_name',
'oldfieldtype': u'Data',
'permlevel': 0,
'reqd': 1,
'search_index': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'partner_type',
'fieldtype': u'Select',
'in_filter': 1,
'label': u'Partner Type',
'oldfieldname': u'partner_type',
'oldfieldtype': u'Select',
'options': u'\nChannel Partner\nDistributor\nDealer\nAgent\nRetailer\nImplementation Partner\nReseller',
'permlevel': 0,
'search_index': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break0',
'fieldtype': u'Column Break',
'oldfieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'commission_rate',
'fieldtype': u'Currency',
'label': u'Commission Rate',
'oldfieldname': u'commission_rate',
'oldfieldtype': u'Currency',
'permlevel': 0,
'reqd': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'territory',
'fieldtype': u'Link',
'label': u'Territory',
'options': u'Territory',
'permlevel': 0,
'reqd': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'address_contacts',
'fieldtype': u'Section Break',
'label': u'Address & Contacts',
'permlevel': 0
},
# DocField
{
'colour': u'White:FFF',
'depends_on': u'eval:doc.__islocal',
'doctype': u'DocField',
'fieldname': u'address_desc',
'fieldtype': u'HTML',
'label': u'Address Desc',
'options': u'<em>Addresses will appear only when you save the customer</em>',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'address_html',
'fieldtype': u'HTML',
'label': u'Address HTML',
'permlevel': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break1',
'fieldtype': u'Column Break',
'permlevel': 0
},
# DocField
{
'colour': u'White:FFF',
'depends_on': u'eval:doc.__islocal',
'doctype': u'DocField',
'fieldname': u'contact_desc',
'fieldtype': u'HTML',
'label': u'Contact Desc',
'options': u'<em>Contact Details will appear only when you save the customer</em>',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'contact_html',
'fieldtype': u'HTML',
'label': u'Contact HTML',
'permlevel': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'partner_target_details_section_break',
'fieldtype': u'Section Break',
'label': u'Sales Partner Target',
'oldfieldtype': u'Section Break',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'partner_target_details',
'fieldtype': u'Table',
'label': u'Partner Target Detail',
'oldfieldname': u'partner_target_details',
'oldfieldtype': u'Table',
'options': u'Target Detail',
'permlevel': 0,
'reqd': 0
},
# DocField
{
'colour': u'White:FFF',
'description': u'Select Budget Distribution to unevenly distribute targets across months.',
'doctype': u'DocField',
'fieldname': u'distribution_id',
'fieldtype': u'Link',
'label': u'Target Distribution',
'oldfieldname': u'distribution_id',
'oldfieldtype': u'Link',
'options': u'Budget Distribution',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'trash_reason',
'fieldtype': u'Small Text',
'label': u'Trash Reason',
'oldfieldname': u'trash_reason',
'oldfieldtype': u'Small Text',
'permlevel': 1
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-07-03 13:30:54",
"modified_by": "Administrator",
"modified": "2012-07-12 11:22:15"
},
{
"section_style": "Tabbed",
"description": "A **Sales Partner** is a third party distributor / dealer / commission agent / affiliate / reseller who sells the companies products for a commission. This is useful if you make the end sale to the **Customer**, involving your **Sales Partner**.\n\nIf you sell to your **Sales Partner** who in-turn sells it to the **Customer**, then you must make a **Customer** instead.",
"module": "Setup",
"server_code_error": " ",
"allow_trash": 1,
"document_type": "Master",
"in_create": 0,
"read_only": 0,
"_last_update": "1322549700",
"autoname": "field:partner_name",
"name": "__common__",
"colour": "White:FFF",
"doctype": "DocType",
"show_in_menu": 0,
"version": 1
},
{
"name": "__common__",
"parent": "Sales Partner",
"doctype": "DocField",
"parenttype": "DocType",
"parentfield": "fields"
},
{
"name": "__common__",
"parent": "Sales Partner",
"read": 1,
"doctype": "DocPerm",
"parenttype": "DocType",
"parentfield": "permissions"
},
{
"name": "Sales Partner",
"doctype": "DocType"
},
{
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Sales Manager",
"cancel": 0,
"permlevel": 1
},
{
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Sales Manager",
"cancel": 0,
"permlevel": 0
},
{
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Sales User",
"cancel": 0,
"permlevel": 1
},
{
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Sales User",
"cancel": 0,
"permlevel": 0
},
{
"amend": 0,
"create": 1,
"doctype": "DocPerm",
"submit": 0,
"write": 1,
"role": "Sales Master Manager",
"cancel": 1,
"permlevel": 0
},
{
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Sales Master Manager",
"cancel": 0,
"permlevel": 1
},
{
"create": 1,
"doctype": "DocPerm",
"write": 1,
"role": "System Manager",
"cancel": 1,
"permlevel": 0
},
{
"create": 0,
"doctype": "DocPerm",
"write": 0,
"role": "System Manager",
"permlevel": 1
},
{
"description": "Note: You Can Manage Multiple Address or Contacts via Addresses & Contacts",
"oldfieldtype": "Section Break",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Sales Partner Details",
"fieldname": "basic_info",
"fieldtype": "Section Break",
"permlevel": 0
},
{
"search_index": 1,
"doctype": "DocField",
"label": "Sales Partner Name",
"oldfieldname": "partner_name",
"fieldname": "partner_name",
"fieldtype": "Data",
"oldfieldtype": "Data",
"reqd": 1,
"permlevel": 0,
"in_filter": 1
},
{
"search_index": 0,
"doctype": "DocField",
"label": "Partner Type",
"oldfieldname": "partner_type",
"permlevel": 0,
"fieldname": "partner_type",
"fieldtype": "Select",
"oldfieldtype": "Select",
"options": "\nChannel Partner\nDistributor\nDealer\nAgent\nRetailer\nImplementation Partner\nReseller",
"in_filter": 1
},
{
"oldfieldtype": "Column Break",
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break0",
"fieldtype": "Column Break",
"permlevel": 0
},
{
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Commission Rate",
"oldfieldname": "commission_rate",
"fieldname": "commission_rate",
"fieldtype": "Currency",
"reqd": 1,
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Territory",
"options": "Territory",
"fieldname": "territory",
"fieldtype": "Link",
"reqd": 1,
"permlevel": 0
},
{
"doctype": "DocField",
"label": "Address & Contacts",
"fieldname": "address_contacts",
"fieldtype": "Section Break",
"permlevel": 0
},
{
"depends_on": "eval:doc.__islocal",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Address Desc",
"permlevel": 0,
"fieldname": "address_desc",
"fieldtype": "HTML",
"options": "<em>Addresses will appear only when you save the customer</em>"
},
{
"doctype": "DocField",
"label": "Address HTML",
"fieldname": "address_html",
"fieldtype": "HTML",
"permlevel": 1
},
{
"doctype": "DocField",
"fieldname": "column_break1",
"fieldtype": "Column Break",
"permlevel": 0
},
{
"depends_on": "eval:doc.__islocal",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Contact Desc",
"permlevel": 0,
"fieldname": "contact_desc",
"fieldtype": "HTML",
"options": "<em>Contact Details will appear only when you save the customer</em>"
},
{
"doctype": "DocField",
"label": "Contact HTML",
"fieldname": "contact_html",
"fieldtype": "HTML",
"permlevel": 1
},
{
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "Sales Partner Target",
"fieldname": "partner_target_details_section_break",
"fieldtype": "Section Break",
"permlevel": 0
},
{
"oldfieldtype": "Table",
"doctype": "DocField",
"label": "Partner Target Detail",
"oldfieldname": "partner_target_details",
"permlevel": 0,
"fieldname": "partner_target_details",
"fieldtype": "Table",
"reqd": 0,
"options": "Target Detail"
},
{
"description": "Select Budget Distribution to unevenly distribute targets across months.",
"oldfieldtype": "Link",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Target Distribution",
"oldfieldname": "distribution_id",
"permlevel": 0,
"fieldname": "distribution_id",
"fieldtype": "Link",
"options": "Budget Distribution"
},
{
"oldfieldtype": "Small Text",
"doctype": "DocField",
"label": "Trash Reason",
"oldfieldname": "trash_reason",
"fieldname": "trash_reason",
"fieldtype": "Small Text",
"permlevel": 1
}
]

View File

@@ -1,61 +1,48 @@
# DocType, Series Detail
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:25',
'docstatus': 0,
'modified': '2012-03-27 14:36:25',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'colour': u'White:FFF',
'doctype': 'DocType',
'istable': 1,
'module': u'Setup',
'name': '__common__',
'section_style': u'Tray',
'show_in_menu': 0,
'version': 3
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Series Detail',
'parentfield': u'fields',
'parenttype': u'DocType',
'permlevel': 0
},
# DocType, Series Detail
{
'doctype': 'DocType',
'name': u'Series Detail'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'series',
'fieldtype': u'Read Only',
'label': u'Series',
'oldfieldname': u'series',
'oldfieldtype': u'Read Only'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'remove',
'fieldtype': u'Check',
'label': u'Remove',
'oldfieldname': u'remove',
'oldfieldtype': u'Check',
'trigger': u'Client'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:25",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:25"
},
{
"section_style": "Tray",
"istable": 1,
"name": "__common__",
"colour": "White:FFF",
"module": "Setup",
"doctype": "DocType",
"version": 3,
"show_in_menu": 0
},
{
"name": "__common__",
"parent": "Series Detail",
"doctype": "DocField",
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields"
},
{
"name": "Series Detail",
"doctype": "DocType"
},
{
"oldfieldtype": "Read Only",
"doctype": "DocField",
"label": "Series",
"oldfieldname": "series",
"fieldname": "series",
"fieldtype": "Read Only"
},
{
"oldfieldtype": "Check",
"doctype": "DocField",
"label": "Remove",
"oldfieldname": "remove",
"trigger": "Client",
"fieldname": "remove",
"fieldtype": "Check"
}
]

View File

@@ -237,7 +237,7 @@ class DocType:
self.add_roles(pr)
def add_roles(self, pr):
roles_list = ['Accounts Manager', 'Accounts User', 'Blogger', 'HR Manager', 'HR User', 'Maintenance User', 'Maintenance Manager', 'Material Manager', 'Material User', 'Material Master Manager', 'Production Manager', 'Production User', 'Projects User', 'Purchase Manager', 'Purchase User', 'Purchase Master Manager', 'Quality Manager', 'Sales Manager', 'Sales User', 'Sales Master Manager', 'Support Manager', 'Support Team', 'System Manager', 'Website Manager']
roles_list = ['Accounts Manager', 'Accounts User', 'Blogger', 'HR Manager', 'HR User', 'Maintenance User', 'Maintenance Manager', 'Material Manager', 'Material User', 'Material Master Manager', 'Manufacturing Manager', 'Manufacturing User', 'Projects User', 'Purchase Manager', 'Purchase User', 'Purchase Master Manager', 'Quality Manager', 'Sales Manager', 'Sales User', 'Sales Master Manager', 'Support Manager', 'Support Team', 'System Manager', 'Website Manager']
for r in roles_list:
d = addchild(pr, 'userroles', 'UserRole', 1)
d.role = r

View File

@@ -1,33 +1,26 @@
# DocType, Setup Control
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:25',
'docstatus': 0,
'modified': '2012-03-27 14:36:25',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'colour': u'White:FFF',
'doctype': 'DocType',
'in_create': 1,
'issingle': 1,
'istable': 0,
'module': u'Setup',
'name': '__common__',
'read_only': 1,
'section_style': u'Simple',
'server_code_error': u' ',
'version': 73
},
# DocType, Setup Control
{
'doctype': 'DocType',
'name': u'Setup Control'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:25",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:25"
},
{
"section_style": "Simple",
"istable": 0,
"in_create": 1,
"module": "Setup",
"doctype": "DocType",
"issingle": 1,
"read_only": 1,
"name": "__common__",
"colour": "White:FFF",
"server_code_error": " ",
"version": 73
},
{
"name": "Setup Control",
"doctype": "DocType"
}
]

View File

@@ -1,57 +1,44 @@
# DocType, SMS Parameter
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:25',
'docstatus': 0,
'modified': '2012-03-27 14:36:25',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'colour': u'White:FFF',
'doctype': 'DocType',
'istable': 1,
'module': u'Setup',
'name': '__common__',
'section_style': u'Simple',
'show_in_menu': 0,
'version': 4
},
# These values are common for all DocField
{
'doctype': u'DocField',
'fieldtype': u'Data',
'name': '__common__',
'parent': u'SMS Parameter',
'parentfield': u'fields',
'parenttype': u'DocType',
'permlevel': 0,
'reqd': 1,
'width': u'150px'
},
# DocType, SMS Parameter
{
'doctype': 'DocType',
'name': u'SMS Parameter'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'parameter',
'label': u'Parameter'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'value',
'label': u'Value'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:25",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:25"
},
{
"section_style": "Simple",
"istable": 1,
"name": "__common__",
"colour": "White:FFF",
"module": "Setup",
"doctype": "DocType",
"version": 4,
"show_in_menu": 0
},
{
"name": "__common__",
"parent": "SMS Parameter",
"width": "150px",
"doctype": "DocField",
"reqd": 1,
"parenttype": "DocType",
"fieldtype": "Data",
"permlevel": 0,
"parentfield": "fields"
},
{
"name": "SMS Parameter",
"doctype": "DocType"
},
{
"fieldname": "parameter",
"doctype": "DocField",
"label": "Parameter"
},
{
"fieldname": "value",
"doctype": "DocField",
"label": "Value"
}
]

View File

@@ -1,133 +1,106 @@
# DocType, SMS Settings
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:25',
'docstatus': 0,
'modified': '2012-03-27 14:36:25',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'_last_update': u'1306304974',
'allow_copy': 1,
'allow_email': 1,
'allow_print': 1,
'colour': u'White:FFF',
'doctype': 'DocType',
'in_create': 0,
'issingle': 1,
'module': u'Setup',
'name': '__common__',
'read_only': 0,
'section_style': u'Simple',
'show_in_menu': 0,
'version': 16
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'SMS Settings',
'parentfield': u'fields',
'parenttype': u'DocType',
'permlevel': 0
},
# These values are common for all DocPerm
{
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'SMS Settings',
'parentfield': u'permissions',
'parenttype': u'DocType',
'read': 1,
'role': u'System Manager'
},
# DocType, SMS Settings
{
'doctype': 'DocType',
'name': u'SMS Settings'
},
# DocPerm
{
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'write': 1
},
# DocPerm
{
'doctype': u'DocPerm',
'permlevel': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break0',
'fieldtype': u'Column Break',
'width': u'50%'
},
# DocField
{
'colour': u'White:FFF',
'description': u'Eg. smsgateway.com/api/send_sms.cgi',
'doctype': u'DocField',
'fieldname': u'sms_gateway_url',
'fieldtype': u'Data',
'label': u'SMS Gateway URL',
'reqd': 1
},
# DocField
{
'colour': u'White:FFF',
'description': u'Enter url parameter for message',
'doctype': u'DocField',
'fieldname': u'message_parameter',
'fieldtype': u'Data',
'label': u'Message Parameter',
'reqd': 1
},
# DocField
{
'colour': u'White:FFF',
'description': u'Enter url parameter for receiver nos',
'doctype': u'DocField',
'fieldname': u'receiver_parameter',
'fieldtype': u'Data',
'label': u'Receiver Parameter',
'reqd': 1
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'static_parameters',
'fieldtype': u'Column Break',
'label': u'Static Parameters',
'width': u'50%'
},
# DocField
{
'colour': u'White:FFF',
'description': u'Enter static url parameters here (Eg. sender=ERPNext, username=ERPNext, password=1234 etc.)',
'doctype': u'DocField',
'fieldname': u'static_parameter_details',
'fieldtype': u'Table',
'label': u'SMS Parameters',
'options': u'SMS Parameter'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:25",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:25"
},
{
"section_style": "Simple",
"in_create": 0,
"allow_print": 1,
"module": "Setup",
"doctype": "DocType",
"read_only": 0,
"allow_email": 1,
"issingle": 1,
"name": "__common__",
"colour": "White:FFF",
"_last_update": "1306304974",
"show_in_menu": 0,
"version": 16,
"allow_copy": 1
},
{
"name": "__common__",
"parent": "SMS Settings",
"doctype": "DocField",
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields"
},
{
"name": "__common__",
"parent": "SMS Settings",
"read": 1,
"doctype": "DocPerm",
"parenttype": "DocType",
"role": "System Manager",
"parentfield": "permissions"
},
{
"name": "SMS Settings",
"doctype": "DocType"
},
{
"write": 1,
"create": 1,
"permlevel": 0,
"doctype": "DocPerm"
},
{
"permlevel": 1,
"doctype": "DocPerm"
},
{
"width": "50%",
"fieldname": "column_break0",
"fieldtype": "Column Break",
"doctype": "DocField"
},
{
"description": "Eg. smsgateway.com/api/send_sms.cgi",
"colour": "White:FFF",
"doctype": "DocField",
"label": "SMS Gateway URL",
"fieldname": "sms_gateway_url",
"fieldtype": "Data",
"reqd": 1
},
{
"description": "Enter url parameter for message",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Message Parameter",
"fieldname": "message_parameter",
"fieldtype": "Data",
"reqd": 1
},
{
"description": "Enter url parameter for receiver nos",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Receiver Parameter",
"fieldname": "receiver_parameter",
"fieldtype": "Data",
"reqd": 1
},
{
"colour": "White:FFF",
"doctype": "DocField",
"label": "Static Parameters",
"width": "50%",
"fieldname": "static_parameters",
"fieldtype": "Column Break"
},
{
"description": "Enter static url parameters here (Eg. sender=ERPNext, username=ERPNext, password=1234 etc.)",
"colour": "White:FFF",
"doctype": "DocField",
"label": "SMS Parameters",
"fieldname": "static_parameter_details",
"fieldtype": "Table",
"options": "SMS Parameter"
}
]

View File

@@ -1,100 +1,79 @@
# DocType, State
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:25',
'docstatus': 0,
'modified': '2012-03-27 14:36:25',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'autoname': u'field:state_name',
'colour': u'White:FFF',
'doctype': 'DocType',
'document_type': u'Master',
'in_create': 0,
'module': u'Setup',
'name': '__common__',
'read_only': 0,
'section_style': u'Simple',
'server_code_error': u' ',
'show_in_menu': 0,
'version': 14
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'State',
'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'State',
'parentfield': u'permissions',
'parenttype': u'DocType',
'permlevel': 0,
'read': 1,
'write': 1
},
# DocType, State
{
'doctype': 'DocType',
'name': u'State'
},
# DocPerm
{
'doctype': u'DocPerm',
'role': u'System Manager'
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'doctype': u'DocPerm',
'role': u'Sales Master Manager',
'submit': 0
},
# DocPerm
{
'doctype': u'DocPerm',
'role': u'Purchase Master Manager'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'state_name',
'fieldtype': u'Data',
'label': u'State Name',
'oldfieldname': u'state_name',
'oldfieldtype': u'Data'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'country',
'fieldtype': u'Select',
'label': u'Country',
'oldfieldname': u'country',
'oldfieldtype': u'Select',
'options': u'link:Country'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:25",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:25"
},
{
"section_style": "Simple",
"in_create": 0,
"module": "Setup",
"server_code_error": " ",
"document_type": "Master",
"read_only": 0,
"autoname": "field:state_name",
"name": "__common__",
"colour": "White:FFF",
"doctype": "DocType",
"show_in_menu": 0,
"version": 14
},
{
"name": "__common__",
"parent": "State",
"doctype": "DocField",
"reqd": 1,
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields"
},
{
"name": "__common__",
"parent": "State",
"read": 1,
"create": 1,
"doctype": "DocPerm",
"write": 1,
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "permissions"
},
{
"name": "State",
"doctype": "DocType"
},
{
"role": "System Manager",
"doctype": "DocPerm"
},
{
"amend": 0,
"cancel": 0,
"role": "Sales Master Manager",
"doctype": "DocPerm",
"submit": 0
},
{
"role": "Purchase Master Manager",
"doctype": "DocPerm"
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "State Name",
"oldfieldname": "state_name",
"fieldname": "state_name",
"fieldtype": "Data"
},
{
"oldfieldtype": "Select",
"doctype": "DocField",
"label": "Country",
"oldfieldname": "country",
"fieldname": "country",
"fieldtype": "Select",
"options": "link:Country"
}
]

View File

@@ -1,92 +1,75 @@
# DocType, Target Detail
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:25',
'docstatus': 0,
'modified': '2012-03-27 14:36:25',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'colour': u'White:FFF',
'doctype': 'DocType',
'istable': 1,
'module': u'Setup',
'name': '__common__',
'section_style': u'Tray',
'server_code_error': u' ',
'show_in_menu': 0,
'version': 15
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Target Detail',
'parentfield': u'fields',
'parenttype': u'DocType',
'permlevel': 0
},
# DocType, Target Detail
{
'doctype': 'DocType',
'name': u'Target Detail'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'item_group',
'fieldtype': u'Link',
'in_filter': 1,
'label': u'Item Group',
'oldfieldname': u'item_group',
'oldfieldtype': u'Link',
'options': u'Item Group',
'reqd': 0,
'search_index': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'fiscal_year',
'fieldtype': u'Select',
'in_filter': 1,
'label': u'Fiscal Year',
'oldfieldname': u'fiscal_year',
'oldfieldtype': u'Select',
'options': u'link:Fiscal Year',
'reqd': 1,
'search_index': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'target_qty',
'fieldtype': u'Currency',
'label': u'Target Qty',
'oldfieldname': u'target_qty',
'oldfieldtype': u'Currency'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'target_amount',
'fieldtype': u'Currency',
'in_filter': 1,
'label': u'Target Amount',
'oldfieldname': u'target_amount',
'oldfieldtype': u'Currency',
'reqd': 0,
'search_index': 1
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:25",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:25"
},
{
"section_style": "Tray",
"istable": 1,
"name": "__common__",
"colour": "White:FFF",
"module": "Setup",
"show_in_menu": 0,
"version": 15,
"server_code_error": " ",
"doctype": "DocType"
},
{
"name": "__common__",
"parent": "Target Detail",
"doctype": "DocField",
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields"
},
{
"name": "Target Detail",
"doctype": "DocType"
},
{
"search_index": 1,
"doctype": "DocField",
"label": "Item Group",
"oldfieldname": "item_group",
"fieldname": "item_group",
"fieldtype": "Link",
"oldfieldtype": "Link",
"reqd": 0,
"options": "Item Group",
"in_filter": 1
},
{
"search_index": 1,
"doctype": "DocField",
"label": "Fiscal Year",
"oldfieldname": "fiscal_year",
"fieldname": "fiscal_year",
"fieldtype": "Select",
"oldfieldtype": "Select",
"reqd": 1,
"options": "link:Fiscal Year",
"in_filter": 1
},
{
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Target Qty",
"oldfieldname": "target_qty",
"fieldname": "target_qty",
"fieldtype": "Currency"
},
{
"search_index": 1,
"doctype": "DocField",
"label": "Target Amount",
"oldfieldname": "target_amount",
"fieldname": "target_amount",
"fieldtype": "Currency",
"oldfieldtype": "Currency",
"reqd": 0,
"in_filter": 1
}
]

View File

@@ -1,165 +1,134 @@
# DocType, Terms and Conditions
[
# These values are common in all dictionaries
{
'creation': '2012-07-03 13:30:54',
'docstatus': 0,
'modified': '2012-07-12 11:37:56',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'_last_update': u'1322549700',
'allow_trash': 1,
'autoname': u'field:title',
'colour': u'White:FFF',
'description': u'Standard Terms and Conditions that can be added to Sales and Purchases.\n\nExamples:\n\n1. Validity of the offer.\n1. Payment Terms (In Advance, On Credit, part advance etc).\n1. What is extra (or payable by the Customer).\n1. Safety / usage warning.\n1. Warranty if any.\n1. Returns Policy.\n1. Terms of shipping, if applicable.\n1. Ways of addressing disputes, indemnity, liability, etc.\n1. Address and Contact of your Company.',
'doctype': 'DocType',
'document_type': u'Master',
'module': u'Setup',
'name': '__common__',
'section_style': u'Simple',
'server_code_error': u' ',
'show_in_menu': 0,
'version': 1
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Terms and Conditions',
'parentfield': u'fields',
'parenttype': u'DocType'
},
# These values are common for all DocPerm
{
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'Terms and Conditions',
'parentfield': u'permissions',
'parenttype': u'DocType',
'read': 1
},
# DocType, Terms and Conditions
{
'doctype': 'DocType',
'name': u'Terms and Conditions'
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Sales Master Manager',
'submit': 0,
'write': 0
},
# DocPerm
{
'amend': 0,
'cancel': 1,
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Sales Master Manager',
'submit': 0,
'write': 1
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Sales User',
'submit': 0,
'write': 0
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Sales User',
'submit': 0,
'write': 0
},
# DocPerm
{
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'All'
},
# DocPerm
{
'cancel': 1,
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'System Manager',
'write': 1
},
# DocPerm
{
'cancel': 1,
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Accounts User',
'write': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'trash_reason',
'fieldtype': u'Small Text',
'label': u'Trash Reason',
'oldfieldname': u'trash_reason',
'oldfieldtype': u'Small Text',
'permlevel': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'title',
'fieldtype': u'Data',
'in_filter': 1,
'label': u'Title',
'oldfieldname': u'title',
'oldfieldtype': u'Data',
'permlevel': 0,
'reqd': 1,
'search_index': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'terms',
'fieldtype': u'Text Editor',
'label': u'Terms and Conditions',
'oldfieldname': u'terms',
'oldfieldtype': u'Text Editor',
'permlevel': 0
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-07-03 13:30:54",
"modified_by": "Administrator",
"modified": "2012-07-12 11:37:56"
},
{
"section_style": "Simple",
"description": "Standard Terms and Conditions that can be added to Sales and Purchases.\n\nExamples:\n\n1. Validity of the offer.\n1. Payment Terms (In Advance, On Credit, part advance etc).\n1. What is extra (or payable by the Customer).\n1. Safety / usage warning.\n1. Warranty if any.\n1. Returns Policy.\n1. Terms of shipping, if applicable.\n1. Ways of addressing disputes, indemnity, liability, etc.\n1. Address and Contact of your Company.",
"module": "Setup",
"doctype": "DocType",
"allow_trash": 1,
"server_code_error": " ",
"document_type": "Master",
"autoname": "field:title",
"name": "__common__",
"colour": "White:FFF",
"_last_update": "1322549700",
"show_in_menu": 0,
"version": 1
},
{
"name": "__common__",
"parent": "Terms and Conditions",
"doctype": "DocField",
"parenttype": "DocType",
"parentfield": "fields"
},
{
"name": "__common__",
"parent": "Terms and Conditions",
"read": 1,
"doctype": "DocPerm",
"parenttype": "DocType",
"parentfield": "permissions"
},
{
"name": "Terms and Conditions",
"doctype": "DocType"
},
{
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Sales Master Manager",
"cancel": 0,
"permlevel": 1
},
{
"amend": 0,
"create": 1,
"doctype": "DocPerm",
"submit": 0,
"write": 1,
"role": "Sales Master Manager",
"cancel": 1,
"permlevel": 0
},
{
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Sales User",
"cancel": 0,
"permlevel": 1
},
{
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Sales User",
"cancel": 0,
"permlevel": 0
},
{
"role": "All",
"permlevel": 1,
"doctype": "DocPerm"
},
{
"create": 1,
"doctype": "DocPerm",
"write": 1,
"role": "System Manager",
"cancel": 1,
"permlevel": 0
},
{
"create": 1,
"doctype": "DocPerm",
"write": 1,
"role": "Accounts User",
"cancel": 1,
"permlevel": 0
},
{
"oldfieldtype": "Small Text",
"doctype": "DocField",
"label": "Trash Reason",
"oldfieldname": "trash_reason",
"fieldname": "trash_reason",
"fieldtype": "Small Text",
"permlevel": 1
},
{
"search_index": 0,
"doctype": "DocField",
"label": "Title",
"oldfieldname": "title",
"fieldname": "title",
"fieldtype": "Data",
"oldfieldtype": "Data",
"reqd": 1,
"permlevel": 0,
"in_filter": 1
},
{
"oldfieldtype": "Text Editor",
"doctype": "DocField",
"label": "Terms and Conditions",
"oldfieldname": "terms",
"fieldname": "terms",
"fieldtype": "Text Editor",
"permlevel": 0
}
]

View File

@@ -1,138 +1,111 @@
# DocType, UOM
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:26',
'docstatus': 0,
'modified': '2012-03-27 14:36:26',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'_last_update': u'1307707462',
'allow_trash': 1,
'autoname': u'field:uom_name',
'colour': u'White:FFF',
'doctype': 'DocType',
'document_type': u'Master',
'module': u'Setup',
'name': '__common__',
'section_style': u'Tabbed',
'server_code_error': u' ',
'show_in_menu': 0,
'version': 5
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'UOM',
'parentfield': u'fields',
'parenttype': u'DocType'
},
# These values are common for all DocPerm
{
'amend': 0,
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'UOM',
'parentfield': u'permissions',
'parenttype': u'DocType',
'read': 1,
'submit': 0
},
# DocType, UOM
{
'doctype': 'DocType',
'name': u'UOM'
},
# DocPerm
{
'cancel': 1,
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Material Master Manager',
'write': 1
},
# DocPerm
{
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Material Manager',
'write': 0
},
# DocPerm
{
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Material Manager',
'write': 0
},
# DocPerm
{
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Material User',
'write': 0
},
# DocPerm
{
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Material User',
'write': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'trash_reason',
'fieldtype': u'Small Text',
'label': u'Trash Reason',
'oldfieldname': u'trash_reason',
'oldfieldtype': u'Small Text',
'permlevel': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'uom_details',
'fieldtype': u'Section Break',
'label': u'UOM Details',
'oldfieldtype': u'Section Break',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'uom_name',
'fieldtype': u'Data',
'label': u'UOM Name',
'oldfieldname': u'uom_name',
'oldfieldtype': u'Data',
'permlevel': 0,
'reqd': 1
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:26",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:26"
},
{
"section_style": "Tabbed",
"module": "Setup",
"doctype": "DocType",
"allow_trash": 1,
"server_code_error": " ",
"document_type": "Master",
"autoname": "field:uom_name",
"name": "__common__",
"colour": "White:FFF",
"_last_update": "1307707462",
"show_in_menu": 0,
"version": 5
},
{
"name": "__common__",
"parent": "UOM",
"doctype": "DocField",
"parenttype": "DocType",
"parentfield": "fields"
},
{
"name": "__common__",
"parent": "UOM",
"read": 1,
"doctype": "DocPerm",
"submit": 0,
"amend": 0,
"parenttype": "DocType",
"parentfield": "permissions"
},
{
"name": "UOM",
"doctype": "DocType"
},
{
"create": 1,
"doctype": "DocPerm",
"write": 1,
"role": "Material Master Manager",
"cancel": 1,
"permlevel": 0
},
{
"create": 0,
"doctype": "DocPerm",
"write": 0,
"role": "Material Manager",
"cancel": 0,
"permlevel": 1
},
{
"create": 0,
"doctype": "DocPerm",
"write": 0,
"role": "Material Manager",
"cancel": 0,
"permlevel": 0
},
{
"create": 0,
"doctype": "DocPerm",
"write": 0,
"role": "Material User",
"cancel": 0,
"permlevel": 1
},
{
"create": 0,
"doctype": "DocPerm",
"write": 0,
"role": "Material User",
"cancel": 0,
"permlevel": 0
},
{
"oldfieldtype": "Small Text",
"doctype": "DocField",
"label": "Trash Reason",
"oldfieldname": "trash_reason",
"fieldname": "trash_reason",
"fieldtype": "Small Text",
"permlevel": 1
},
{
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "UOM Details",
"fieldname": "uom_details",
"fieldtype": "Section Break",
"permlevel": 0
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "UOM Name",
"oldfieldname": "uom_name",
"fieldname": "uom_name",
"fieldtype": "Data",
"reqd": 1,
"permlevel": 0
}
]

View File

@@ -1,129 +1,104 @@
# DocType, Warehouse Type
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:26',
'docstatus': 0,
'modified': '2012-03-27 14:36:26',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'allow_trash': 1,
'autoname': u'field:warehouse_type',
'colour': u'White:FFF',
'doctype': 'DocType',
'istable': 0,
'module': u'Setup',
'name': '__common__',
'section_style': u'Simple',
'server_code_error': u' ',
'show_in_menu': 0,
'version': 6
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Warehouse Type',
'parentfield': u'fields',
'parenttype': u'DocType'
},
# These values are common for all DocPerm
{
'amend': 0,
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'Warehouse Type',
'parentfield': u'permissions',
'parenttype': u'DocType',
'read': 1,
'submit': 0
},
# DocType, Warehouse Type
{
'doctype': 'DocType',
'name': u'Warehouse Type'
},
# DocPerm
{
'cancel': 1,
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Material Master Manager',
'write': 1
},
# DocPerm
{
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Material Manager',
'write': 0
},
# DocPerm
{
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Material Manager',
'write': 0
},
# DocPerm
{
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Material User',
'write': 0
},
# DocPerm
{
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Material User',
'write': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'trash_reason',
'fieldtype': u'Small Text',
'label': u'Trash Reason',
'oldfieldname': u'trash_reason',
'oldfieldtype': u'Small Text',
'permlevel': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'warehouse_type',
'fieldtype': u'Data',
'in_filter': 1,
'label': u'Warehouse Type',
'oldfieldname': u'warehouse_type',
'oldfieldtype': u'Data',
'permlevel': 0,
'reqd': 1,
'search_index': 1
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:26",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:26"
},
{
"section_style": "Simple",
"istable": 0,
"module": "Setup",
"doctype": "DocType",
"allow_trash": 1,
"autoname": "field:warehouse_type",
"show_in_menu": 0,
"name": "__common__",
"colour": "White:FFF",
"server_code_error": " ",
"version": 6
},
{
"name": "__common__",
"parent": "Warehouse Type",
"doctype": "DocField",
"parenttype": "DocType",
"parentfield": "fields"
},
{
"name": "__common__",
"parent": "Warehouse Type",
"read": 1,
"doctype": "DocPerm",
"submit": 0,
"amend": 0,
"parenttype": "DocType",
"parentfield": "permissions"
},
{
"name": "Warehouse Type",
"doctype": "DocType"
},
{
"create": 1,
"doctype": "DocPerm",
"write": 1,
"role": "Material Master Manager",
"cancel": 1,
"permlevel": 0
},
{
"create": 0,
"doctype": "DocPerm",
"write": 0,
"role": "Material Manager",
"cancel": 0,
"permlevel": 1
},
{
"create": 0,
"doctype": "DocPerm",
"write": 0,
"role": "Material Manager",
"cancel": 0,
"permlevel": 0
},
{
"create": 0,
"doctype": "DocPerm",
"write": 0,
"role": "Material User",
"cancel": 0,
"permlevel": 1
},
{
"create": 0,
"doctype": "DocPerm",
"write": 0,
"role": "Material User",
"cancel": 0,
"permlevel": 0
},
{
"oldfieldtype": "Small Text",
"doctype": "DocField",
"label": "Trash Reason",
"oldfieldname": "trash_reason",
"fieldname": "trash_reason",
"fieldtype": "Small Text",
"permlevel": 1
},
{
"search_index": 1,
"doctype": "DocField",
"label": "Warehouse Type",
"oldfieldname": "warehouse_type",
"fieldname": "warehouse_type",
"fieldtype": "Data",
"oldfieldtype": "Data",
"reqd": 1,
"permlevel": 0,
"in_filter": 1
}
]

View File

@@ -1,61 +1,48 @@
# DocType, Workflow Action Detail
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:26',
'docstatus': 0,
'modified': '2012-03-27 14:36:26',
'modified_by': u'Administrator',
'owner': u'swarnalata@webnotestech.com'
},
# These values are common for all DocType
{
'colour': u'White:FFF',
'doctype': 'DocType',
'istable': 1,
'module': u'Setup',
'name': '__common__',
'section_style': u'Simple',
'show_in_menu': 0,
'version': 5
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Workflow Action Detail',
'parentfield': u'fields',
'parenttype': u'DocType',
'permlevel': 0,
'width': u'200px'
},
# DocType, Workflow Action Detail
{
'doctype': 'DocType',
'name': u'Workflow Action Detail'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'action_field',
'fieldtype': u'Select',
'label': u'Field',
'oldfieldname': u'action_field',
'oldfieldtype': u'Select'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'action_value',
'fieldtype': u'Data',
'label': u'Value',
'oldfieldname': u'action_value',
'oldfieldtype': u'Data'
}
{
"owner": "swarnalata@webnotestech.com",
"docstatus": 0,
"creation": "2012-03-27 14:36:26",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:26"
},
{
"section_style": "Simple",
"istable": 1,
"name": "__common__",
"colour": "White:FFF",
"module": "Setup",
"doctype": "DocType",
"version": 5,
"show_in_menu": 0
},
{
"name": "__common__",
"parent": "Workflow Action Detail",
"doctype": "DocField",
"width": "200px",
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields"
},
{
"name": "Workflow Action Detail",
"doctype": "DocType"
},
{
"oldfieldtype": "Select",
"doctype": "DocField",
"label": "Field",
"oldfieldname": "action_field",
"fieldname": "action_field",
"fieldtype": "Select"
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Value",
"oldfieldname": "action_value",
"fieldname": "action_value",
"fieldtype": "Data"
}
]

View File

@@ -1,31 +1,24 @@
# DocType, Workflow Engine
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:26',
'docstatus': 0,
'modified': '2012-03-27 14:36:26',
'modified_by': u'Administrator',
'owner': u'swarnalata@webnotestech.com'
},
# These values are common for all DocType
{
'colour': u'White:FFF',
'doctype': 'DocType',
'issingle': 1,
'module': u'Setup',
'name': '__common__',
'section_style': u'Simple',
'server_code_error': u' ',
'show_in_menu': 0,
'version': 4
},
# DocType, Workflow Engine
{
'doctype': 'DocType',
'name': u'Workflow Engine'
}
{
"owner": "swarnalata@webnotestech.com",
"docstatus": 0,
"creation": "2012-03-27 14:36:26",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:26"
},
{
"section_style": "Simple",
"name": "__common__",
"colour": "White:FFF",
"module": "Setup",
"show_in_menu": 0,
"version": 4,
"server_code_error": " ",
"doctype": "DocType",
"issingle": 1
},
{
"name": "Workflow Engine",
"doctype": "DocType"
}
]

View File

@@ -1,247 +1,204 @@
# DocType, Workflow Rule
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:26',
'docstatus': 0,
'modified': '2012-03-27 14:36:26',
'modified_by': u'Administrator',
'owner': u'swarnalata@webnotestech.com'
},
# These values are common for all DocType
{
'autoname': u'field:rule_name',
'colour': u'White:FFF',
'doctype': 'DocType',
'document_type': u'Master',
'module': u'Setup',
'name': '__common__',
'search_fields': u'select_form,rule_status',
'section_style': u'Tray',
'server_code_error': u' ',
'show_in_menu': 0,
'version': 31
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Workflow Rule',
'parentfield': u'fields',
'parenttype': u'DocType',
'permlevel': 0
},
# These values are common for all DocPerm
{
'create': 1,
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'Workflow Rule',
'parentfield': u'permissions',
'parenttype': u'DocType',
'permlevel': 0,
'read': 1,
'role': u'System Manager',
'write': 1
},
# DocType, Workflow Rule
{
'doctype': 'DocType',
'name': u'Workflow Rule'
},
# DocPerm
{
'doctype': u'DocPerm'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'rule_definition',
'fieldtype': u'Section Break',
'label': u'Rule Definition',
'oldfieldtype': u'Section Break'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'intro_html',
'fieldtype': u'HTML',
'label': u'Intro HTML',
'oldfieldtype': u'HTML',
'options': u'<b>Select form for which you want to define rules,set priority & status.</b>'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'rule_name',
'fieldtype': u'Data',
'label': u'Rule Name',
'oldfieldname': u'rule_name',
'oldfieldtype': u'Data',
'reqd': 1
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'rule_status',
'fieldtype': u'Select',
'in_filter': 1,
'label': u'Rule Status',
'oldfieldname': u'rule_status',
'oldfieldtype': u'Select',
'options': u'\nActive\nInactive',
'reqd': 1,
'search_index': 0
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'select_form',
'fieldtype': u'Link',
'in_filter': 1,
'label': u'Select Form',
'oldfieldname': u'select_form',
'oldfieldtype': u'Link',
'options': u'DocType',
'reqd': 1,
'search_index': 1,
'trigger': u'Client'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'rule_priority',
'fieldtype': u'Int',
'label': u'Rule Priority',
'oldfieldname': u'rule_priority',
'oldfieldtype': u'Int',
'reqd': 0
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'define_rule',
'fieldtype': u'Section Break',
'label': u'Define Rule',
'oldfieldtype': u'Section Break',
'options': u'Simple'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'workflow_rule_details',
'fieldtype': u'Table',
'label': u'Workflow Rule Details',
'oldfieldname': u'workflow_rule_details',
'oldfieldtype': u'Table',
'options': u'Workflow Rule Detail',
'width': u'100px'
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'extra_condition',
'fieldtype': u'Code',
'hidden': 1,
'label': u'Extra Condition',
'oldfieldname': u'extra_condition',
'oldfieldtype': u'Code',
'print_hide': 1
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'action_detail',
'fieldtype': u'Section Break',
'label': u'Action Detail',
'oldfieldtype': u'Section Break'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'action_html',
'fieldtype': u'HTML',
'label': u'Action html',
'oldfieldtype': u'HTML',
'options': u'<b>Specify actions to be taken when conditions hold satisfied</b>'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'workflow_action_details',
'fieldtype': u'Table',
'label': u'Workflow Action Details',
'oldfieldname': u'workflow_action_details',
'oldfieldtype': u'Table',
'options': u'Workflow Action Detail'
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'reject_html',
'fieldtype': u'HTML',
'hidden': 1,
'label': u'Reject HTML',
'no_copy': 1,
'oldfieldtype': u'HTML',
'options': u"<b>If any condition holds false the following message will be displayed . If you wish to stop rule engine when condition holds false then set 'Raise Exception' as 'Yes' otherwise keep this field blank or 'No'.</b>",
'print_hide': 1,
'report_hide': 1
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'message',
'fieldtype': u'Text',
'hidden': 1,
'label': u'Enter message',
'no_copy': 1,
'oldfieldname': u'message',
'oldfieldtype': u'Text',
'print_hide': 1,
'report_hide': 1
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'raise_exception',
'fieldtype': u'Select',
'hidden': 1,
'label': u'Raise Exception',
'no_copy': 1,
'oldfieldname': u'raise_exception',
'oldfieldtype': u'Select',
'options': u'\nYes\nNo',
'print_hide': 1,
'report_hide': 1
}
{
"owner": "swarnalata@webnotestech.com",
"docstatus": 0,
"creation": "2012-03-27 14:36:26",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:26"
},
{
"section_style": "Tray",
"search_fields": "select_form,rule_status",
"module": "Setup",
"server_code_error": " ",
"doctype": "DocType",
"autoname": "field:rule_name",
"document_type": "Master",
"name": "__common__",
"colour": "White:FFF",
"show_in_menu": 0,
"version": 31
},
{
"name": "__common__",
"parent": "Workflow Rule",
"doctype": "DocField",
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields"
},
{
"parent": "Workflow Rule",
"read": 1,
"name": "__common__",
"create": 1,
"doctype": "DocPerm",
"write": 1,
"parenttype": "DocType",
"role": "System Manager",
"permlevel": 0,
"parentfield": "permissions"
},
{
"name": "Workflow Rule",
"doctype": "DocType"
},
{
"doctype": "DocPerm"
},
{
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "Rule Definition",
"fieldname": "rule_definition",
"fieldtype": "Section Break"
},
{
"oldfieldtype": "HTML",
"doctype": "DocField",
"label": "Intro HTML",
"fieldname": "intro_html",
"fieldtype": "HTML",
"options": "<b>Select form for which you want to define rules,set priority & status.</b>"
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Rule Name",
"oldfieldname": "rule_name",
"fieldname": "rule_name",
"fieldtype": "Data",
"reqd": 1
},
{
"search_index": 0,
"colour": "White:FFF",
"doctype": "DocField",
"label": "Rule Status",
"oldfieldname": "rule_status",
"fieldname": "rule_status",
"fieldtype": "Select",
"oldfieldtype": "Select",
"reqd": 1,
"options": "\nActive\nInactive",
"in_filter": 1
},
{
"oldfieldtype": "Link",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Select Form",
"oldfieldname": "select_form",
"trigger": "Client",
"fieldname": "select_form",
"fieldtype": "Link",
"search_index": 1,
"reqd": 1,
"options": "DocType",
"in_filter": 1
},
{
"oldfieldtype": "Int",
"doctype": "DocField",
"label": "Rule Priority",
"oldfieldname": "rule_priority",
"fieldname": "rule_priority",
"fieldtype": "Int",
"reqd": 0
},
{
"oldfieldtype": "Section Break",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Define Rule",
"fieldname": "define_rule",
"fieldtype": "Section Break",
"options": "Simple"
},
{
"oldfieldtype": "Table",
"doctype": "DocField",
"label": "Workflow Rule Details",
"oldfieldname": "workflow_rule_details",
"width": "100px",
"fieldname": "workflow_rule_details",
"fieldtype": "Table",
"options": "Workflow Rule Detail"
},
{
"print_hide": 1,
"oldfieldtype": "Code",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Extra Condition",
"oldfieldname": "extra_condition",
"fieldname": "extra_condition",
"fieldtype": "Code",
"hidden": 1
},
{
"oldfieldtype": "Section Break",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Action Detail",
"fieldname": "action_detail",
"fieldtype": "Section Break"
},
{
"oldfieldtype": "HTML",
"doctype": "DocField",
"label": "Action html",
"fieldname": "action_html",
"fieldtype": "HTML",
"options": "<b>Specify actions to be taken when conditions hold satisfied</b>"
},
{
"oldfieldtype": "Table",
"doctype": "DocField",
"label": "Workflow Action Details",
"oldfieldname": "workflow_action_details",
"fieldname": "workflow_action_details",
"fieldtype": "Table",
"options": "Workflow Action Detail"
},
{
"print_hide": 1,
"no_copy": 1,
"oldfieldtype": "HTML",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Reject HTML",
"fieldname": "reject_html",
"fieldtype": "HTML",
"hidden": 1,
"options": "<b>If any condition holds false the following message will be displayed . If you wish to stop rule engine when condition holds false then set 'Raise Exception' as 'Yes' otherwise keep this field blank or 'No'.</b>",
"report_hide": 1
},
{
"print_hide": 1,
"no_copy": 1,
"oldfieldtype": "Text",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Enter message",
"oldfieldname": "message",
"fieldname": "message",
"fieldtype": "Text",
"hidden": 1,
"report_hide": 1
},
{
"print_hide": 1,
"no_copy": 1,
"oldfieldtype": "Select",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Raise Exception",
"oldfieldname": "raise_exception",
"fieldname": "raise_exception",
"fieldtype": "Select",
"hidden": 1,
"options": "\nYes\nNo",
"report_hide": 1
}
]

View File

@@ -1,106 +1,85 @@
# DocType, Workflow Rule Detail
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:26',
'docstatus': 0,
'modified': '2012-03-27 14:36:26',
'modified_by': u'Administrator',
'owner': u'swarnalata@webnotestech.com'
},
# These values are common for all DocType
{
'colour': u'White:FFF',
'doctype': 'DocType',
'istable': 1,
'module': u'Setup',
'name': '__common__',
'section_style': u'Simple',
'show_in_menu': 0,
'version': 9
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Workflow Rule Detail',
'parentfield': u'fields',
'parenttype': u'DocType',
'permlevel': 0
},
# DocType, Workflow Rule Detail
{
'doctype': 'DocType',
'name': u'Workflow Rule Detail'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'rule_field',
'fieldtype': u'Select',
'label': u'Field',
'oldfieldname': u'rule_field',
'oldfieldtype': u'Select',
'options': u'[]',
'width': u'200px'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'operator',
'fieldtype': u'Select',
'label': u'Operator',
'oldfieldname': u'operator',
'oldfieldtype': u'Select',
'options': u'\nequal\nnot equal\ngreater than\ngreater than equal\nless than\nless than equal'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'value',
'fieldtype': u'Data',
'label': u'Value',
'oldfieldname': u'value',
'oldfieldtype': u'Data',
'width': u'100px'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'comparing_field',
'fieldtype': u'Select',
'label': u'Field from other forms',
'oldfieldname': u'comparing_field',
'oldfieldtype': u'Select'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'message',
'fieldtype': u'Data',
'label': u'Message when Cond. False',
'oldfieldname': u'message',
'oldfieldtype': u'Data',
'width': u'200px'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'exception',
'fieldtype': u'Select',
'label': u'Raise Exception',
'oldfieldname': u'exception',
'oldfieldtype': u'Select',
'options': u'\nYes\nNo'
}
{
"owner": "swarnalata@webnotestech.com",
"docstatus": 0,
"creation": "2012-03-27 14:36:26",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:26"
},
{
"section_style": "Simple",
"istable": 1,
"name": "__common__",
"colour": "White:FFF",
"module": "Setup",
"doctype": "DocType",
"version": 9,
"show_in_menu": 0
},
{
"name": "__common__",
"parent": "Workflow Rule Detail",
"doctype": "DocField",
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields"
},
{
"name": "Workflow Rule Detail",
"doctype": "DocType"
},
{
"oldfieldtype": "Select",
"doctype": "DocField",
"label": "Field",
"oldfieldname": "rule_field",
"width": "200px",
"fieldname": "rule_field",
"fieldtype": "Select",
"options": "[]"
},
{
"oldfieldtype": "Select",
"doctype": "DocField",
"label": "Operator",
"oldfieldname": "operator",
"fieldname": "operator",
"fieldtype": "Select",
"options": "\nequal\nnot equal\ngreater than\ngreater than equal\nless than\nless than equal"
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Value",
"oldfieldname": "value",
"width": "100px",
"fieldname": "value",
"fieldtype": "Data"
},
{
"oldfieldtype": "Select",
"doctype": "DocField",
"label": "Field from other forms",
"oldfieldname": "comparing_field",
"fieldname": "comparing_field",
"fieldtype": "Select"
},
{
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Message when Cond. False",
"oldfieldname": "message",
"width": "200px",
"fieldname": "message",
"fieldtype": "Data"
},
{
"oldfieldtype": "Select",
"doctype": "DocField",
"label": "Raise Exception",
"oldfieldname": "exception",
"fieldname": "exception",
"fieldtype": "Select",
"options": "\nYes\nNo"
}
]

View File

@@ -1,7 +1,7 @@
wn.require('lib/js/lib/jquery/jquery.ui.sortable.js');
$.extend(wn.pages.modules_setup, {
modules: ['Activity', 'Accounts', 'Selling', 'Buying', 'Stock', 'Production', 'Projects',
modules: ['Activity', 'Accounts', 'Selling', 'Buying', 'Stock', 'Manufacturing', 'Projects',
'Support', 'HR', 'Website', 'To Do', 'Messages', 'Calendar', 'Knowledge Base'],
onload: function(wrapper) {
wn.pages.modules_setup.refresh_page(wn.boot.modules_list);
@@ -11,7 +11,6 @@ $.extend(wn.pages.modules_setup, {
// Hide Setup and Dashboard modules
ml.indexOf('Setup')!=-1 && ml.splice(ml.indexOf('Setup'), 1);
ml.indexOf('Dashboard')!=-1 && ml.splice(ml.indexOf('Dashboard'), 1);
// checked modules
for(i in ml) {

View File

@@ -1,43 +1,32 @@
# Page, modules_setup
[
# These values are common in all dictionaries
{
u'creation': '2012-06-14 15:07:28',
u'docstatus': 0,
u'modified': '2012-10-04 16:55:31',
u'modified_by': u'Administrator',
u'owner': u'Administrator'
},
# These values are common for all Page
{
u'doctype': u'Page',
'module': u'Setup',
u'name': u'__common__',
'page_name': u'modules_setup',
'standard': u'Yes',
'title': u'Modules Setup'
},
# These values are common for all Page Role
{
u'doctype': u'Page Role',
u'name': u'__common__',
'parent': u'modules_setup',
'parentfield': u'roles',
'parenttype': u'Page',
'role': u'System Manager'
},
# Page, modules_setup
{
u'doctype': u'Page',
u'name': u'modules_setup'
},
# Page Role
{
u'doctype': u'Page Role'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-06-14 15:07:28",
"modified_by": "Administrator",
"modified": "2012-10-04 16:55:31"
},
{
"name": "__common__",
"title": "Modules Setup",
"module": "Setup",
"doctype": "Page",
"page_name": "modules_setup",
"standard": "Yes"
},
{
"parent": "modules_setup",
"name": "__common__",
"doctype": "Page Role",
"parenttype": "Page",
"role": "System Manager",
"parentfield": "roles"
},
{
"name": "modules_setup",
"doctype": "Page"
},
{
"doctype": "Page Role"
}
]

View File

@@ -1,44 +1,32 @@
# Page, Permission Engine
[
# These values are common in all dictionaries
{
'creation': '2010-12-14 10:23:18',
'docstatus': 0,
'modified': '2011-01-04 13:11:17',
'modified_by': 'Administrator',
'owner': 'saumil@webnotestech.com'
},
# These values are common for all Page
{
'doctype': 'Page',
'module': 'Setup',
'name': '__common__',
'page_name': 'Permission Engine',
'show_in_menu': 1,
'standard': 'Yes'
},
# These values are common for all Page Role
{
'doctype': 'Page Role',
'idx': 1,
'name': '__common__',
'parent': 'Permission Engine',
'parentfield': 'roles',
'parenttype': 'Page',
'role': 'System Manager'
},
# Page, Permission Engine
{
'doctype': 'Page',
'name': 'Permission Engine'
},
# Page Role
{
'doctype': 'Page Role'
}
{
"owner": "saumil@webnotestech.com",
"docstatus": 0,
"creation": "2010-12-14 10:23:18",
"modified_by": "Administrator",
"modified": "2011-01-04 13:11:17"
},
{
"name": "__common__",
"module": "Setup",
"show_in_menu": 1,
"page_name": "Permission Engine",
"doctype": "Page",
"standard": "Yes"
},
{
"parent": "Permission Engine",
"name": "__common__",
"doctype": "Page Role",
"parenttype": "Page",
"role": "System Manager",
"parentfield": "roles"
},
{
"name": "Permission Engine",
"doctype": "Page"
},
{
"doctype": "Page Role"
}
]

View File

@@ -1,42 +1,31 @@
# Page, Setup
[
# These values are common in all dictionaries
{
u'creation': '2012-06-14 15:07:28',
u'docstatus': 0,
u'modified': '2012-10-04 16:52:41',
u'modified_by': u'Administrator',
u'owner': u'Administrator'
},
# These values are common for all Page
{
u'doctype': u'Page',
'module': u'Setup',
u'name': u'__common__',
'page_name': u'Setup',
'standard': u'Yes'
},
# These values are common for all Page Role
{
u'doctype': u'Page Role',
u'name': u'__common__',
'parent': u'Setup',
'parentfield': u'roles',
'parenttype': u'Page',
'role': u'System Manager'
},
# Page, Setup
{
u'doctype': u'Page',
u'name': u'Setup'
},
# Page Role
{
u'doctype': u'Page Role'
}
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-06-14 15:07:28",
"modified_by": "Administrator",
"modified": "2012-10-04 16:52:41"
},
{
"name": "__common__",
"module": "Setup",
"standard": "Yes",
"page_name": "Setup",
"doctype": "Page"
},
{
"parent": "Setup",
"name": "__common__",
"doctype": "Page Role",
"parenttype": "Page",
"role": "System Manager",
"parentfield": "roles"
},
{
"name": "Setup",
"doctype": "Page"
},
{
"doctype": "Page Role"
}
]