Removed basic info section

This commit is contained in:
Nabin Hait 2012-11-28 16:49:18 +05:30
parent ee48ef747c
commit c4fb30dc8d
22 changed files with 7926 additions and 9850 deletions

View File

@ -1,437 +1,344 @@
# DocType, Form 16A
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:35:41',
'docstatus': 0,
'modified': '2012-03-27 14:35:41',
'modified_by': u'Administrator',
'owner': u'Administrator'
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-07-03 13:29:51",
"modified_by": "Administrator",
"modified": "2012-03-27 14:35:41"
},
# These values are common for all DocType
{
'_last_update': u'1308123438',
'colour': u'White:FFF',
'doctype': 'DocType',
'in_create': 0,
'module': u'Accounts',
'name': '__common__',
'section_style': u'Simple',
'server_code_error': u' ',
'show_in_menu': 0,
'version': 75
"in_create": 0,
"doctype": "DocType",
"module": "Accounts",
"name": "__common__"
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Form 16A',
'parentfield': u'fields',
'parenttype': u'DocType'
"name": "__common__",
"parent": "Form 16A",
"doctype": "DocField",
"parenttype": "DocType",
"parentfield": "fields"
},
# These values are common for all DocPerm
{
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'Form 16A',
'parentfield': u'permissions',
'parenttype': u'DocType',
'read': 1
"name": "__common__",
"parent": "Form 16A",
"read": 1,
"doctype": "DocPerm",
"parenttype": "DocType",
"parentfield": "permissions"
},
# DocType, Form 16A
{
'doctype': 'DocType',
'name': u'Form 16A'
"name": "Form 16A",
"doctype": "DocType"
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Accounts Manager',
'submit': 0,
'write': 0
"oldfieldtype": "Column Break",
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break0",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Accounts Manager',
'submit': 0,
'write': 1
"oldfieldtype": "Date",
"doctype": "DocField",
"label": "From Date",
"oldfieldname": "from_date",
"fieldname": "from_date",
"fieldtype": "Date",
"reqd": 1,
"permlevel": 0
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Accounts User',
'submit': 0,
'write': 0
"oldfieldtype": "Date",
"doctype": "DocField",
"label": "To Date",
"oldfieldname": "to_date",
"trigger": "Client",
"fieldname": "to_date",
"fieldtype": "Date",
"reqd": 1,
"permlevel": 0
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Accounts User',
'submit': 0,
'write': 1
"oldfieldtype": "Link",
"colour": "White:FFF",
"doctype": "DocField",
"label": "TDS Category",
"oldfieldname": "tds_category",
"options": "TDS Category",
"fieldname": "tds_category",
"fieldtype": "Link",
"reqd": 1,
"permlevel": 0,
"in_filter": 1
},
# DocPerm
{
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'System Manager',
'write': 1
"oldfieldtype": "Link",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Party Name",
"oldfieldname": "party_name",
"permlevel": 0,
"trigger": "Client",
"fieldname": "party_name",
"fieldtype": "Link",
"reqd": 1,
"hidden": 0,
"options": "Account",
"in_filter": 1
},
# DocPerm
{
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'System Manager'
"oldfieldtype": "Small Text",
"doctype": "DocField",
"label": "Address",
"oldfieldname": "party_address",
"fieldname": "party_address",
"fieldtype": "Small Text",
"reqd": 0,
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'basic_info',
'fieldtype': u'Section Break',
'label': u'Basic Info',
'oldfieldtype': u'Section Break',
'permlevel': 0
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "PAN No",
"oldfieldname": "pan_number",
"fieldname": "pan_number",
"fieldtype": "Data",
"hidden": 0,
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break0',
'fieldtype': u'Column Break',
'oldfieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"oldfieldtype": "Column Break",
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break1",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'from_date',
'fieldtype': u'Date',
'label': u'From Date',
'oldfieldname': u'from_date',
'oldfieldtype': u'Date',
'permlevel': 0,
'reqd': 1
"oldfieldtype": "Select",
"doctype": "DocField",
"label": "Fiscal Year",
"oldfieldname": "fiscal_year",
"options": "link:Fiscal Year",
"fieldname": "fiscal_year",
"fieldtype": "Select",
"reqd": 1,
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'to_date',
'fieldtype': u'Date',
'label': u'To Date',
'oldfieldname': u'to_date',
'oldfieldtype': u'Date',
'permlevel': 0,
'reqd': 1,
'trigger': u'Client'
"oldfieldtype": "Link",
"doctype": "DocField",
"label": "Company ",
"oldfieldname": "company",
"options": "Company",
"fieldname": "company",
"fieldtype": "Link",
"search_index": 1,
"reqd": 1,
"permlevel": 0,
"in_filter": 1
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'tds_category',
'fieldtype': u'Link',
'in_filter': 1,
'label': u'TDS Category',
'oldfieldname': u'tds_category',
'oldfieldtype': u'Link',
'options': u'TDS Category',
'permlevel': 0,
'reqd': 1
"oldfieldtype": "Small Text",
"doctype": "DocField",
"label": "Company Address",
"oldfieldname": "company_address",
"fieldname": "company_address",
"fieldtype": "Small Text",
"permlevel": 1
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'party_name',
'fieldtype': u'Link',
'hidden': 0,
'in_filter': 1,
'label': u'Party Name',
'oldfieldname': u'party_name',
'oldfieldtype': u'Link',
'options': u'Account',
'permlevel': 0,
'reqd': 1,
'trigger': u'Client'
"oldfieldtype": "Small Text",
"doctype": "DocField",
"label": "Registration Details",
"oldfieldname": "registration_details",
"fieldname": "registration_details",
"fieldtype": "Small Text",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'party_address',
'fieldtype': u'Small Text',
'label': u'Address',
'oldfieldname': u'party_address',
'oldfieldtype': u'Small Text',
'permlevel': 1,
'reqd': 0
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "Return Details",
"fieldname": "return_details",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'pan_number',
'fieldtype': u'Data',
'hidden': 0,
'label': u'PAN No',
'oldfieldname': u'pan_number',
'oldfieldtype': u'Data',
'permlevel': 1
"oldfieldtype": "Button",
"doctype": "DocField",
"label": "Get Return Details",
"options": "get_return_ack_details",
"fieldname": "get_return_details",
"fieldtype": "Button",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break1',
'fieldtype': u'Column Break',
'oldfieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"oldfieldtype": "Table",
"doctype": "DocField",
"label": "Form 16A Ack Details",
"oldfieldname": "form_16A_ack_details",
"options": "Form 16A Ack Detail",
"fieldname": "form_16A_ack_details",
"fieldtype": "Table",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'fiscal_year',
'fieldtype': u'Select',
'label': u'Fiscal Year',
'oldfieldname': u'fiscal_year',
'oldfieldtype': u'Select',
'options': u'link:Fiscal Year',
'permlevel': 0,
'reqd': 1
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "Payment Details",
"fieldname": "payment_details",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'company',
'fieldtype': u'Link',
'in_filter': 1,
'label': u'Company ',
'oldfieldname': u'company',
'oldfieldtype': u'Link',
'options': u'Company',
'permlevel': 0,
'reqd': 1,
'search_index': 1
"oldfieldtype": "Button",
"doctype": "DocField",
"label": "Get TDS",
"options": "get_tds",
"fieldname": "get_tds",
"fieldtype": "Button",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'company_address',
'fieldtype': u'Small Text',
'label': u'Company Address',
'oldfieldname': u'company_address',
'oldfieldtype': u'Small Text',
'permlevel': 1
"oldfieldtype": "Table",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Tax Details",
"oldfieldname": "form_16A_tax_details",
"options": "Form 16A Tax Detail",
"fieldname": "form_16A_tax_details",
"fieldtype": "Table",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'registration_details',
'fieldtype': u'Small Text',
'label': u'Registration Details',
'oldfieldname': u'registration_details',
'oldfieldtype': u'Small Text',
'permlevel': 0
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Total Amount",
"oldfieldname": "total_amount",
"fieldname": "total_amount",
"fieldtype": "Currency",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'return_details',
'fieldtype': u'Section Break',
'label': u'Return Details',
'oldfieldtype': u'Section Break',
'permlevel': 0
"doctype": "DocField",
"label": "In Words",
"fieldname": "in_words",
"fieldtype": "Data",
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'get_return_details',
'fieldtype': u'Button',
'label': u'Get Return Details',
'oldfieldtype': u'Button',
'options': u'get_return_ack_details',
'permlevel': 0
"oldfieldtype": "Section Break",
"doctype": "DocField",
"options": "Simple",
"fieldname": "section_break0",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'form_16A_ack_details',
'fieldtype': u'Table',
'label': u'Form 16A Ack Details',
'oldfieldname': u'form_16A_ack_details',
'oldfieldtype': u'Table',
'options': u'Form 16A Ack Detail',
'permlevel': 0
"oldfieldtype": "Column Break",
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break2",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'payment_details',
'fieldtype': u'Section Break',
'label': u'Payment Details',
'oldfieldtype': u'Section Break',
'permlevel': 0
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Place",
"oldfieldname": "place",
"fieldname": "place",
"fieldtype": "Data",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'get_tds',
'fieldtype': u'Button',
'label': u'Get TDS',
'oldfieldtype': u'Button',
'options': u'get_tds',
'permlevel': 0
"oldfieldtype": "Date",
"doctype": "DocField",
"label": "Date",
"oldfieldname": "dt",
"fieldname": "dt",
"fieldtype": "Date",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'form_16A_tax_details',
'fieldtype': u'Table',
'label': u'Tax Details',
'oldfieldname': u'form_16A_tax_details',
'oldfieldtype': u'Table',
'options': u'Form 16A Tax Detail',
'permlevel': 0
"oldfieldtype": "Column Break",
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break3",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'total_amount',
'fieldtype': u'Currency',
'label': u'Total Amount',
'oldfieldname': u'total_amount',
'oldfieldtype': u'Currency',
'permlevel': 0
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Full Name",
"oldfieldname": "full_name",
"fieldname": "full_name",
"fieldtype": "Data",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'in_words',
'fieldtype': u'Data',
'label': u'In Words',
'permlevel': 1
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Designation",
"oldfieldname": "designation",
"fieldname": "designation",
"fieldtype": "Data",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'section_break0',
'fieldtype': u'Section Break',
'oldfieldtype': u'Section Break',
'options': u'Simple',
'permlevel': 0
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Accounts Manager",
"cancel": 0,
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break2',
'fieldtype': u'Column Break',
'oldfieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"amend": 0,
"create": 1,
"doctype": "DocPerm",
"submit": 0,
"write": 1,
"role": "Accounts Manager",
"cancel": 0,
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'place',
'fieldtype': u'Data',
'label': u'Place',
'oldfieldname': u'place',
'oldfieldtype': u'Data',
'permlevel': 0
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Accounts User",
"cancel": 0,
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'dt',
'fieldtype': u'Date',
'label': u'Date',
'oldfieldname': u'dt',
'oldfieldtype': u'Date',
'permlevel': 0
"amend": 0,
"create": 1,
"doctype": "DocPerm",
"submit": 0,
"write": 1,
"role": "Accounts User",
"cancel": 0,
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break3',
'fieldtype': u'Column Break',
'oldfieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"create": 1,
"doctype": "DocPerm",
"write": 1,
"role": "System Manager",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'full_name',
'fieldtype': u'Data',
'label': u'Full Name',
'oldfieldname': u'full_name',
'oldfieldtype': u'Data',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'designation',
'fieldtype': u'Data',
'label': u'Designation',
'oldfieldname': u'designation',
'oldfieldtype': u'Data',
'permlevel': 0
"doctype": "DocPerm",
"role": "System Manager",
"permlevel": 1
}
]

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-07-17 13:24:59",
"creation": "2012-11-28 11:26:17",
"modified_by": "Administrator",
"modified": "2012-11-26 11:52:32"
},
@ -35,15 +35,6 @@
"name": "Purchase Invoice",
"doctype": "DocType"
},
{
"oldfieldtype": "Section Break",
"allow_on_submit": 0,
"doctype": "DocField",
"label": "Basic Info",
"fieldname": "basic_info",
"fieldtype": "Section Break",
"permlevel": 0
},
{
"oldfieldtype": "Column Break",
"doctype": "DocField",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,527 +1,426 @@
# DocType, Purchase Request
[
# These values are common in all dictionaries
{
'creation': '2012-04-13 11:56:20',
'docstatus': 0,
'modified': '2012-05-01 13:02:17',
'modified_by': u'Administrator',
'owner': u'Administrator'
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-07-03 13:29:58",
"modified_by": "Administrator",
"modified": "2012-05-01 13:02:17"
},
# These values are common for all DocType
{
'_last_update': u'1326190064',
'allow_attach': 1,
'allow_print': 0,
'colour': u'White:FFF',
'default_print_format': u'Standard',
'doctype': 'DocType',
'is_submittable': 1,
'module': u'Buying',
'name': '__common__',
'read_only_onload': 1,
'search_fields': u'status,transaction_date,sales_order_no',
'section_style': u'Tabbed',
'server_code_error': u' ',
'show_in_menu': 0,
'subject': u'%(per_ordered)s% ordered',
'version': 1
"is_submittable": 1,
"allow_attach": 1,
"default_print_format": "Standard",
"allow_print": 0,
"search_fields": "status,transaction_date,sales_order_no",
"module": "Buying",
"doctype": "DocType",
"read_only_onload": 1,
"name": "__common__"
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Purchase Request',
'parentfield': u'fields',
'parenttype': u'DocType'
"name": "__common__",
"parent": "Purchase Request",
"doctype": "DocField",
"parenttype": "DocType",
"parentfield": "fields"
},
# These values are common for all DocPerm
{
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'Purchase Request',
'parentfield': u'permissions',
'parenttype': u'DocType',
'read': 1
"name": "__common__",
"parent": "Purchase Request",
"read": 1,
"doctype": "DocPerm",
"parenttype": "DocType",
"parentfield": "permissions"
},
# DocType, Purchase Request
{
'doctype': 'DocType',
'name': u'Purchase Request'
"name": "Purchase Request",
"doctype": "DocType"
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Purchase Manager',
'submit': 0,
'write': 0
"print_hide": 1,
"description": "To manage multiple series please go to Setup > Manage Series",
"no_copy": 1,
"oldfieldtype": "Select",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Series",
"oldfieldname": "naming_series",
"permlevel": 0,
"fieldname": "naming_series",
"fieldtype": "Select",
"reqd": 1,
"options": "IDT"
},
# DocPerm
{
'amend': 1,
'cancel': 1,
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Purchase Manager',
'submit': 1,
'write': 1
"description": "The date at which current entry is made in system.",
"no_copy": 1,
"oldfieldtype": "Date",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Transaction Date",
"oldfieldname": "transaction_date",
"width": "100px",
"trigger": "Client",
"fieldname": "transaction_date",
"fieldtype": "Date",
"search_index": 1,
"reqd": 1,
"in_filter": 1,
"permlevel": 0
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Material Manager',
'submit': 0,
'write': 0
"oldfieldtype": "Section Break",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Items",
"fieldname": "items",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocPerm
{
'amend': 1,
'cancel': 1,
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Material Manager',
'submit': 1,
'write': 1
"no_copy": 0,
"oldfieldtype": "Table",
"colour": "White:FFF",
"allow_on_submit": 1,
"doctype": "DocField",
"label": "Purchase Requisition Details",
"oldfieldname": "indent_details",
"options": "Purchase Request Item",
"fieldname": "indent_details",
"fieldtype": "Table",
"permlevel": 0
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Material User',
'submit': 0,
'write': 0
"doctype": "DocField",
"options": "Simple",
"fieldname": "section_break1",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocPerm
{
'amend': 1,
'cancel': 1,
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Material User',
'submit': 1,
'write': 1
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break4",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocPerm
{
'amend': 1,
'cancel': 1,
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Purchase User',
'submit': 1,
'write': 1
"permlevel": 0,
"description": "One or multiple Sales Order no which generated this Purchase Requisition",
"no_copy": 1,
"oldfieldtype": "Data",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Sales Order No",
"oldfieldname": "sales_order_no",
"width": "100px",
"fieldname": "sales_order_no",
"fieldtype": "Link",
"options": "Sales Order"
},
# DocPerm
{
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Purchase User'
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break5",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'default': u'Enter items and their details which are falling short in your warehouse and for which you want your purchase department to raise a purchase order.',
'description': u'Enter items and their details for which you want your purchase department to raise a purchase order.',
'doctype': u'DocField',
'fieldname': u'basic_info',
'fieldtype': u'Section Break',
'label': u'Basic Info',
'oldfieldtype': u'Section Break',
'permlevel': 0,
'print_hide': 1
"doctype": "DocField",
"label": "Pull Sales Order Items",
"options": "pull_so_details",
"fieldname": "pull_sales_order_details",
"fieldtype": "Button",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'description': u'To manage multiple series please go to Setup > Manage Series',
'doctype': u'DocField',
'fieldname': u'naming_series',
'fieldtype': u'Select',
'label': u'Series',
'no_copy': 1,
'oldfieldname': u'naming_series',
'oldfieldtype': u'Select',
'options': u'IDT',
'permlevel': 0,
'print_hide': 1,
'reqd': 1
"description": "Filing in Additional Information about the Purchase Requisition will help you analyze your data better.",
"default": "Give additional details about the indent.",
"oldfieldtype": "Section Break",
"colour": "White:FFF",
"doctype": "DocField",
"label": "More Info",
"fieldname": "more_info",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'description': u'The date at which current entry is made in system.',
'doctype': u'DocField',
'fieldname': u'transaction_date',
'fieldtype': u'Date',
'in_filter': 1,
'label': u'Transaction Date',
'no_copy': 1,
'oldfieldname': u'transaction_date',
'oldfieldtype': u'Date',
'permlevel': 0,
'reqd': 1,
'search_index': 1,
'trigger': u'Client',
'width': u'100px'
"oldfieldtype": "Column Break",
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break1",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'items',
'fieldtype': u'Section Break',
'label': u'Items',
'oldfieldtype': u'Section Break',
'permlevel': 0
"print_hide": 1,
"description": "Select the relevant company name if you have multiple companies",
"permlevel": 0,
"oldfieldtype": "Link",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Company",
"oldfieldname": "company",
"width": "150px",
"fieldname": "company",
"fieldtype": "Link",
"search_index": 1,
"reqd": 1,
"in_filter": 1,
"options": "Company"
},
# DocField
{
'allow_on_submit': 1,
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'indent_details',
'fieldtype': u'Table',
'label': u'Purchase Requisition Details',
'no_copy': 0,
'oldfieldname': u'indent_details',
'oldfieldtype': u'Table',
'options': u'Purchase Request Item',
'permlevel': 0
"print_hide": 1,
"permlevel": 0,
"oldfieldtype": "Select",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Fiscal Year",
"oldfieldname": "fiscal_year",
"width": "150px",
"fieldname": "fiscal_year",
"fieldtype": "Select",
"search_index": 1,
"reqd": 1,
"options": "link:Fiscal Year",
"in_filter": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'section_break1',
'fieldtype': u'Section Break',
'options': u'Simple',
'permlevel': 0
"description": "Name of the entity who has requested for the Purchase Requisition",
"no_copy": 1,
"oldfieldtype": "Data",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Requested By",
"oldfieldname": "requested_by",
"width": "100px",
"fieldname": "requested_by",
"fieldtype": "Data",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break4',
'fieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"print_hide": 1,
"description": "After cancelling the Purchase Requisition, a dialog box will ask you reason for cancellation which will be reflected in this field",
"no_copy": 1,
"oldfieldtype": "Data",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Cancel Reason",
"oldfieldname": "cancel_reason",
"fieldname": "cancel_reason",
"fieldtype": "Data",
"permlevel": 1
},
# DocField
{
'colour': u'White:FFF',
'description': u'One or multiple Sales Order no which generated this Purchase Requisition',
'doctype': u'DocField',
'fieldname': u'sales_order_no',
'fieldtype': u'Link',
'label': u'Sales Order No',
'no_copy': 1,
'oldfieldname': u'sales_order_no',
'oldfieldtype': u'Data',
'options': u'Sales Order',
'permlevel': 0,
'width': u'100px'
"oldfieldtype": "Column Break",
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break2",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break5',
'fieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"print_hide": 1,
"oldfieldtype": "Select",
"allow_on_submit": 1,
"doctype": "DocField",
"label": "Letter Head",
"oldfieldname": "letter_head",
"options": "link:Letter Head",
"fieldname": "letter_head",
"fieldtype": "Select",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'pull_sales_order_details',
'fieldtype': u'Button',
'label': u'Pull Sales Order Items',
'options': u'pull_so_details',
'permlevel': 0
"print_hide": 1,
"permlevel": 1,
"no_copy": 1,
"oldfieldtype": "Select",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Status",
"oldfieldname": "status",
"width": "100px",
"fieldname": "status",
"fieldtype": "Select",
"search_index": 1,
"reqd": 0,
"options": "\nDraft\nSubmitted\nStopped\nCancelled",
"in_filter": 1
},
# DocField
{
'colour': u'White:FFF',
'default': u'Give additional details about the indent.',
'description': u'Filing in Additional Information about the Purchase Requisition will help you analyze your data better.',
'doctype': u'DocField',
'fieldname': u'more_info',
'fieldtype': u'Section Break',
'label': u'More Info',
'oldfieldtype': u'Section Break',
'permlevel': 0
"print_hide": 1,
"description": "% of materials ordered against this Purchase Requisition",
"no_copy": 1,
"oldfieldtype": "Currency",
"colour": "White:FFF",
"doctype": "DocField",
"label": "% Ordered",
"oldfieldname": "per_ordered",
"fieldname": "per_ordered",
"fieldtype": "Currency",
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break1',
'fieldtype': u'Column Break',
'oldfieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"print_hide": 1,
"no_copy": 1,
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Amended From",
"oldfieldname": "amended_from",
"width": "150px",
"fieldname": "amended_from",
"fieldtype": "Data",
"permlevel": 1
},
# DocField
{
'colour': u'White:FFF',
'description': u'Select the relevant company name if you have multiple companies',
'doctype': u'DocField',
'fieldname': u'company',
'fieldtype': u'Link',
'in_filter': 1,
'label': u'Company',
'oldfieldname': u'company',
'oldfieldtype': u'Link',
'options': u'Company',
'permlevel': 0,
'print_hide': 1,
'reqd': 1,
'search_index': 1,
'width': u'150px'
"print_hide": 1,
"description": "The date at which current entry is corrected in the system.",
"no_copy": 1,
"oldfieldtype": "Date",
"doctype": "DocField",
"label": "Amendment Date",
"oldfieldname": "amendment_date",
"width": "100px",
"fieldname": "amendment_date",
"fieldtype": "Date",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'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',
'permlevel': 0,
'print_hide': 1,
'reqd': 1,
'search_index': 1,
'width': u'150px'
"print_hide": 0,
"no_copy": 1,
"oldfieldtype": "Small Text",
"doctype": "DocField",
"label": "Remarks",
"oldfieldname": "remark",
"width": "150px",
"fieldname": "remark",
"fieldtype": "Small Text",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'description': u'Name of the entity who has requested for the Purchase Requisition',
'doctype': u'DocField',
'fieldname': u'requested_by',
'fieldtype': u'Data',
'label': u'Requested By',
'no_copy': 1,
'oldfieldname': u'requested_by',
'oldfieldtype': u'Data',
'permlevel': 0,
'width': u'100px'
"description": "Add Terms and Conditions for the Purchase Requisition. You can also prepare a Terms and Conditions Master and use the Template",
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "Terms and Conditions",
"fieldname": "terms_section_break",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'description': u'After cancelling the Purchase Requisition, a dialog box will ask you reason for cancellation which will be reflected in this field',
'doctype': u'DocField',
'fieldname': u'cancel_reason',
'fieldtype': u'Data',
'label': u'Cancel Reason',
'no_copy': 1,
'oldfieldname': u'cancel_reason',
'oldfieldtype': u'Data',
'permlevel': 1,
'print_hide': 1
"print_hide": 1,
"oldfieldtype": "Link",
"doctype": "DocField",
"label": "Select Terms and Conditions",
"oldfieldname": "tc_name",
"options": "Terms and Conditions",
"fieldname": "tc_name",
"fieldtype": "Link",
"permlevel": 0,
"report_hide": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break2',
'fieldtype': u'Column Break',
'oldfieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"oldfieldtype": "Button",
"doctype": "DocField",
"label": "Get Terms and Conditions",
"options": "get_tc_details",
"fieldname": "get_terms",
"fieldtype": "Button",
"permlevel": 0
},
# DocField
{
'allow_on_submit': 1,
'doctype': u'DocField',
'fieldname': u'letter_head',
'fieldtype': u'Select',
'label': u'Letter Head',
'oldfieldname': u'letter_head',
'oldfieldtype': u'Select',
'options': u'link:Letter Head',
'permlevel': 0,
'print_hide': 1
"oldfieldtype": "Text Editor",
"doctype": "DocField",
"label": "Terms and Conditions Content",
"oldfieldname": "terms",
"fieldname": "terms",
"fieldtype": "Text Editor",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'status',
'fieldtype': u'Select',
'in_filter': 1,
'label': u'Status',
'no_copy': 1,
'oldfieldname': u'status',
'oldfieldtype': u'Select',
'options': u'\nDraft\nSubmitted\nStopped\nCancelled',
'permlevel': 1,
'print_hide': 1,
'reqd': 0,
'search_index': 1,
'width': u'100px'
"print_hide": 1,
"no_copy": 1,
"doctype": "DocField",
"label": "File List",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'description': u'% of materials ordered against this Purchase Requisition',
'doctype': u'DocField',
'fieldname': u'per_ordered',
'fieldtype': u'Currency',
'label': u'% Ordered',
'no_copy': 1,
'oldfieldname': u'per_ordered',
'oldfieldtype': u'Currency',
'permlevel': 1,
'print_hide': 1
"amend": 1,
"create": 1,
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"role": "Purchase User",
"cancel": 1,
"permlevel": 0,
"match": ""
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'amended_from',
'fieldtype': u'Data',
'label': u'Amended From',
'no_copy': 1,
'oldfieldname': u'amended_from',
'oldfieldtype': u'Data',
'permlevel': 1,
'print_hide': 1,
'width': u'150px'
"doctype": "DocPerm",
"role": "Purchase User",
"permlevel": 1
},
# DocField
{
'description': u'The date at which current entry is corrected in the system.',
'doctype': u'DocField',
'fieldname': u'amendment_date',
'fieldtype': u'Date',
'label': u'Amendment Date',
'no_copy': 1,
'oldfieldname': u'amendment_date',
'oldfieldtype': u'Date',
'permlevel': 0,
'print_hide': 1,
'width': u'100px'
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Purchase Manager",
"cancel": 0,
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'remark',
'fieldtype': u'Small Text',
'label': u'Remarks',
'no_copy': 1,
'oldfieldname': u'remark',
'oldfieldtype': u'Small Text',
'permlevel': 0,
'print_hide': 0,
'width': u'150px'
"amend": 1,
"create": 1,
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"role": "Purchase Manager",
"cancel": 1,
"permlevel": 0
},
# DocField
{
'description': u'Add Terms and Conditions for the Purchase Requisition. You can also prepare a Terms and Conditions Master and use the Template',
'doctype': u'DocField',
'fieldname': u'terms_section_break',
'fieldtype': u'Section Break',
'label': u'Terms and Conditions',
'oldfieldtype': u'Section Break',
'permlevel': 0
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Material Manager",
"cancel": 0,
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'tc_name',
'fieldtype': u'Link',
'label': u'Select Terms and Conditions',
'oldfieldname': u'tc_name',
'oldfieldtype': u'Link',
'options': u'Terms and Conditions',
'permlevel': 0,
'print_hide': 1,
'report_hide': 1
"amend": 1,
"create": 1,
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"role": "Material Manager",
"cancel": 1,
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'get_terms',
'fieldtype': u'Button',
'label': u'Get Terms and Conditions',
'oldfieldtype': u'Button',
'options': u'get_tc_details',
'permlevel': 0
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Material User",
"cancel": 0,
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'terms',
'fieldtype': u'Text Editor',
'label': u'Terms and Conditions Content',
'oldfieldname': u'terms',
'oldfieldtype': u'Text Editor',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'file_list',
'fieldtype': u'Text',
'hidden': 1,
'label': u'File List',
'no_copy': 1,
'permlevel': 0,
'print_hide': 1
"amend": 1,
"create": 1,
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"role": "Material User",
"cancel": 1,
"permlevel": 0
}
]

View File

@ -1,355 +1,272 @@
# DocType, Supplier
[
# These values are common in all dictionaries
{
'creation': '2012-05-15 12:14:41',
'docstatus': 0,
'modified': '2012-07-18 17:41:49',
'modified_by': u'Administrator',
'owner': u'Administrator'
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-07-18 20:34:42",
"modified_by": "Administrator",
"modified": "2012-07-18 17:41:49"
},
# These values are common for all DocType
{
'_last_update': u'1306471021',
'allow_trash': 1,
'colour': u'White:FFF',
'doctype': 'DocType',
'document_type': u'Master',
'module': u'Buying',
'name': '__common__',
'search_fields': u'supplier_name,supplier_type',
'section_style': u'Tabbed',
'server_code_error': u' ',
'show_in_menu': 0,
'subject': u' ',
'tag_fields': u'supplier_type',
'version': 1
"name": "__common__",
"search_fields": "supplier_name,supplier_type",
"module": "Buying",
"doctype": "DocType",
"document_type": "Master"
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Supplier',
'parentfield': u'fields',
'parenttype': u'DocType'
"name": "__common__",
"parent": "Supplier",
"doctype": "DocField",
"parenttype": "DocType",
"parentfield": "fields"
},
# These values are common for all DocPerm
{
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'Supplier',
'parentfield': u'permissions',
'parenttype': u'DocType',
'read': 1
"name": "__common__",
"parent": "Supplier",
"read": 1,
"doctype": "DocPerm",
"parenttype": "DocType",
"parentfield": "permissions"
},
# DocType, Supplier
{
'doctype': 'DocType',
'name': u'Supplier'
"name": "Supplier",
"doctype": "DocType"
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Purchase Manager',
'submit': 0,
'write': 0
"no_copy": 1,
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Supplier Name",
"oldfieldname": "supplier_name",
"fieldname": "supplier_name",
"fieldtype": "Data",
"reqd": 1,
"permlevel": 0
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Purchase Manager',
'submit': 0,
'write': 0
"oldfieldtype": "Link",
"doctype": "DocField",
"label": "Supplier Type",
"oldfieldname": "supplier_type",
"options": "Supplier Type",
"fieldname": "supplier_type",
"fieldtype": "Link",
"reqd": 1,
"permlevel": 0
},
# DocPerm
{
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Purchase Master Manager'
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break0",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocPerm
{
'amend': 0,
'cancel': 1,
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Purchase Master Manager',
'submit': 0,
'write': 1
"no_copy": 1,
"oldfieldtype": "Select",
"doctype": "DocField",
"label": "Series",
"oldfieldname": "naming_series",
"options": "\nSUPP\nSUPP/10-11/",
"fieldname": "naming_series",
"fieldtype": "Select",
"permlevel": 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'Basic Info',
'oldfieldtype': u'Section Break',
'permlevel': 0
"oldfieldtype": "Column Break",
"doctype": "DocField",
"label": "Address & Contacts",
"fieldname": "address_contacts",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'supplier_name',
'fieldtype': u'Data',
'label': u'Supplier Name',
'no_copy': 1,
'oldfieldname': u'supplier_name',
'oldfieldtype': u'Data',
'permlevel': 0,
'reqd': 1
"depends_on": "eval:doc.__islocal",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Address Desc",
"options": "<em>Addresses will appear only when you save the supplier</em>",
"fieldname": "address_desc",
"fieldtype": "HTML",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'supplier_type',
'fieldtype': u'Link',
'label': u'Supplier Type',
'oldfieldname': u'supplier_type',
'oldfieldtype': u'Link',
'options': u'Supplier Type',
'permlevel': 0,
'reqd': 1
"colour": "White:FFF",
"doctype": "DocField",
"label": "Address HTML",
"fieldname": "address_html",
"fieldtype": "HTML",
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break0',
'fieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break1",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'naming_series',
'fieldtype': u'Select',
'label': u'Series',
'no_copy': 1,
'oldfieldname': u'naming_series',
'oldfieldtype': u'Select',
'options': u'\nSUPP\nSUPP/10-11/',
'permlevel': 0
"depends_on": "eval:doc.__islocal",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Contact Desc",
"options": "<em>Contact Details will appear only when you save the supplier</em>",
"fieldname": "contact_desc",
"fieldtype": "HTML",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'address_contacts',
'fieldtype': u'Section Break',
'label': u'Address & Contacts',
'oldfieldtype': u'Column Break',
'permlevel': 0
"doctype": "DocField",
"label": "Contact HTML",
"fieldname": "contact_html",
"fieldtype": "HTML",
"permlevel": 1
},
# 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 supplier</em>',
'permlevel': 0
"doctype": "DocField",
"label": "Communication History",
"fieldname": "communication_history",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'address_html',
'fieldtype': u'HTML',
'label': u'Address HTML',
'permlevel': 1
"doctype": "DocField",
"label": "Communication HTML",
"fieldname": "communication_html",
"fieldtype": "HTML",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break1',
'fieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "More Info",
"fieldname": "more_info",
"fieldtype": "Section 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 supplier</em>',
'permlevel': 0
"description": "Enter the company name under which Account Head will be created for this Supplier",
"oldfieldtype": "Link",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Company",
"oldfieldname": "company",
"permlevel": 0,
"fieldname": "company",
"fieldtype": "Link",
"search_index": 0,
"reqd": 1,
"in_filter": 1,
"options": "Company"
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'contact_html',
'fieldtype': u'HTML',
'label': u'Contact HTML',
'permlevel': 1
"description": "This currency will get fetched in Purchase transactions of this supplier",
"no_copy": 1,
"colour": "White:FFF",
"doctype": "DocField",
"label": "Default Currency",
"options": "link:Currency",
"fieldname": "default_currency",
"fieldtype": "Select",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'communication_history',
'fieldtype': u'Section Break',
'label': u'Communication History',
'permlevel': 0
"description": "Statutory info and other general information about your Supplier",
"oldfieldtype": "Code",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Supplier Details",
"oldfieldname": "supplier_details",
"fieldname": "supplier_details",
"fieldtype": "Text",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'communication_html',
'fieldtype': u'HTML',
'label': u'Communication HTML',
'permlevel': 0
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break2",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'more_info',
'fieldtype': u'Section Break',
'label': u'More Info',
'oldfieldtype': u'Section Break',
'permlevel': 0
"doctype": "DocField",
"label": "Credit Days",
"fieldname": "credit_days",
"fieldtype": "Int",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'description': u'Enter the company name under which Account Head will be created for this Supplier',
'doctype': u'DocField',
'fieldname': u'company',
'fieldtype': u'Link',
'in_filter': 1,
'label': u'Company',
'oldfieldname': u'company',
'oldfieldtype': u'Link',
'options': u'Company',
'permlevel': 0,
'reqd': 1,
'search_index': 0
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Website",
"oldfieldname": "website",
"fieldname": "website",
"fieldtype": "Data",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'description': u'This currency will get fetched in Purchase transactions of this supplier',
'doctype': u'DocField',
'fieldname': u'default_currency',
'fieldtype': u'Select',
'label': u'Default Currency',
'no_copy': 1,
'options': u'link:Currency',
'permlevel': 0
"oldfieldtype": "Section Break",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Transaction History",
"fieldname": "transaction_history",
"fieldtype": "Section Break",
"depends_on": "eval:!doc.__islocal",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'description': u'Statutory info and other general information about your Supplier',
'doctype': u'DocField',
'fieldname': u'supplier_details',
'fieldtype': u'Text',
'label': u'Supplier Details',
'oldfieldname': u'supplier_details',
'oldfieldtype': u'Code',
'permlevel': 0
"oldfieldtype": "HTML",
"colour": "White:FFF",
"doctype": "DocField",
"label": "History HTML",
"fieldname": "history_html",
"fieldtype": "HTML",
"depends_on": "eval:!doc.__islocal",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break2',
'fieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"oldfieldtype": "Small Text",
"doctype": "DocField",
"label": "Trash Reason",
"oldfieldname": "trash_reason",
"fieldname": "trash_reason",
"fieldtype": "Small Text",
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'credit_days',
'fieldtype': u'Int',
'label': u'Credit Days',
'permlevel': 0
"doctype": "DocPerm",
"role": "Purchase Master Manager",
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'website',
'fieldtype': u'Data',
'label': u'Website',
'oldfieldname': u'website',
'oldfieldtype': u'Data',
'permlevel': 0
"amend": 0,
"create": 1,
"doctype": "DocPerm",
"submit": 0,
"write": 1,
"role": "Purchase Master Manager",
"cancel": 1,
"permlevel": 0,
"match": ""
},
# DocField
{
'colour': u'White:FFF',
'depends_on': u'eval:!doc.__islocal',
'doctype': u'DocField',
'fieldname': u'transaction_history',
'fieldtype': u'Section Break',
'label': u'Transaction History',
'oldfieldtype': u'Section Break',
'permlevel': 0
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Purchase Manager",
"cancel": 0,
"permlevel": 1
},
# DocField
{
'colour': u'White:FFF',
'depends_on': u'eval:!doc.__islocal',
'doctype': u'DocField',
'fieldname': u'history_html',
'fieldtype': u'HTML',
'label': u'History HTML',
'oldfieldtype': u'HTML',
'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
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Purchase Manager",
"cancel": 0,
"permlevel": 0
}
]

File diff suppressed because it is too large Load Diff

View File

@ -1,556 +1,446 @@
# DocType, Salary Slip
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:00',
'docstatus': 0,
'modified': '2012-03-27 14:45:51',
'modified_by': u'Administrator',
'owner': u'Administrator'
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-07-03 13:29:40",
"modified_by": "Administrator",
"modified": "2012-03-27 14:45:51"
},
# These values are common for all DocType
{
'_last_update': u'1310019491',
'colour': u'White:FFF',
'doctype': 'DocType',
'is_submittable': 1,
'module': u'HR',
'name': '__common__',
'section_style': u'Simple',
'server_code_error': u' ',
'show_in_menu': 0,
'subject': u'For %(employee_name)s, %(designation)s',
'version': 393
"is_submittable": 1,
"name": "__common__",
"doctype": "DocType",
"module": "HR"
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Salary Slip',
'parentfield': u'fields',
'parenttype': u'DocType'
"name": "__common__",
"parent": "Salary Slip",
"doctype": "DocField",
"parenttype": "DocType",
"parentfield": "fields"
},
# These values are common for all DocPerm
{
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'Salary Slip',
'parentfield': u'permissions',
'parenttype': u'DocType',
'read': 1
"name": "__common__",
"parent": "Salary Slip",
"read": 1,
"doctype": "DocPerm",
"parenttype": "DocType",
"parentfield": "permissions"
},
# DocType, Salary Slip
{
'doctype': 'DocType',
'name': u'Salary Slip'
"name": "Salary Slip",
"doctype": "DocType"
},
# DocPerm
{
'amend': 0,
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'HR User',
'submit': 1,
'write': 1
"oldfieldtype": "Column Break",
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break0",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocPerm
{
'amend': 1,
'cancel': 1,
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'HR Manager',
'submit': 1,
'write': 1
"oldfieldtype": "Link",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Employee",
"oldfieldname": "employee",
"permlevel": 0,
"fieldname": "employee",
"fieldtype": "Link",
"search_index": 1,
"reqd": 1,
"options": "Employee",
"in_filter": 1
},
# DocPerm
{
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'HR User'
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Employee Name",
"oldfieldname": "employee_name",
"fieldname": "employee_name",
"fieldtype": "Data",
"reqd": 1,
"permlevel": 1,
"in_filter": 1
},
# DocPerm
{
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'HR Manager'
"oldfieldtype": "Link",
"doctype": "DocField",
"label": "Department",
"oldfieldname": "department",
"options": "Department",
"fieldname": "department",
"fieldtype": "Link",
"search_index": 0,
"reqd": 0,
"permlevel": 1,
"in_filter": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'basic_info',
'fieldtype': u'Section Break',
'label': u'Basic Info',
'oldfieldtype': u'Section Break',
'permlevel': 0
"oldfieldtype": "Link",
"doctype": "DocField",
"label": "Designation",
"oldfieldname": "designation",
"options": "Designation",
"fieldname": "designation",
"fieldtype": "Link",
"search_index": 0,
"permlevel": 1,
"in_filter": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break0',
'fieldtype': u'Column Break',
'oldfieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"oldfieldtype": "Link",
"doctype": "DocField",
"label": "Branch",
"oldfieldname": "branch",
"options": "Branch",
"fieldname": "branch",
"fieldtype": "Link",
"search_index": 0,
"permlevel": 1,
"in_filter": 1
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'employee',
'fieldtype': u'Link',
'in_filter': 1,
'label': u'Employee',
'oldfieldname': u'employee',
'oldfieldtype': u'Link',
'options': u'Employee',
'permlevel': 0,
'reqd': 1,
'search_index': 1
"oldfieldtype": "Link",
"doctype": "DocField",
"label": "Grade",
"oldfieldname": "grade",
"options": "Grade",
"fieldname": "grade",
"fieldtype": "Link",
"search_index": 0,
"permlevel": 1,
"in_filter": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'employee_name',
'fieldtype': u'Data',
'in_filter': 1,
'label': u'Employee Name',
'oldfieldname': u'employee_name',
'oldfieldtype': u'Data',
'permlevel': 1,
'reqd': 1
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "PF No.",
"oldfieldname": "pf_no",
"fieldname": "pf_no",
"fieldtype": "Data",
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'department',
'fieldtype': u'Link',
'in_filter': 1,
'label': u'Department',
'oldfieldname': u'department',
'oldfieldtype': u'Link',
'options': u'Department',
'permlevel': 1,
'reqd': 0,
'search_index': 0
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "ESIC No.",
"oldfieldname": "esic_no",
"fieldname": "esic_no",
"fieldtype": "Data",
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'designation',
'fieldtype': u'Link',
'in_filter': 1,
'label': u'Designation',
'oldfieldname': u'designation',
'oldfieldtype': u'Link',
'options': u'Designation',
'permlevel': 1,
'search_index': 0
"doctype": "DocField",
"label": "Letter Head",
"options": "Letter Head",
"fieldname": "letter_head",
"fieldtype": "Link",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'branch',
'fieldtype': u'Link',
'in_filter': 1,
'label': u'Branch',
'oldfieldname': u'branch',
'oldfieldtype': u'Link',
'options': u'Branch',
'permlevel': 1,
'search_index': 0
"oldfieldtype": "Column Break",
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break1",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'grade',
'fieldtype': u'Link',
'in_filter': 1,
'label': u'Grade',
'oldfieldname': u'grade',
'oldfieldtype': u'Link',
'options': u'Grade',
'permlevel': 1,
'search_index': 0
"oldfieldtype": "Data",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Fiscal Year",
"oldfieldname": "fiscal_year",
"permlevel": 0,
"fieldname": "fiscal_year",
"fieldtype": "Link",
"search_index": 0,
"reqd": 1,
"options": "Fiscal Year",
"in_filter": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'pf_no',
'fieldtype': u'Data',
'label': u'PF No.',
'oldfieldname': u'pf_no',
'oldfieldtype': u'Data',
'permlevel': 1
"doctype": "DocField",
"label": "Company",
"options": "link:Company",
"fieldname": "company",
"fieldtype": "Select",
"reqd": 1,
"permlevel": 0,
"in_filter": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'esic_no',
'fieldtype': u'Data',
'label': u'ESIC No.',
'oldfieldname': u'esic_no',
'oldfieldtype': u'Data',
'permlevel': 1
"permlevel": 0,
"oldfieldtype": "Select",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Month",
"oldfieldname": "month",
"width": "37%",
"trigger": "Client",
"fieldname": "month",
"fieldtype": "Select",
"search_index": 1,
"reqd": 1,
"options": "\n01\n02\n03\n04\n05\n06\n07\n08\n09\n10\n11\n12",
"in_filter": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'letter_head',
'fieldtype': u'Link',
'label': u'Letter Head',
'options': u'Letter Head',
'permlevel': 0
"oldfieldtype": "Int",
"doctype": "DocField",
"label": "Total days in month",
"oldfieldname": "total_days_in_month",
"fieldname": "total_days_in_month",
"fieldtype": "Data",
"reqd": 1,
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break1',
'fieldtype': u'Column Break',
'oldfieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"oldfieldtype": "Currency",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Leave Without Pay",
"oldfieldname": "leave_without_pay",
"trigger": "Client",
"fieldname": "leave_without_pay",
"fieldtype": "Currency",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'fiscal_year',
'fieldtype': u'Link',
'in_filter': 1,
'label': u'Fiscal Year',
'oldfieldname': u'fiscal_year',
'oldfieldtype': u'Data',
'options': u'Fiscal Year',
'permlevel': 0,
'reqd': 1,
'search_index': 0
"oldfieldtype": "Float",
"doctype": "DocField",
"label": "Payment days",
"oldfieldname": "payment_days",
"fieldname": "payment_days",
"fieldtype": "Float",
"reqd": 1,
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'company',
'fieldtype': u'Select',
'in_filter': 1,
'label': u'Company',
'options': u'link:Company',
'permlevel': 0,
'reqd': 1
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Bank Name",
"oldfieldname": "bank_name",
"fieldname": "bank_name",
"fieldtype": "Data",
"permlevel": 1
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'month',
'fieldtype': u'Select',
'in_filter': 1,
'label': u'Month',
'oldfieldname': u'month',
'oldfieldtype': u'Select',
'options': u'\n01\n02\n03\n04\n05\n06\n07\n08\n09\n10\n11\n12',
'permlevel': 0,
'reqd': 1,
'search_index': 1,
'trigger': u'Client',
'width': u'37%'
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Bank Account No.",
"oldfieldname": "bank_account_no",
"fieldname": "bank_account_no",
"fieldtype": "Data",
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'total_days_in_month',
'fieldtype': u'Data',
'label': u'Total days in month',
'oldfieldname': u'total_days_in_month',
'oldfieldtype': u'Int',
'permlevel': 1,
'reqd': 1
"print_hide": 1,
"no_copy": 1,
"oldfieldtype": "Check",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Email",
"oldfieldname": "email_check",
"fieldname": "email_check",
"fieldtype": "Check",
"permlevel": 0,
"report_hide": 1
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'leave_without_pay',
'fieldtype': u'Currency',
'label': u'Leave Without Pay',
'oldfieldname': u'leave_without_pay',
'oldfieldtype': u'Currency',
'permlevel': 0,
'trigger': u'Client'
"print_hide": 1,
"no_copy": 1,
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Amended From",
"oldfieldname": "amended_from",
"fieldname": "amended_from",
"fieldtype": "Data",
"hidden": 0,
"permlevel": 0,
"report_hide": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'payment_days',
'fieldtype': u'Float',
'label': u'Payment days',
'oldfieldname': u'payment_days',
'oldfieldtype': u'Float',
'permlevel': 1,
'reqd': 1
"print_hide": 1,
"no_copy": 1,
"oldfieldtype": "Date",
"doctype": "DocField",
"label": "Amendment Date",
"oldfieldname": "amendment_date",
"fieldname": "amendment_date",
"fieldtype": "Date",
"hidden": 0,
"permlevel": 0,
"report_hide": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'bank_name',
'fieldtype': u'Data',
'label': u'Bank Name',
'oldfieldname': u'bank_name',
'oldfieldtype': u'Data',
'permlevel': 1
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "Earning & Deduction",
"fieldname": "earning_deduction",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'bank_account_no',
'fieldtype': u'Data',
'label': u'Bank Account No.',
'oldfieldname': u'bank_account_no',
'oldfieldtype': u'Data',
'permlevel': 1
"oldfieldtype": "Column Break",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Earning",
"width": "50%",
"fieldname": "earning",
"fieldtype": "Column Break",
"reqd": 0,
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'email_check',
'fieldtype': u'Check',
'label': u'Email',
'no_copy': 1,
'oldfieldname': u'email_check',
'oldfieldtype': u'Check',
'permlevel': 0,
'print_hide': 1,
'report_hide': 1
"oldfieldtype": "Table",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Salary Structure Earnings",
"oldfieldname": "earning_details",
"options": "Salary Slip Earning",
"fieldname": "earning_details",
"fieldtype": "Table",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'amended_from',
'fieldtype': u'Data',
'hidden': 0,
'label': u'Amended From',
'no_copy': 1,
'oldfieldname': u'amended_from',
'oldfieldtype': u'Data',
'permlevel': 0,
'print_hide': 1,
'report_hide': 0
"oldfieldtype": "Column Break",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Deduction",
"width": "50%",
"fieldname": "deduction",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'amendment_date',
'fieldtype': u'Date',
'hidden': 0,
'label': u'Amendment Date',
'no_copy': 1,
'oldfieldname': u'amendment_date',
'oldfieldtype': u'Date',
'permlevel': 0,
'print_hide': 1,
'report_hide': 0
"oldfieldtype": "Table",
"doctype": "DocField",
"label": "Deductions",
"oldfieldname": "deduction_details",
"options": "Salary Slip Deduction",
"fieldname": "deduction_details",
"fieldtype": "Table",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'earning_deduction',
'fieldtype': u'Section Break',
'label': u'Earning & Deduction',
'oldfieldtype': u'Section Break',
'permlevel': 0
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "Totals",
"fieldname": "totals",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'earning',
'fieldtype': u'Column Break',
'label': u'Earning',
'oldfieldtype': u'Column Break',
'permlevel': 0,
'reqd': 0,
'width': u'50%'
"oldfieldtype": "Column Break",
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break2",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'earning_details',
'fieldtype': u'Table',
'label': u'Salary Structure Earnings',
'oldfieldname': u'earning_details',
'oldfieldtype': u'Table',
'options': u'Salary Slip Earning',
'permlevel': 0
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Arrear Amount",
"oldfieldname": "arrear_amount",
"fieldname": "arrear_amount",
"fieldtype": "Currency",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'deduction',
'fieldtype': u'Column Break',
'label': u'Deduction',
'oldfieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"oldfieldtype": "Currency",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Leave Encashment Amount",
"oldfieldname": "encashment_amount",
"fieldname": "leave_encashment_amount",
"fieldtype": "Currency",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'deduction_details',
'fieldtype': u'Table',
'label': u'Deductions',
'oldfieldname': u'deduction_details',
'oldfieldtype': u'Table',
'options': u'Salary Slip Deduction',
'permlevel': 0
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Gross Pay",
"oldfieldname": "gross_pay",
"fieldname": "gross_pay",
"fieldtype": "Currency",
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'totals',
'fieldtype': u'Section Break',
'label': u'Totals',
'oldfieldtype': u'Section Break',
'permlevel': 0
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Total Deduction",
"oldfieldname": "total_deduction",
"fieldname": "total_deduction",
"fieldtype": "Currency",
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break2',
'fieldtype': u'Column Break',
'oldfieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"oldfieldtype": "Column Break",
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break3",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'arrear_amount',
'fieldtype': u'Currency',
'label': u'Arrear Amount',
'oldfieldname': u'arrear_amount',
'oldfieldtype': u'Currency',
'permlevel': 0
"description": "Gross Pay + Arrear Amount +Encashment Amount - Total Deduction",
"oldfieldtype": "Currency",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Net Pay",
"oldfieldname": "net_pay",
"fieldname": "net_pay",
"fieldtype": "Currency",
"permlevel": 1
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'leave_encashment_amount',
'fieldtype': u'Currency',
'label': u'Leave Encashment Amount',
'oldfieldname': u'encashment_amount',
'oldfieldtype': u'Currency',
'permlevel': 0
"doctype": "DocField",
"label": "Rounded Total",
"fieldname": "rounded_total",
"fieldtype": "Currency",
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'gross_pay',
'fieldtype': u'Currency',
'label': u'Gross Pay',
'oldfieldname': u'gross_pay',
'oldfieldtype': u'Currency',
'permlevel': 1
"description": "Net Pay (in words) will be visible once you save the Salary Slip.",
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Total in words",
"oldfieldname": "net_pay_in_words",
"fieldname": "total_in_words",
"fieldtype": "Data",
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'total_deduction',
'fieldtype': u'Currency',
'label': u'Total Deduction',
'oldfieldname': u'total_deduction',
'oldfieldtype': u'Currency',
'permlevel': 1
"amend": 0,
"create": 1,
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"role": "HR User",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break3',
'fieldtype': u'Column Break',
'oldfieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"amend": 1,
"create": 1,
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"role": "HR Manager",
"cancel": 1,
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'description': u'Gross Pay + Arrear Amount +Encashment Amount - Total Deduction',
'doctype': u'DocField',
'fieldname': u'net_pay',
'fieldtype': u'Currency',
'label': u'Net Pay',
'oldfieldname': u'net_pay',
'oldfieldtype': u'Currency',
'permlevel': 1
"doctype": "DocPerm",
"role": "HR User",
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'rounded_total',
'fieldtype': u'Currency',
'label': u'Rounded Total',
'permlevel': 1
},
# DocField
{
'description': u'Net Pay (in words) will be visible once you save the Salary Slip.',
'doctype': u'DocField',
'fieldname': u'total_in_words',
'fieldtype': u'Data',
'label': u'Total in words',
'oldfieldname': u'net_pay_in_words',
'oldfieldtype': u'Data',
'permlevel': 1
"doctype": "DocPerm",
"role": "HR Manager",
"permlevel": 1
}
]

View File

@ -1,444 +1,313 @@
# DocType, Salary Structure
[
# These values are common in all dictionaries
{
'creation': '2012-03-27 14:36:00',
'docstatus': 0,
'modified': '2012-03-27 14:36:00',
'modified_by': u'Administrator',
'owner': u'Administrator'
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-07-03 13:29:41",
"modified_by": "Administrator",
"modified": "2012-03-27 14:36:00"
},
# These values are common for all DocType
{
'_last_update': u'1311621379',
'colour': u'White:FFF',
'doctype': 'DocType',
'module': u'HR',
'name': '__common__',
'section_style': u'Simple',
'server_code_error': u' ',
'show_in_menu': 0,
'subject': u'For %(employee_name)s',
'version': 587
"name": "__common__",
"doctype": "DocType",
"module": "HR"
},
# These values are common for all DocField
{
'doctype': u'DocField',
'name': '__common__',
'parent': u'Salary Structure',
'parentfield': u'fields',
'parenttype': u'DocType'
"name": "__common__",
"parent": "Salary Structure",
"doctype": "DocField",
"parenttype": "DocType",
"parentfield": "fields"
},
# These values are common for all DocPerm
{
'amend': 0,
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'Salary Structure',
'parentfield': u'permissions',
'parenttype': u'DocType',
'read': 1
"name": "__common__",
"parent": "Salary Structure",
"read": 1,
"doctype": "DocPerm",
"amend": 0,
"parenttype": "DocType",
"parentfield": "permissions"
},
# DocType, Salary Structure
{
'doctype': 'DocType',
'name': u'Salary Structure'
"name": "Salary Structure",
"doctype": "DocType"
},
# DocPerm
{
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'match': u'owner',
'permlevel': 0,
'submit': 0,
'write': 0
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break0",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocPerm
{
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'match': u'owner',
'permlevel': 0,
'submit': 0,
'write': 0
"oldfieldtype": "Link",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Employee",
"oldfieldname": "employee",
"permlevel": 0,
"trigger": "Client",
"fieldname": "employee",
"fieldtype": "Link",
"reqd": 1,
"options": "Employee",
"in_filter": 1
},
# DocPerm
{
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'match': u'owner',
'permlevel': 0,
'submit': 0,
'write': 0
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Employee Name",
"oldfieldname": "employee_name",
"fieldname": "employee_name",
"fieldtype": "Data",
"permlevel": 1
},
# DocPerm
{
'cancel': 0,
'create': 0,
'doctype': u'DocPerm',
'match': u'owner',
'permlevel': 0,
'submit': 0,
'write': 0
"oldfieldtype": "Select",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Branch",
"oldfieldname": "branch",
"options": "link:Branch",
"fieldname": "branch",
"fieldtype": "Select",
"reqd": 0,
"permlevel": 1,
"in_filter": 1
},
# DocPerm
{
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'All',
'write': 0
"oldfieldtype": "Select",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Designation",
"oldfieldname": "designation",
"options": "link:Designation",
"fieldname": "designation",
"fieldtype": "Select",
"reqd": 0,
"permlevel": 1,
"in_filter": 1
},
# DocPerm
{
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'HR User',
'write': 1
"oldfieldtype": "Select",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Department",
"oldfieldname": "department",
"options": "link:Department",
"fieldname": "department",
"fieldtype": "Select",
"reqd": 0,
"permlevel": 1,
"in_filter": 1
},
# DocPerm
{
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'HR Manager',
'write': 1
"oldfieldtype": "Select",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Grade",
"oldfieldname": "grade",
"options": "link:Grade",
"fieldname": "grade",
"fieldtype": "Select",
"reqd": 0,
"permlevel": 1,
"in_filter": 1
},
# DocPerm
{
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'HR Manager'
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break1",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocPerm
{
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'HR User'
"default": "Yes",
"oldfieldtype": "Select",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Is Active",
"oldfieldname": "is_active",
"permlevel": 0,
"fieldname": "is_active",
"fieldtype": "Select",
"reqd": 1,
"options": "\nYes\nNo",
"in_filter": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'basic_info',
'fieldtype': u'Section Break',
'label': u'Basic Info',
'oldfieldname': u'basic_info',
'oldfieldtype': u'Section Break',
'permlevel': 0
"oldfieldtype": "Date",
"doctype": "DocField",
"label": "From Date",
"oldfieldname": "from_date",
"fieldname": "from_date",
"fieldtype": "Date",
"reqd": 1,
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break0',
'fieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"oldfieldtype": "Date",
"doctype": "DocField",
"label": "To Date",
"oldfieldname": "to_date",
"fieldname": "to_date",
"fieldtype": "Date",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'employee',
'fieldtype': u'Link',
'in_filter': 1,
'label': u'Employee',
'oldfieldname': u'employee',
'oldfieldtype': u'Link',
'options': u'Employee',
'permlevel': 0,
'reqd': 1,
'trigger': u'Client'
"description": "Cost to Company",
"oldfieldtype": "Currency",
"colour": "White:FFF",
"doctype": "DocField",
"label": "CTC",
"oldfieldname": "ctc",
"fieldname": "ctc",
"fieldtype": "Currency",
"reqd": 1,
"permlevel": 0,
"in_filter": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'employee_name',
'fieldtype': u'Data',
'label': u'Employee Name',
'oldfieldname': u'employee_name',
'oldfieldtype': u'Data',
'permlevel': 1
"doctype": "DocField",
"label": "Company",
"options": "link:Company",
"fieldname": "company",
"fieldtype": "Select",
"reqd": 1,
"permlevel": 0,
"in_filter": 1
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'branch',
'fieldtype': u'Select',
'in_filter': 1,
'label': u'Branch',
'oldfieldname': u'branch',
'oldfieldtype': u'Select',
'options': u'link:Branch',
'permlevel': 1,
'reqd': 0
"description": "You can create more earning and deduction type from Setup --> HR",
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "Earning & Deduction",
"oldfieldname": "earning_deduction",
"fieldname": "earning_deduction",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'designation',
'fieldtype': u'Select',
'in_filter': 1,
'label': u'Designation',
'oldfieldname': u'designation',
'oldfieldtype': u'Select',
'options': u'link:Designation',
'permlevel': 1,
'reqd': 0
"oldfieldtype": "Column Break",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Earning",
"oldfieldname": "col_brk2",
"width": "50%",
"fieldname": "earning",
"fieldtype": "Column Break",
"hidden": 0,
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'department',
'fieldtype': u'Select',
'in_filter': 1,
'label': u'Department',
'oldfieldname': u'department',
'oldfieldtype': u'Select',
'options': u'link:Department',
'permlevel': 1,
'reqd': 0
"oldfieldtype": "Table",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Earning1",
"oldfieldname": "earning_details",
"options": "Salary Structure Earning",
"fieldname": "earning_details",
"fieldtype": "Table",
"hidden": 0,
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'grade',
'fieldtype': u'Select',
'in_filter': 1,
'label': u'Grade',
'oldfieldname': u'grade',
'oldfieldtype': u'Select',
'options': u'link:Grade',
'permlevel': 1,
'reqd': 0
"oldfieldtype": "Column Break",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Deduction",
"oldfieldname": "col_brk3",
"width": "50%",
"fieldname": "deduction",
"fieldtype": "Column Break",
"hidden": 0,
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break1',
'fieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"oldfieldtype": "Table",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Deduction1",
"oldfieldname": "deduction_details",
"options": "Salary Structure Deduction",
"fieldname": "deduction_details",
"fieldtype": "Table",
"hidden": 0,
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'default': u'Yes',
'doctype': u'DocField',
'fieldname': u'is_active',
'fieldtype': u'Select',
'in_filter': 1,
'label': u'Is Active',
'oldfieldname': u'is_active',
'oldfieldtype': u'Select',
'options': u'\nYes\nNo',
'permlevel': 0,
'reqd': 1
"doctype": "DocField",
"options": "Simple",
"fieldname": "section_break0",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'from_date',
'fieldtype': u'Date',
'label': u'From Date',
'oldfieldname': u'from_date',
'oldfieldtype': u'Date',
'permlevel': 0,
'reqd': 1
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break2",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'to_date',
'fieldtype': u'Date',
'label': u'To Date',
'oldfieldname': u'to_date',
'oldfieldtype': u'Date',
'permlevel': 0
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Total Earning",
"oldfieldname": "total_earning",
"fieldname": "total_earning",
"fieldtype": "Currency",
"permlevel": 1
},
# DocField
{
'colour': u'White:FFF',
'description': u'Cost to Company',
'doctype': u'DocField',
'fieldname': u'ctc',
'fieldtype': u'Currency',
'in_filter': 1,
'label': u'CTC',
'oldfieldname': u'ctc',
'oldfieldtype': u'Currency',
'permlevel': 0,
'reqd': 1
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Total Deduction",
"oldfieldname": "total_deduction",
"fieldname": "total_deduction",
"fieldtype": "Currency",
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'company',
'fieldtype': u'Select',
'in_filter': 1,
'label': u'Company',
'options': u'link:Company',
'permlevel': 0,
'reqd': 1
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break3",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocField
{
'description': u'You can create more earning and deduction type from Setup --> HR',
'doctype': u'DocField',
'fieldname': u'earning_deduction',
'fieldtype': u'Section Break',
'label': u'Earning & Deduction',
'oldfieldname': u'earning_deduction',
'oldfieldtype': u'Section Break',
'permlevel': 0
"doctype": "DocField",
"label": "Net Pay",
"fieldname": "net_pay",
"fieldtype": "Currency",
"permlevel": 1
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'earning',
'fieldtype': u'Column Break',
'hidden': 0,
'label': u'Earning',
'oldfieldname': u'col_brk2',
'oldfieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"doctype": "DocPerm",
"write": 0,
"role": "All",
"permlevel": 1
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'earning_details',
'fieldtype': u'Table',
'hidden': 0,
'label': u'Earning1',
'oldfieldname': u'earning_details',
'oldfieldtype': u'Table',
'options': u'Salary Structure Earning',
'permlevel': 0
"create": 1,
"doctype": "DocPerm",
"write": 1,
"role": "HR User",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'deduction',
'fieldtype': u'Column Break',
'hidden': 0,
'label': u'Deduction',
'oldfieldname': u'col_brk3',
'oldfieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"create": 1,
"doctype": "DocPerm",
"write": 1,
"role": "HR Manager",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'doctype': u'DocField',
'fieldname': u'deduction_details',
'fieldtype': u'Table',
'hidden': 0,
'label': u'Deduction1',
'oldfieldname': u'deduction_details',
'oldfieldtype': u'Table',
'options': u'Salary Structure Deduction',
'permlevel': 0
"doctype": "DocPerm",
"role": "HR Manager",
"permlevel": 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'section_break0',
'fieldtype': u'Section Break',
'options': u'Simple',
'permlevel': 0
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break2',
'fieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'total_earning',
'fieldtype': u'Currency',
'label': u'Total Earning',
'oldfieldname': u'total_earning',
'oldfieldtype': u'Currency',
'permlevel': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'total_deduction',
'fieldtype': u'Currency',
'label': u'Total Deduction',
'oldfieldname': u'total_deduction',
'oldfieldtype': u'Currency',
'permlevel': 1
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break3',
'fieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
},
# DocField
{
'doctype': u'DocField',
'fieldname': u'net_pay',
'fieldtype': u'Currency',
'label': u'Net Pay',
'permlevel': 1
"doctype": "DocPerm",
"role": "HR User",
"permlevel": 1
}
]

View File

@ -0,0 +1,4 @@
def execute():
import webnotes
webnotes.conn.sql("""delete from `tabDocField`
where label = 'Basic Info' and fieldtype = 'Section Break'""")

View File

@ -699,4 +699,8 @@ patch_list = [
'patch_module': 'patches.november_2012',
'patch_file': 'add_theme_to_profile',
},
{
'patch_module': 'patches.november_2012',
'patch_file': 'remove_basic_info',
},
]

View File

@ -1,525 +1,432 @@
# DocType, Project
[
# These values are common in all dictionaries
{
u'creation': '2012-08-09 11:38:30',
u'docstatus': 0,
u'modified': '2012-11-14 17:04:57',
u'modified_by': u'Administrator',
u'owner': u'Administrator'
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-11-28 11:26:18",
"modified_by": "Administrator",
"modified": "2012-11-14 17:04:57"
},
# These values are common for all DocType
{
'_last_update': u'1305714062',
'allow_attach': 1,
'allow_trash': 1,
'autoname': u'field:project_name',
'colour': u'White:FFF',
'default_print_format': u'Standard',
u'doctype': u'DocType',
'document_type': u'Master',
'max_attachments': 4,
'module': u'Projects',
u'name': u'__common__',
'search_fields': u'customer, status, priority, is_active',
'section_style': u'Tabbed',
'server_code_error': u' ',
'show_in_menu': 0,
'subject': u' ',
'tag_fields': u'status',
'version': 1
"autoname": "field:project_name",
"allow_attach": 1,
"default_print_format": "Standard",
"search_fields": "customer, status, priority, is_active",
"module": "Projects",
"doctype": "DocType",
"max_attachments": 4,
"document_type": "Master",
"name": "__common__"
},
# These values are common for all DocField
{
u'doctype': u'DocField',
u'name': u'__common__',
'parent': u'Project',
'parentfield': u'fields',
'parenttype': u'DocType'
"name": "__common__",
"parent": "Project",
"doctype": "DocField",
"parenttype": "DocType",
"parentfield": "fields"
},
# These values are common for all DocPerm
{
'cancel': 1,
'create': 1,
u'doctype': u'DocPerm',
u'name': u'__common__',
'parent': u'Project',
'parentfield': u'permissions',
'parenttype': u'DocType',
'permlevel': 0,
'read': 1,
'role': u'Projects User',
'write': 1
"name": "__common__",
"parent": "Project",
"read": 1,
"doctype": "DocPerm",
"parenttype": "DocType",
"parentfield": "permissions"
},
# DocType, Project
{
u'doctype': u'DocType',
u'name': u'Project'
"name": "Project",
"doctype": "DocType"
},
# DocField
{
'colour': u'White:FFF',
'description': u'Helps you keep track of your projects and links to Tasks. You can tag a task to a project to track its progress',
u'doctype': u'DocField',
'fieldname': u'basic_info',
'fieldtype': u'Section Break',
'label': u'Basic Info',
'oldfieldtype': u'Section Break',
'permlevel': 0
"doctype": "DocField",
"label": "Status",
"fieldname": "cb_project_status",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'cb_project_status',
'fieldtype': u'Column Break',
'label': u'Status',
'permlevel': 0
"description": "Project will get saved and will be searchable with project name given",
"no_copy": 0,
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Project Name",
"oldfieldname": "project_name",
"fieldname": "project_name",
"fieldtype": "Data",
"reqd": 1,
"permlevel": 0
},
# DocField
{
'description': u'Project will get saved and will be searchable with project name given',
u'doctype': u'DocField',
'fieldname': u'project_name',
'fieldtype': u'Data',
'label': u'Project Name',
'no_copy': 0,
'oldfieldname': u'project_name',
'oldfieldtype': u'Data',
'permlevel': 0,
'reqd': 1
"permlevel": 0,
"no_copy": 1,
"oldfieldtype": "Select",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Status",
"oldfieldname": "status",
"default": "Open",
"fieldname": "status",
"fieldtype": "Select",
"search_index": 1,
"reqd": 1,
"options": "Open\nCompleted\nCancelled",
"in_filter": 1
},
# DocField
{
'colour': u'White:FFF',
'default': u'Open',
u'doctype': u'DocField',
'fieldname': u'status',
'fieldtype': u'Select',
'in_filter': 1,
'label': u'Status',
'no_copy': 1,
'oldfieldname': u'status',
'oldfieldtype': u'Select',
'options': u'Open\nCompleted\nCancelled',
'permlevel': 0,
'reqd': 1,
'search_index': 1
"no_copy": 0,
"oldfieldtype": "Select",
"doctype": "DocField",
"label": "Is Active",
"oldfieldname": "is_active",
"options": "Yes\nNo",
"fieldname": "is_active",
"fieldtype": "Select",
"search_index": 0,
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'is_active',
'fieldtype': u'Select',
'label': u'Is Active',
'no_copy': 0,
'oldfieldname': u'is_active',
'oldfieldtype': u'Select',
'options': u'Yes\nNo',
'permlevel': 0,
'search_index': 0
"no_copy": 0,
"oldfieldtype": "Select",
"doctype": "DocField",
"label": "Priority",
"oldfieldname": "priority",
"options": "Medium\nLow\nHigh",
"fieldname": "priority",
"fieldtype": "Select",
"search_index": 0,
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'priority',
'fieldtype': u'Select',
'label': u'Priority',
'no_copy': 0,
'oldfieldname': u'priority',
'oldfieldtype': u'Select',
'options': u'Medium\nLow\nHigh',
'permlevel': 0,
'search_index': 0
"doctype": "DocField",
"label": "Dates",
"fieldname": "cb_project_dates",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'cb_project_dates',
'fieldtype': u'Column Break',
'label': u'Dates',
'permlevel': 0
"no_copy": 0,
"oldfieldtype": "Date",
"doctype": "DocField",
"label": "Project Start Date",
"oldfieldname": "project_start_date",
"fieldname": "project_start_date",
"fieldtype": "Date",
"search_index": 0,
"permlevel": 0,
"in_filter": 1
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'project_start_date',
'fieldtype': u'Date',
'in_filter': 1,
'label': u'Project Start Date',
'no_copy': 0,
'oldfieldname': u'project_start_date',
'oldfieldtype': u'Date',
'permlevel': 0,
'search_index': 0
"no_copy": 0,
"oldfieldtype": "Date",
"doctype": "DocField",
"label": "Completion Date",
"oldfieldname": "completion_date",
"fieldname": "completion_date",
"fieldtype": "Date",
"search_index": 0,
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'completion_date',
'fieldtype': u'Date',
'label': u'Completion Date',
'no_copy': 0,
'oldfieldname': u'completion_date',
'oldfieldtype': u'Date',
'permlevel': 0,
'search_index': 0
"no_copy": 0,
"oldfieldtype": "Date",
"doctype": "DocField",
"label": "Actual Completion Date",
"oldfieldname": "act_completion_date",
"fieldname": "act_completion_date",
"fieldtype": "Date",
"search_index": 0,
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'act_completion_date',
'fieldtype': u'Date',
'label': u'Actual Completion Date',
'no_copy': 0,
'oldfieldname': u'act_completion_date',
'oldfieldtype': u'Date',
'permlevel': 0,
'search_index': 0
"no_copy": 0,
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Project Type",
"oldfieldname": "project_type",
"options": "Internal\nExternal\nOther",
"fieldname": "project_type",
"fieldtype": "Select",
"search_index": 0,
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'project_type',
'fieldtype': u'Select',
'label': u'Project Type',
'no_copy': 0,
'oldfieldname': u'project_type',
'oldfieldtype': u'Data',
'options': u'Internal\nExternal\nOther',
'permlevel': 0,
'search_index': 0
"description": "Important dates and commitments in your project life cycle",
"oldfieldtype": "Section Break",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Milestones",
"fieldname": "sb_milestones",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'description': u'Important dates and commitments in your project life cycle',
u'doctype': u'DocField',
'fieldname': u'sb_milestones',
'fieldtype': u'Section Break',
'label': u'Milestones',
'oldfieldtype': u'Section Break',
'permlevel': 0
"description": "Milestones will be added as Events in the Calendar",
"no_copy": 0,
"oldfieldtype": "Table",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Project Milestones",
"oldfieldname": "project_milestones",
"permlevel": 0,
"fieldname": "project_milestones",
"fieldtype": "Table",
"search_index": 0,
"options": "Project Milestone"
},
# DocField
{
'colour': u'White:FFF',
'description': u'Milestones will be added as Events in the Calendar',
u'doctype': u'DocField',
'fieldname': u'project_milestones',
'fieldtype': u'Table',
'label': u'Project Milestones',
'no_copy': 0,
'oldfieldname': u'project_milestones',
'oldfieldtype': u'Table',
'options': u'Project Milestone',
'permlevel': 0,
'search_index': 0
"description": "Tasks belonging to this Project.",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Tasks",
"fieldname": "sb_tasks",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'description': u'Tasks belonging to this Project.',
u'doctype': u'DocField',
'fieldname': u'sb_tasks',
'fieldtype': u'Section Break',
'label': u'Tasks',
'permlevel': 0
"doctype": "DocField",
"label": "Project Tasks",
"fieldname": "project_tasks",
"fieldtype": "HTML",
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'project_tasks',
'fieldtype': u'HTML',
'label': u'Project Tasks',
'permlevel': 0
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "Project Details",
"options": "Simple",
"fieldname": "section_break0",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'section_break0',
'fieldtype': u'Section Break',
'label': u'Project Details',
'oldfieldtype': u'Section Break',
'options': u'Simple',
'permlevel': 0
"no_copy": 0,
"oldfieldtype": "Text Editor",
"doctype": "DocField",
"label": "Notes",
"oldfieldname": "notes",
"fieldname": "notes",
"fieldtype": "Text Editor",
"search_index": 0,
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'notes',
'fieldtype': u'Text Editor',
'label': u'Notes',
'no_copy': 0,
'oldfieldname': u'notes',
'oldfieldtype': u'Text Editor',
'permlevel': 0,
'search_index': 0
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "Project Costing",
"options": "Simple",
"fieldname": "project_details",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'project_details',
'fieldtype': u'Section Break',
'label': u'Project Costing',
'oldfieldtype': u'Section Break',
'options': u'Simple',
'permlevel': 0
"no_copy": 0,
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Project Value",
"oldfieldname": "project_value",
"trigger": "Client",
"fieldname": "project_value",
"fieldtype": "Currency",
"search_index": 0,
"reqd": 0,
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'project_value',
'fieldtype': u'Currency',
'label': u'Project Value',
'no_copy': 0,
'oldfieldname': u'project_value',
'oldfieldtype': u'Currency',
'permlevel': 0,
'reqd': 0,
'search_index': 0,
'trigger': u'Client'
"no_copy": 0,
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Estimated Material Cost",
"oldfieldname": "est_material_cost",
"trigger": "Client",
"fieldname": "est_material_cost",
"fieldtype": "Currency",
"search_index": 0,
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'est_material_cost',
'fieldtype': u'Currency',
'label': u'Estimated Material Cost',
'no_copy': 0,
'oldfieldname': u'est_material_cost',
'oldfieldtype': u'Currency',
'permlevel': 0,
'search_index': 0,
'trigger': u'Client'
"oldfieldtype": "Column Break",
"doctype": "DocField",
"label": "Margin",
"width": "50%",
"fieldname": "column_break0",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'column_break0',
'fieldtype': u'Column Break',
'label': u'Margin',
'oldfieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"no_copy": 0,
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Gross Margin Value",
"oldfieldname": "gross_margin_value",
"fieldname": "gross_margin_value",
"fieldtype": "Currency",
"search_index": 0,
"reqd": 0,
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'gross_margin_value',
'fieldtype': u'Currency',
'label': u'Gross Margin Value',
'no_copy': 0,
'oldfieldname': u'gross_margin_value',
'oldfieldtype': u'Currency',
'permlevel': 0,
'reqd': 0,
'search_index': 0
"no_copy": 0,
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Gross Margin %",
"oldfieldname": "per_gross_margin",
"fieldname": "per_gross_margin",
"fieldtype": "Currency",
"search_index": 0,
"reqd": 0,
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'per_gross_margin',
'fieldtype': u'Currency',
'label': u'Gross Margin %',
'no_copy': 0,
'oldfieldname': u'per_gross_margin',
'oldfieldtype': u'Currency',
'permlevel': 0,
'reqd': 0,
'search_index': 0
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "Customer Details",
"fieldname": "customer_details",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'customer_details',
'fieldtype': u'Section Break',
'label': u'Customer Details',
'oldfieldtype': u'Section Break',
'permlevel': 0
"print_hide": 1,
"description": "Select name of Customer to whom project belongs",
"no_copy": 0,
"oldfieldtype": "Link",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Customer",
"oldfieldname": "customer",
"permlevel": 0,
"trigger": "Client",
"fieldname": "customer",
"fieldtype": "Link",
"search_index": 1,
"reqd": 0,
"in_filter": 1,
"options": "Customer"
},
# DocField
{
'colour': u'White:FFF',
'description': u'Select name of Customer to whom project belongs',
u'doctype': u'DocField',
'fieldname': u'customer',
'fieldtype': u'Link',
'in_filter': 1,
'label': u'Customer',
'no_copy': 0,
'oldfieldname': u'customer',
'oldfieldtype': u'Link',
'options': u'Customer',
'permlevel': 0,
'print_hide': 1,
'reqd': 0,
'search_index': 1,
'trigger': u'Client'
"no_copy": 0,
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Customer Name",
"oldfieldname": "customer_name",
"fieldname": "customer_name",
"fieldtype": "Data",
"search_index": 1,
"permlevel": 1,
"in_filter": 1
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'customer_name',
'fieldtype': u'Data',
'in_filter': 1,
'label': u'Customer Name',
'no_copy': 0,
'oldfieldname': u'customer_name',
'oldfieldtype': u'Data',
'permlevel': 1,
'search_index': 1
"no_copy": 0,
"oldfieldtype": "Small Text",
"doctype": "DocField",
"label": "Customer Address",
"oldfieldname": "customer_address",
"fieldname": "customer_address",
"fieldtype": "Small Text",
"search_index": 0,
"permlevel": 1
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'customer_address',
'fieldtype': u'Small Text',
'label': u'Customer Address',
'no_copy': 0,
'oldfieldname': u'customer_address',
'oldfieldtype': u'Small Text',
'permlevel': 1,
'search_index': 0
"no_copy": 0,
"oldfieldtype": "Link",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Contact Person",
"oldfieldname": "contact_person",
"permlevel": 0,
"trigger": "Client",
"fieldname": "contact_person",
"fieldtype": "Link",
"search_index": 0,
"reqd": 0,
"options": "Contact",
"in_filter": 1
},
# DocField
{
'colour': u'White:FFF',
u'doctype': u'DocField',
'fieldname': u'contact_person',
'fieldtype': u'Link',
'in_filter': 1,
'label': u'Contact Person',
'no_copy': 0,
'oldfieldname': u'contact_person',
'oldfieldtype': u'Link',
'options': u'Contact',
'permlevel': 0,
'reqd': 0,
'search_index': 0,
'trigger': u'Client'
"oldfieldtype": "Link",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Territory",
"oldfieldname": "territory",
"permlevel": 0,
"trigger": "Client",
"fieldname": "territory",
"fieldtype": "Link",
"search_index": 0,
"reqd": 0,
"options": "Territory",
"in_filter": 1
},
# DocField
{
'colour': u'White:FFF',
u'doctype': u'DocField',
'fieldname': u'territory',
'fieldtype': u'Link',
'in_filter': 1,
'label': u'Territory',
'oldfieldname': u'territory',
'oldfieldtype': u'Link',
'options': u'Territory',
'permlevel': 0,
'reqd': 0,
'search_index': 0,
'trigger': u'Client'
"no_copy": 0,
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Contact No",
"oldfieldname": "contact_no",
"fieldname": "contact_no",
"fieldtype": "Data",
"search_index": 0,
"permlevel": 1
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'contact_no',
'fieldtype': u'Data',
'label': u'Contact No',
'no_copy': 0,
'oldfieldname': u'contact_no',
'oldfieldtype': u'Data',
'permlevel': 1,
'search_index': 0
"no_copy": 0,
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Email Id",
"oldfieldname": "email_id",
"fieldname": "email_id",
"fieldtype": "Data",
"search_index": 0,
"permlevel": 1
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'email_id',
'fieldtype': u'Data',
'label': u'Email Id',
'no_copy': 0,
'oldfieldname': u'email_id',
'oldfieldtype': u'Data',
'permlevel': 1,
'search_index': 0
"no_copy": 0,
"oldfieldtype": "Link",
"doctype": "DocField",
"label": "Customer Group",
"oldfieldname": "customer_group",
"options": "Customer Group",
"fieldname": "customer_group",
"fieldtype": "Link",
"search_index": 0,
"permlevel": 1
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'customer_group',
'fieldtype': u'Link',
'label': u'Customer Group',
'no_copy': 0,
'oldfieldname': u'customer_group',
'oldfieldtype': u'Link',
'options': u'Customer Group',
'permlevel': 1,
'search_index': 0
"print_hide": 1,
"no_copy": 0,
"oldfieldtype": "Small Text",
"doctype": "DocField",
"label": "Trash Reason",
"oldfieldname": "trash_reason",
"fieldname": "trash_reason",
"fieldtype": "Small Text",
"search_index": 0,
"hidden": 1,
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'trash_reason',
'fieldtype': u'Small Text',
'hidden': 1,
'label': u'Trash Reason',
'no_copy': 0,
'oldfieldname': u'trash_reason',
'oldfieldtype': u'Small Text',
'permlevel': 0,
'print_hide': 1,
'search_index': 0
"print_hide": 1,
"no_copy": 1,
"search_index": 0,
"colour": "White:FFF",
"doctype": "DocField",
"label": "File List",
"fieldname": "file_list",
"fieldtype": "Small Text",
"hidden": 1,
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
u'doctype': u'DocField',
'fieldname': u'file_list',
'fieldtype': u'Small Text',
'hidden': 1,
'label': u'File List',
'no_copy': 1,
'permlevel': 0,
'print_hide': 1,
'search_index': 0
"amend": 0,
"create": 1,
"doctype": "DocPerm",
"submit": 0,
"write": 1,
"role": "Projects User",
"cancel": 1,
"permlevel": 0
},
# DocPerm
{
u'doctype': u'DocPerm'
"doctype": "DocPerm",
"role": "All",
"permlevel": 1
}
]

View File

@ -1,575 +1,456 @@
# DocType, Customer
[
# These values are common in all dictionaries
{
u'creation': '2012-09-21 09:56:34',
u'docstatus': 0,
u'modified': '2012-09-28 12:31:42',
u'modified_by': u'Administrator',
u'owner': u'Administrator'
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-10-02 11:27:30",
"modified_by": "Administrator",
"modified": "2012-09-28 12:31:42"
},
# These values are common for all DocType
{
'_last_update': u'1330501485',
'allow_print': 0,
'allow_trash': 1,
'colour': u'White:FFF',
'default_print_format': u'Standard',
u'doctype': u'DocType',
'document_type': u'Master',
'module': u'Selling',
u'name': u'__common__',
'search_fields': u'customer_name,customer_group,country,territory',
'section_style': u'Tabbed',
'server_code_error': u' ',
'show_in_menu': 0,
'subject': u'eval:"%(customer_name)s"=="%(name)s" ? "" : "%(customer_name)s"',
'tag_fields': u'customer_group,customer_type',
'version': 1
"name": "__common__",
"default_print_format": "Standard",
"allow_print": 0,
"search_fields": "customer_name,customer_group,country,territory",
"module": "Selling",
"doctype": "DocType",
"document_type": "Master"
},
# These values are common for all DocField
{
u'doctype': u'DocField',
u'name': u'__common__',
'parent': u'Customer',
'parentfield': u'fields',
'parenttype': u'DocType'
"name": "__common__",
"parent": "Customer",
"doctype": "DocField",
"parenttype": "DocType",
"parentfield": "fields"
},
# These values are common for all DocPerm
{
u'doctype': u'DocPerm',
u'name': u'__common__',
'parent': u'Customer',
'parentfield': u'permissions',
'parenttype': u'DocType',
'read': 1
"name": "__common__",
"parent": "Customer",
"read": 1,
"doctype": "DocPerm",
"parenttype": "DocType",
"parentfield": "permissions"
},
# DocType, Customer
{
u'doctype': u'DocType',
u'name': u'Customer'
"name": "Customer",
"doctype": "DocType"
},
# DocField
{
'colour': u'White:FFF',
'description': u'Note: You Can Manage Multiple Address or Contacts via Addresses & Contacts',
u'doctype': u'DocField',
'fieldname': u'basic_info',
'fieldtype': u'Section Break',
'label': u'Basic Info',
'oldfieldtype': u'Section Break',
'permlevel': 0,
'reqd': 0
"print_hide": 0,
"no_copy": 1,
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Customer Name",
"oldfieldname": "customer_name",
"fieldname": "customer_name",
"fieldtype": "Data",
"search_index": 1,
"reqd": 1,
"hidden": 0,
"permlevel": 0,
"report_hide": 0,
"in_filter": 1
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'customer_name',
'fieldtype': u'Data',
'hidden': 0,
'in_filter': 1,
'label': u'Customer Name',
'no_copy': 1,
'oldfieldname': u'customer_name',
'oldfieldtype': u'Data',
'permlevel': 0,
'print_hide': 0,
'report_hide': 0,
'reqd': 1,
'search_index': 1
"oldfieldtype": "Select",
"doctype": "DocField",
"label": "Customer Type",
"oldfieldname": "customer_type",
"options": "\nCompany\nIndividual",
"fieldname": "customer_type",
"fieldtype": "Select",
"reqd": 1,
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'customer_type',
'fieldtype': u'Select',
'label': u'Customer Type',
'oldfieldname': u'customer_type',
'oldfieldtype': u'Select',
'options': u'\nCompany\nIndividual',
'permlevel': 0,
'reqd': 1
"print_hide": 0,
"no_copy": 1,
"doctype": "DocField",
"label": "Series",
"options": "\nCUST\nCUSTMUM",
"fieldname": "naming_series",
"fieldtype": "Select",
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'naming_series',
'fieldtype': u'Select',
'label': u'Series',
'no_copy': 1,
'options': u'\nCUST\nCUSTMUM',
'permlevel': 0,
'print_hide': 0
"print_hide": 1,
"description": "Fetch lead which will be converted into customer.",
"no_copy": 1,
"oldfieldtype": "Link",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Lead Ref",
"oldfieldname": "lead_name",
"permlevel": 0,
"trigger": "Client",
"fieldname": "lead_name",
"fieldtype": "Link",
"hidden": 0,
"in_filter": 1,
"options": "Lead",
"report_hide": 1
},
# DocField
{
'colour': u'White:FFF',
'description': u'Fetch lead which will be converted into customer.',
u'doctype': u'DocField',
'fieldname': u'lead_name',
'fieldtype': u'Link',
'hidden': 0,
'in_filter': 1,
'label': u'Lead Ref',
'no_copy': 1,
'oldfieldname': u'lead_name',
'oldfieldtype': u'Link',
'options': u'Lead',
'permlevel': 0,
'print_hide': 1,
'report_hide': 1,
'trigger': u'Client'
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break0",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'column_break0',
'fieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"print_hide": 0,
"description": "<a href=\"#!Sales Browser/Customer Group\">To manage Customer Groups, click here</a>",
"oldfieldtype": "Link",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Customer Group",
"oldfieldname": "customer_group",
"permlevel": 0,
"trigger": "Client",
"fieldname": "customer_group",
"fieldtype": "Link",
"search_index": 1,
"reqd": 1,
"hidden": 0,
"in_filter": 1,
"options": "Customer Group"
},
# DocField
{
'colour': u'White:FFF',
'description': u'<a href="#!Sales Browser/Customer Group">To manage Customer Groups, click here</a>',
u'doctype': u'DocField',
'fieldname': u'customer_group',
'fieldtype': u'Link',
'hidden': 0,
'in_filter': 1,
'label': u'Customer Group',
'oldfieldname': u'customer_group',
'oldfieldtype': u'Link',
'options': u'Customer Group',
'permlevel': 0,
'print_hide': 0,
'reqd': 1,
'search_index': 1,
'trigger': u'Client'
"print_hide": 1,
"description": "<a href=\"#!Sales Browser/Territory\">To manage Territory, click here</a>",
"oldfieldtype": "Link",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Territory",
"oldfieldname": "territory",
"permlevel": 0,
"trigger": "Client",
"fieldname": "territory",
"fieldtype": "Link",
"reqd": 1,
"options": "Territory"
},
# DocField
{
'colour': u'White:FFF',
'description': u'<a href="#!Sales Browser/Territory">To manage Territory, click here</a>',
u'doctype': u'DocField',
'fieldname': u'territory',
'fieldtype': u'Link',
'label': u'Territory',
'oldfieldname': u'territory',
'oldfieldtype': u'Link',
'options': u'Territory',
'permlevel': 0,
'print_hide': 1,
'reqd': 1,
'trigger': u'Client'
"colour": "White:FFF",
"doctype": "DocField",
"label": "Address & Contacts",
"fieldname": "address_contacts",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
u'doctype': u'DocField',
'fieldname': u'address_contacts',
'fieldtype': u'Section Break',
'label': u'Address & Contacts',
'permlevel': 0
"depends_on": "eval:doc.__islocal",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Address Desc",
"options": "<em>Addresses will appear only when you save the customer</em>",
"fieldname": "address_desc",
"fieldtype": "HTML",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'depends_on': u'eval:doc.__islocal',
u'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
"colour": "White:FFF",
"doctype": "DocField",
"label": "Address HTML",
"fieldname": "address_html",
"fieldtype": "HTML",
"permlevel": 1
},
# DocField
{
'colour': u'White:FFF',
u'doctype': u'DocField',
'fieldname': u'address_html',
'fieldtype': u'HTML',
'label': u'Address HTML',
'permlevel': 1
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break1",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'column_break1',
'fieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"depends_on": "eval:doc.__islocal",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Contact Desc",
"options": "<em>Contact Details will appear only when you save the customer</em>",
"fieldname": "contact_desc",
"fieldtype": "HTML",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'depends_on': u'eval:doc.__islocal',
u'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
"oldfieldtype": "HTML",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Contact HTML",
"fieldname": "contact_html",
"fieldtype": "HTML",
"permlevel": 1
},
# DocField
{
'colour': u'White:FFF',
u'doctype': u'DocField',
'fieldname': u'contact_html',
'fieldtype': u'HTML',
'label': u'Contact HTML',
'oldfieldtype': u'HTML',
'permlevel': 1
"doctype": "DocField",
"label": "Communication History",
"fieldname": "communication_history",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'communication_history',
'fieldtype': u'Section Break',
'label': u'Communication History',
'permlevel': 0
"doctype": "DocField",
"label": "Communication HTML",
"fieldname": "communication_html",
"fieldtype": "HTML",
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'communication_html',
'fieldtype': u'HTML',
'label': u'Communication HTML',
'permlevel': 0
"oldfieldtype": "Section Break",
"colour": "White:FFF",
"doctype": "DocField",
"label": "More Info",
"fieldname": "more_info",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
u'doctype': u'DocField',
'fieldname': u'more_info',
'fieldtype': u'Section Break',
'label': u'More Info',
'oldfieldtype': u'Section Break',
'permlevel': 0
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break2",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'column_break2',
'fieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"description": "To create an Account Head under a different company, select the company and save customer.",
"oldfieldtype": "Link",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Company",
"oldfieldname": "company",
"permlevel": 0,
"fieldname": "company",
"fieldtype": "Link",
"search_index": 1,
"reqd": 1,
"in_filter": 1,
"options": "Company"
},
# DocField
{
'colour': u'White:FFF',
'description': u'To create an Account Head under a different company, select the company and save customer.',
u'doctype': u'DocField',
'fieldname': u'company',
'fieldtype': u'Link',
'in_filter': 1,
'label': u'Company',
'oldfieldname': u'company',
'oldfieldtype': u'Link',
'options': u'Company',
'permlevel': 0,
'reqd': 1,
'search_index': 1
"doctype": "DocField",
"label": "Default Price List",
"options": "Price List",
"fieldname": "default_price_list",
"fieldtype": "Link",
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'default_price_list',
'fieldtype': u'Link',
'label': u'Default Price List',
'options': u'Price List',
'permlevel': 0
"description": "This currency will get fetched in Sales transactions of this customer",
"no_copy": 1,
"colour": "White:FFF",
"doctype": "DocField",
"label": "Default Currency",
"options": "link:Currency",
"fieldname": "default_currency",
"fieldtype": "Select",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'description': u'This currency will get fetched in Sales transactions of this customer',
u'doctype': u'DocField',
'fieldname': u'default_currency',
'fieldtype': u'Select',
'label': u'Default Currency',
'no_copy': 1,
'options': u'link:Currency',
'permlevel': 0
"description": "Your Customer's TAX registration numbers (if applicable) or any general information",
"oldfieldtype": "Code",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Customer Details",
"oldfieldname": "customer_details",
"fieldname": "customer_details",
"fieldtype": "Text",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'description': u"Your Customer's TAX registration numbers (if applicable) or any general information",
u'doctype': u'DocField',
'fieldname': u'customer_details',
'fieldtype': u'Text',
'label': u'Customer Details',
'oldfieldname': u'customer_details',
'oldfieldtype': u'Code',
'permlevel': 0
"doctype": "DocField",
"width": "50%",
"fieldname": "column_break3",
"fieldtype": "Column Break",
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'column_break3',
'fieldtype': u'Column Break',
'permlevel': 0,
'width': u'50%'
"oldfieldtype": "Int",
"doctype": "DocField",
"label": "Credit Days",
"oldfieldname": "credit_days",
"fieldname": "credit_days",
"fieldtype": "Int",
"permlevel": 2
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'credit_days',
'fieldtype': u'Int',
'label': u'Credit Days',
'oldfieldname': u'credit_days',
'oldfieldtype': u'Int',
'permlevel': 2
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Credit Limit",
"oldfieldname": "credit_limit",
"fieldname": "credit_limit",
"fieldtype": "Currency",
"permlevel": 2
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'credit_limit',
'fieldtype': u'Currency',
'label': u'Credit Limit',
'oldfieldname': u'credit_limit',
'oldfieldtype': u'Currency',
'permlevel': 2
"doctype": "DocField",
"label": "Website",
"fieldname": "website",
"fieldtype": "Data",
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'website',
'fieldtype': u'Data',
'label': u'Website',
'permlevel': 0
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "Sales Team",
"fieldname": "sales_team_section_break",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'sales_team_section_break',
'fieldtype': u'Section Break',
'label': u'Sales Team',
'oldfieldtype': u'Section Break',
'permlevel': 0
"oldfieldtype": "Link",
"doctype": "DocField",
"label": "Default Sales Partner",
"oldfieldname": "default_sales_partner",
"options": "Sales Partner",
"fieldname": "default_sales_partner",
"fieldtype": "Link",
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'default_sales_partner',
'fieldtype': u'Link',
'label': u'Default Sales Partner',
'oldfieldname': u'default_sales_partner',
'oldfieldtype': u'Link',
'options': u'Sales Partner',
'permlevel': 0
"oldfieldtype": "Currency",
"doctype": "DocField",
"label": "Default Commission Rate",
"oldfieldname": "default_commission_rate",
"fieldname": "default_commission_rate",
"fieldtype": "Currency",
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'default_commission_rate',
'fieldtype': u'Currency',
'label': u'Default Commission Rate',
'oldfieldname': u'default_commission_rate',
'oldfieldtype': u'Currency',
'permlevel': 0
"oldfieldtype": "Table",
"doctype": "DocField",
"label": "Sales Team Details",
"oldfieldname": "sales_team",
"options": "Sales Team",
"fieldname": "sales_team",
"fieldtype": "Table",
"permlevel": 0
},
# DocField
{
u'doctype': u'DocField',
'fieldname': u'sales_team',
'fieldtype': u'Table',
'label': u'Sales Team Details',
'oldfieldname': u'sales_team',
'oldfieldtype': u'Table',
'options': u'Sales Team',
'permlevel': 0
"depends_on": "eval:!doc.__islocal",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Transaction History",
"fieldname": "transaction_history",
"fieldtype": "Section Break",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'depends_on': u'eval:!doc.__islocal',
u'doctype': u'DocField',
'fieldname': u'transaction_history',
'fieldtype': u'Section Break',
'label': u'Transaction History',
'permlevel': 0
"depends_on": "eval:!doc.__islocal",
"colour": "White:FFF",
"doctype": "DocField",
"label": "History HTML",
"fieldname": "history_html",
"fieldtype": "HTML",
"permlevel": 0
},
# DocField
{
'colour': u'White:FFF',
'depends_on': u'eval:!doc.__islocal',
u'doctype': u'DocField',
'fieldname': u'history_html',
'fieldtype': u'HTML',
'label': u'History HTML',
'permlevel': 0
"oldfieldtype": "Small Text",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Trash Reason",
"oldfieldname": "trash_reason",
"fieldname": "trash_reason",
"fieldtype": "Small Text",
"permlevel": 1
},
# DocField
{
'colour': u'White:FFF',
u'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
"amend": 0,
"create": 1,
"doctype": "DocPerm",
"submit": 0,
"write": 1,
"role": "Sales Master Manager",
"cancel": 1,
"permlevel": 0
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
u'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Sales Manager',
'submit': 0,
'write': 0
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Sales Master Manager",
"cancel": 0,
"permlevel": 1
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
u'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Sales Manager',
'submit': 0,
'write': 0
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Sales Manager",
"cancel": 0,
"permlevel": 1
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
u'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Sales User',
'submit': 0,
'write': 0
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Sales Manager",
"cancel": 0,
"permlevel": 0
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
u'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Sales User',
'submit': 0,
'write': 0
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Sales User",
"cancel": 0,
"permlevel": 1
},
# DocPerm
{
'amend': 0,
'cancel': 1,
'create': 1,
u'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Sales Master Manager',
'submit': 0,
'write': 1
"amend": 0,
"create": 0,
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Sales User",
"cancel": 0,
"permlevel": 0
},
# DocPerm
{
'amend': 0,
'cancel': 0,
'create': 0,
u'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Sales Master Manager',
'submit': 0,
'write': 0
"create": 0,
"doctype": "DocPerm",
"write": 1,
"role": "Accounts Manager",
"cancel": 0,
"permlevel": 2
},
# DocPerm
{
'cancel': 0,
'create': 0,
u'doctype': u'DocPerm',
'permlevel': 2,
'role': u'Accounts Manager',
'write': 1
"create": 0,
"doctype": "DocPerm",
"write": 1,
"role": "System Manager",
"cancel": 0,
"permlevel": 2
},
# DocPerm
{
'cancel': 0,
'create': 0,
u'doctype': u'DocPerm',
'permlevel': 2,
'role': u'System Manager',
'write': 1
"create": 0,
"doctype": "DocPerm",
"write": 0,
"role": "All",
"cancel": 0,
"permlevel": 2
},
# DocPerm
{
'cancel': 0,
'create': 0,
u'doctype': u'DocPerm',
'permlevel': 2,
'role': u'All',
'write': 0
"create": 1,
"doctype": "DocPerm",
"write": 1,
"role": "Accounts Manager",
"cancel": 1,
"permlevel": 0
},
# DocPerm
{
'cancel': 1,
'create': 1,
u'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Accounts Manager',
'write': 1
},
# DocPerm
{
'cancel': 0,
'create': 0,
u'doctype': u'DocPerm',
'permlevel': 1,
'role': u'All',
'write': 0
"create": 0,
"doctype": "DocPerm",
"write": 0,
"role": "All",
"cancel": 0,
"permlevel": 1
}
]

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-11-02 17:16:44",
"creation": "2012-11-28 11:26:20",
"modified_by": "Administrator",
"modified": "2012-11-26 11:57:10"
},
@ -40,16 +40,6 @@
"name": "Quotation",
"doctype": "DocType"
},
{
"print_hide": 1,
"oldfieldtype": "Section Break",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Basic Info",
"fieldname": "basic_info",
"fieldtype": "Section Break",
"permlevel": 0
},
{
"doctype": "DocField",
"width": "50%",
@ -245,9 +235,9 @@
"permlevel": 0
},
{
"allow_on_submit": 1,
"oldfieldtype": "Table",
"colour": "White:FFF",
"allow_on_submit": 1,
"doctype": "DocField",
"label": "Quotation Items",
"oldfieldname": "quotation_details",
@ -739,8 +729,8 @@
},
{
"print_hide": 1,
"allow_on_submit": 1,
"oldfieldtype": "Select",
"allow_on_submit": 1,
"doctype": "DocField",
"label": "Letter Head",
"oldfieldname": "letter_head",
@ -861,8 +851,8 @@
"permlevel": 0
},
{
"permlevel": 1,
"print_hide": 1,
"permlevel": 1,
"no_copy": 1,
"oldfieldtype": "Select",
"colour": "White:FFF",

View File

@ -2,7 +2,7 @@
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-11-24 17:21:44",
"creation": "2012-11-28 11:26:20",
"modified_by": "Administrator",
"modified": "2012-11-26 11:56:33"
},
@ -38,16 +38,6 @@
"name": "Sales Order",
"doctype": "DocType"
},
{
"print_hide": 1,
"oldfieldtype": "Section Break",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Basic Info",
"fieldname": "basic_info",
"fieldtype": "Section Break",
"permlevel": 0
},
{
"oldfieldtype": "Column Break",
"doctype": "DocField",
@ -734,8 +724,8 @@
},
{
"print_hide": 1,
"oldfieldtype": "Select",
"allow_on_submit": 1,
"oldfieldtype": "Select",
"doctype": "DocField",
"label": "Letter Head",
"oldfieldname": "letter_head",
@ -835,17 +825,17 @@
},
{
"print_hide": 1,
"doctype": "DocField",
"no_copy": 1,
"depends_on": "eval:!doc.__islocal",
"colour": "White:FFF",
"oldfieldtype": "Data",
"doctype": "DocField",
"label": "Cancel Reason",
"oldfieldname": "cancel_reason",
"permlevel": 1,
"fieldname": "cancel_reason",
"fieldtype": "Data",
"no_column": 0,
"permlevel": 1
"oldfieldtype": "Data"
},
{
"print_hide": 1,

View File

@ -2,7 +2,7 @@
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-11-02 17:16:55",
"creation": "2012-11-28 11:26:21",
"modified_by": "Administrator",
"modified": "2012-11-26 11:56:10"
},
@ -38,15 +38,6 @@
"name": "Delivery Note",
"doctype": "DocType"
},
{
"oldfieldtype": "Section Break",
"colour": "White:FFF",
"doctype": "DocField",
"label": "Basic Info",
"fieldname": "basic_info",
"fieldtype": "Section Break",
"permlevel": 0
},
{
"oldfieldtype": "Column Break",
"doctype": "DocField",
@ -784,8 +775,8 @@
},
{
"print_hide": 1,
"oldfieldtype": "Link",
"allow_on_submit": 1,
"oldfieldtype": "Link",
"doctype": "DocField",
"label": "Letter Head",
"oldfieldname": "letter_head",
@ -851,8 +842,8 @@
},
{
"print_hide": 1,
"oldfieldtype": "Check",
"allow_on_submit": 1,
"oldfieldtype": "Check",
"doctype": "DocField",
"label": "Print Without Amount",
"oldfieldname": "print_without_amount",
@ -924,9 +915,9 @@
},
{
"print_hide": 1,
"allow_on_submit": 0,
"no_copy": 1,
"oldfieldtype": "Data",
"allow_on_submit": 0,
"doctype": "DocField",
"label": "Amended From",
"oldfieldname": "amended_from",
@ -1167,7 +1158,8 @@
"write": 1,
"role": "Sales User",
"cancel": 1,
"permlevel": 0
"permlevel": 0,
"match": ""
},
{
"amend": 0,
@ -1182,12 +1174,12 @@
{
"doctype": "DocPerm",
"role": "Customer",
"permlevel": 0,
"match": "customer_name"
"match": "customer_name",
"permlevel": 0
},
{
"doctype": "DocPerm",
"write": 1,
"doctype": "DocPerm",
"role": "All",
"permlevel": 2
},

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-11-14 12:25:16",
"creation": "2012-11-28 11:26:11",
"modified_by": "Administrator",
"modified": "2012-11-27 18:51:01"
},
@ -36,13 +36,6 @@
"name": "Communication",
"doctype": "DocType"
},
{
"doctype": "DocField",
"label": "Basic Info",
"fieldname": "basic_info",
"fieldtype": "Section Break",
"permlevel": 0
},
{
"default": "COMM-",
"colour": "White:FFF",

View File

@ -2,7 +2,7 @@
{
"owner": "harshada@webnotestech.com",
"docstatus": 0,
"creation": "2012-11-24 17:21:45",
"creation": "2012-11-28 11:26:23",
"modified_by": "Administrator",
"modified": "2012-11-26 11:19:39"
},
@ -34,14 +34,6 @@
"name": "Customer Issue",
"doctype": "DocType"
},
{
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "Basic Info",
"fieldname": "basic_info",
"fieldtype": "Section Break",
"permlevel": 0
},
{
"no_copy": 1,
"oldfieldtype": "Select",

View File

@ -2,7 +2,7 @@
{
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-08-24 14:48:05",
"creation": "2012-11-28 11:26:23",
"modified_by": "Administrator",
"modified": "2012-11-26 11:18:43"
},
@ -33,13 +33,6 @@
"name": "Newsletter",
"doctype": "DocType"
},
{
"doctype": "DocField",
"label": "Basic Info",
"fieldname": "basic_info",
"fieldtype": "Section Break",
"permlevel": 0
},
{
"default": "NL-",
"colour": "White:FFF",