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

File diff suppressed because it is too large Load Diff

View File

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

View File

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

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

View File

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

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_module': 'patches.november_2012',
'patch_file': 'add_theme_to_profile', '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', "owner": "Administrator",
u'docstatus': 0, "docstatus": 0,
u'modified': '2012-11-14 17:04:57', "creation": "2012-11-28 11:26:18",
u'modified_by': u'Administrator', "modified_by": "Administrator",
u'owner': u'Administrator' "modified": "2012-11-14 17:04:57"
}, },
# These values are common for all DocType
{ {
'_last_update': u'1305714062', "autoname": "field:project_name",
'allow_attach': 1, "allow_attach": 1,
'allow_trash': 1, "default_print_format": "Standard",
'autoname': u'field:project_name', "search_fields": "customer, status, priority, is_active",
'colour': u'White:FFF', "module": "Projects",
'default_print_format': u'Standard', "doctype": "DocType",
u'doctype': u'DocType', "max_attachments": 4,
'document_type': u'Master', "document_type": "Master",
'max_attachments': 4, "name": "__common__"
'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
}, },
# These values are common for all DocField
{ {
u'doctype': u'DocField', "name": "__common__",
u'name': u'__common__', "parent": "Project",
'parent': u'Project', "doctype": "DocField",
'parentfield': u'fields', "parenttype": "DocType",
'parenttype': u'DocType' "parentfield": "fields"
}, },
# These values are common for all DocPerm
{ {
'cancel': 1, "name": "__common__",
'create': 1, "parent": "Project",
u'doctype': u'DocPerm', "read": 1,
u'name': u'__common__', "doctype": "DocPerm",
'parent': u'Project', "parenttype": "DocType",
'parentfield': u'permissions', "parentfield": "permissions"
'parenttype': u'DocType',
'permlevel': 0,
'read': 1,
'role': u'Projects User',
'write': 1
}, },
# DocType, Project
{ {
u'doctype': u'DocType', "name": "Project",
u'name': u'Project' "doctype": "DocType"
}, },
# DocField
{ {
'colour': u'White:FFF', "doctype": "DocField",
'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', "label": "Status",
u'doctype': u'DocField', "fieldname": "cb_project_status",
'fieldname': u'basic_info', "fieldtype": "Column Break",
'fieldtype': u'Section Break', "permlevel": 0
'label': u'Basic Info',
'oldfieldtype': u'Section Break',
'permlevel': 0
}, },
# DocField
{ {
u'doctype': u'DocField', "description": "Project will get saved and will be searchable with project name given",
'fieldname': u'cb_project_status', "no_copy": 0,
'fieldtype': u'Column Break', "oldfieldtype": "Data",
'label': u'Status', "doctype": "DocField",
'permlevel': 0 "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', "permlevel": 0,
u'doctype': u'DocField', "no_copy": 1,
'fieldname': u'project_name', "oldfieldtype": "Select",
'fieldtype': u'Data', "colour": "White:FFF",
'label': u'Project Name', "doctype": "DocField",
'no_copy': 0, "label": "Status",
'oldfieldname': u'project_name', "oldfieldname": "status",
'oldfieldtype': u'Data', "default": "Open",
'permlevel': 0, "fieldname": "status",
'reqd': 1 "fieldtype": "Select",
"search_index": 1,
"reqd": 1,
"options": "Open\nCompleted\nCancelled",
"in_filter": 1
}, },
# DocField
{ {
'colour': u'White:FFF', "no_copy": 0,
'default': u'Open', "oldfieldtype": "Select",
u'doctype': u'DocField', "doctype": "DocField",
'fieldname': u'status', "label": "Is Active",
'fieldtype': u'Select', "oldfieldname": "is_active",
'in_filter': 1, "options": "Yes\nNo",
'label': u'Status', "fieldname": "is_active",
'no_copy': 1, "fieldtype": "Select",
'oldfieldname': u'status', "search_index": 0,
'oldfieldtype': u'Select', "permlevel": 0
'options': u'Open\nCompleted\nCancelled',
'permlevel': 0,
'reqd': 1,
'search_index': 1
}, },
# DocField
{ {
u'doctype': u'DocField', "no_copy": 0,
'fieldname': u'is_active', "oldfieldtype": "Select",
'fieldtype': u'Select', "doctype": "DocField",
'label': u'Is Active', "label": "Priority",
'no_copy': 0, "oldfieldname": "priority",
'oldfieldname': u'is_active', "options": "Medium\nLow\nHigh",
'oldfieldtype': u'Select', "fieldname": "priority",
'options': u'Yes\nNo', "fieldtype": "Select",
'permlevel': 0, "search_index": 0,
'search_index': 0 "permlevel": 0
}, },
# DocField
{ {
u'doctype': u'DocField', "doctype": "DocField",
'fieldname': u'priority', "label": "Dates",
'fieldtype': u'Select', "fieldname": "cb_project_dates",
'label': u'Priority', "fieldtype": "Column Break",
'no_copy': 0, "permlevel": 0
'oldfieldname': u'priority',
'oldfieldtype': u'Select',
'options': u'Medium\nLow\nHigh',
'permlevel': 0,
'search_index': 0
}, },
# DocField
{ {
u'doctype': u'DocField', "no_copy": 0,
'fieldname': u'cb_project_dates', "oldfieldtype": "Date",
'fieldtype': u'Column Break', "doctype": "DocField",
'label': u'Dates', "label": "Project Start Date",
'permlevel': 0 "oldfieldname": "project_start_date",
"fieldname": "project_start_date",
"fieldtype": "Date",
"search_index": 0,
"permlevel": 0,
"in_filter": 1
}, },
# DocField
{ {
u'doctype': u'DocField', "no_copy": 0,
'fieldname': u'project_start_date', "oldfieldtype": "Date",
'fieldtype': u'Date', "doctype": "DocField",
'in_filter': 1, "label": "Completion Date",
'label': u'Project Start Date', "oldfieldname": "completion_date",
'no_copy': 0, "fieldname": "completion_date",
'oldfieldname': u'project_start_date', "fieldtype": "Date",
'oldfieldtype': u'Date', "search_index": 0,
'permlevel': 0, "permlevel": 0
'search_index': 0
}, },
# DocField
{ {
u'doctype': u'DocField', "no_copy": 0,
'fieldname': u'completion_date', "oldfieldtype": "Date",
'fieldtype': u'Date', "doctype": "DocField",
'label': u'Completion Date', "label": "Actual Completion Date",
'no_copy': 0, "oldfieldname": "act_completion_date",
'oldfieldname': u'completion_date', "fieldname": "act_completion_date",
'oldfieldtype': u'Date', "fieldtype": "Date",
'permlevel': 0, "search_index": 0,
'search_index': 0 "permlevel": 0
}, },
# DocField
{ {
u'doctype': u'DocField', "no_copy": 0,
'fieldname': u'act_completion_date', "oldfieldtype": "Data",
'fieldtype': u'Date', "doctype": "DocField",
'label': u'Actual Completion Date', "label": "Project Type",
'no_copy': 0, "oldfieldname": "project_type",
'oldfieldname': u'act_completion_date', "options": "Internal\nExternal\nOther",
'oldfieldtype': u'Date', "fieldname": "project_type",
'permlevel': 0, "fieldtype": "Select",
'search_index': 0 "search_index": 0,
"permlevel": 0
}, },
# DocField
{ {
u'doctype': u'DocField', "description": "Important dates and commitments in your project life cycle",
'fieldname': u'project_type', "oldfieldtype": "Section Break",
'fieldtype': u'Select', "colour": "White:FFF",
'label': u'Project Type', "doctype": "DocField",
'no_copy': 0, "label": "Milestones",
'oldfieldname': u'project_type', "fieldname": "sb_milestones",
'oldfieldtype': u'Data', "fieldtype": "Section Break",
'options': u'Internal\nExternal\nOther', "permlevel": 0
'permlevel': 0,
'search_index': 0
}, },
# DocField
{ {
'colour': u'White:FFF', "description": "Milestones will be added as Events in the Calendar",
'description': u'Important dates and commitments in your project life cycle', "no_copy": 0,
u'doctype': u'DocField', "oldfieldtype": "Table",
'fieldname': u'sb_milestones', "colour": "White:FFF",
'fieldtype': u'Section Break', "doctype": "DocField",
'label': u'Milestones', "label": "Project Milestones",
'oldfieldtype': u'Section Break', "oldfieldname": "project_milestones",
'permlevel': 0 "permlevel": 0,
"fieldname": "project_milestones",
"fieldtype": "Table",
"search_index": 0,
"options": "Project Milestone"
}, },
# DocField
{ {
'colour': u'White:FFF', "description": "Tasks belonging to this Project.",
'description': u'Milestones will be added as Events in the Calendar', "colour": "White:FFF",
u'doctype': u'DocField', "doctype": "DocField",
'fieldname': u'project_milestones', "label": "Tasks",
'fieldtype': u'Table', "fieldname": "sb_tasks",
'label': u'Project Milestones', "fieldtype": "Section Break",
'no_copy': 0, "permlevel": 0
'oldfieldname': u'project_milestones',
'oldfieldtype': u'Table',
'options': u'Project Milestone',
'permlevel': 0,
'search_index': 0
}, },
# DocField
{ {
'colour': u'White:FFF', "doctype": "DocField",
'description': u'Tasks belonging to this Project.', "label": "Project Tasks",
u'doctype': u'DocField', "fieldname": "project_tasks",
'fieldname': u'sb_tasks', "fieldtype": "HTML",
'fieldtype': u'Section Break', "permlevel": 0
'label': u'Tasks',
'permlevel': 0
}, },
# DocField
{ {
u'doctype': u'DocField', "oldfieldtype": "Section Break",
'fieldname': u'project_tasks', "doctype": "DocField",
'fieldtype': u'HTML', "label": "Project Details",
'label': u'Project Tasks', "options": "Simple",
'permlevel': 0 "fieldname": "section_break0",
"fieldtype": "Section Break",
"permlevel": 0
}, },
# DocField
{ {
u'doctype': u'DocField', "no_copy": 0,
'fieldname': u'section_break0', "oldfieldtype": "Text Editor",
'fieldtype': u'Section Break', "doctype": "DocField",
'label': u'Project Details', "label": "Notes",
'oldfieldtype': u'Section Break', "oldfieldname": "notes",
'options': u'Simple', "fieldname": "notes",
'permlevel': 0 "fieldtype": "Text Editor",
"search_index": 0,
"permlevel": 0
}, },
# DocField
{ {
u'doctype': u'DocField', "oldfieldtype": "Section Break",
'fieldname': u'notes', "doctype": "DocField",
'fieldtype': u'Text Editor', "label": "Project Costing",
'label': u'Notes', "options": "Simple",
'no_copy': 0, "fieldname": "project_details",
'oldfieldname': u'notes', "fieldtype": "Section Break",
'oldfieldtype': u'Text Editor', "permlevel": 0
'permlevel': 0,
'search_index': 0
}, },
# DocField
{ {
u'doctype': u'DocField', "no_copy": 0,
'fieldname': u'project_details', "oldfieldtype": "Currency",
'fieldtype': u'Section Break', "doctype": "DocField",
'label': u'Project Costing', "label": "Project Value",
'oldfieldtype': u'Section Break', "oldfieldname": "project_value",
'options': u'Simple', "trigger": "Client",
'permlevel': 0 "fieldname": "project_value",
"fieldtype": "Currency",
"search_index": 0,
"reqd": 0,
"permlevel": 0
}, },
# DocField
{ {
u'doctype': u'DocField', "no_copy": 0,
'fieldname': u'project_value', "oldfieldtype": "Currency",
'fieldtype': u'Currency', "doctype": "DocField",
'label': u'Project Value', "label": "Estimated Material Cost",
'no_copy': 0, "oldfieldname": "est_material_cost",
'oldfieldname': u'project_value', "trigger": "Client",
'oldfieldtype': u'Currency', "fieldname": "est_material_cost",
'permlevel': 0, "fieldtype": "Currency",
'reqd': 0, "search_index": 0,
'search_index': 0, "permlevel": 0
'trigger': u'Client'
}, },
# DocField
{ {
u'doctype': u'DocField', "oldfieldtype": "Column Break",
'fieldname': u'est_material_cost', "doctype": "DocField",
'fieldtype': u'Currency', "label": "Margin",
'label': u'Estimated Material Cost', "width": "50%",
'no_copy': 0, "fieldname": "column_break0",
'oldfieldname': u'est_material_cost', "fieldtype": "Column Break",
'oldfieldtype': u'Currency', "permlevel": 0
'permlevel': 0,
'search_index': 0,
'trigger': u'Client'
}, },
# DocField
{ {
u'doctype': u'DocField', "no_copy": 0,
'fieldname': u'column_break0', "oldfieldtype": "Currency",
'fieldtype': u'Column Break', "doctype": "DocField",
'label': u'Margin', "label": "Gross Margin Value",
'oldfieldtype': u'Column Break', "oldfieldname": "gross_margin_value",
'permlevel': 0, "fieldname": "gross_margin_value",
'width': u'50%' "fieldtype": "Currency",
"search_index": 0,
"reqd": 0,
"permlevel": 0
}, },
# DocField
{ {
u'doctype': u'DocField', "no_copy": 0,
'fieldname': u'gross_margin_value', "oldfieldtype": "Currency",
'fieldtype': u'Currency', "doctype": "DocField",
'label': u'Gross Margin Value', "label": "Gross Margin %",
'no_copy': 0, "oldfieldname": "per_gross_margin",
'oldfieldname': u'gross_margin_value', "fieldname": "per_gross_margin",
'oldfieldtype': u'Currency', "fieldtype": "Currency",
'permlevel': 0, "search_index": 0,
'reqd': 0, "reqd": 0,
'search_index': 0 "permlevel": 0
}, },
# DocField
{ {
u'doctype': u'DocField', "oldfieldtype": "Section Break",
'fieldname': u'per_gross_margin', "doctype": "DocField",
'fieldtype': u'Currency', "label": "Customer Details",
'label': u'Gross Margin %', "fieldname": "customer_details",
'no_copy': 0, "fieldtype": "Section Break",
'oldfieldname': u'per_gross_margin', "permlevel": 0
'oldfieldtype': u'Currency',
'permlevel': 0,
'reqd': 0,
'search_index': 0
}, },
# DocField
{ {
u'doctype': u'DocField', "print_hide": 1,
'fieldname': u'customer_details', "description": "Select name of Customer to whom project belongs",
'fieldtype': u'Section Break', "no_copy": 0,
'label': u'Customer Details', "oldfieldtype": "Link",
'oldfieldtype': u'Section Break', "colour": "White:FFF",
'permlevel': 0 "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', "no_copy": 0,
'description': u'Select name of Customer to whom project belongs', "oldfieldtype": "Data",
u'doctype': u'DocField', "doctype": "DocField",
'fieldname': u'customer', "label": "Customer Name",
'fieldtype': u'Link', "oldfieldname": "customer_name",
'in_filter': 1, "fieldname": "customer_name",
'label': u'Customer', "fieldtype": "Data",
'no_copy': 0, "search_index": 1,
'oldfieldname': u'customer', "permlevel": 1,
'oldfieldtype': u'Link', "in_filter": 1
'options': u'Customer',
'permlevel': 0,
'print_hide': 1,
'reqd': 0,
'search_index': 1,
'trigger': u'Client'
}, },
# DocField
{ {
u'doctype': u'DocField', "no_copy": 0,
'fieldname': u'customer_name', "oldfieldtype": "Small Text",
'fieldtype': u'Data', "doctype": "DocField",
'in_filter': 1, "label": "Customer Address",
'label': u'Customer Name', "oldfieldname": "customer_address",
'no_copy': 0, "fieldname": "customer_address",
'oldfieldname': u'customer_name', "fieldtype": "Small Text",
'oldfieldtype': u'Data', "search_index": 0,
'permlevel': 1, "permlevel": 1
'search_index': 1
}, },
# DocField
{ {
u'doctype': u'DocField', "no_copy": 0,
'fieldname': u'customer_address', "oldfieldtype": "Link",
'fieldtype': u'Small Text', "colour": "White:FFF",
'label': u'Customer Address', "doctype": "DocField",
'no_copy': 0, "label": "Contact Person",
'oldfieldname': u'customer_address', "oldfieldname": "contact_person",
'oldfieldtype': u'Small Text', "permlevel": 0,
'permlevel': 1, "trigger": "Client",
'search_index': 0 "fieldname": "contact_person",
"fieldtype": "Link",
"search_index": 0,
"reqd": 0,
"options": "Contact",
"in_filter": 1
}, },
# DocField
{ {
'colour': u'White:FFF', "oldfieldtype": "Link",
u'doctype': u'DocField', "colour": "White:FFF",
'fieldname': u'contact_person', "doctype": "DocField",
'fieldtype': u'Link', "label": "Territory",
'in_filter': 1, "oldfieldname": "territory",
'label': u'Contact Person', "permlevel": 0,
'no_copy': 0, "trigger": "Client",
'oldfieldname': u'contact_person', "fieldname": "territory",
'oldfieldtype': u'Link', "fieldtype": "Link",
'options': u'Contact', "search_index": 0,
'permlevel': 0, "reqd": 0,
'reqd': 0, "options": "Territory",
'search_index': 0, "in_filter": 1
'trigger': u'Client'
}, },
# DocField
{ {
'colour': u'White:FFF', "no_copy": 0,
u'doctype': u'DocField', "oldfieldtype": "Data",
'fieldname': u'territory', "doctype": "DocField",
'fieldtype': u'Link', "label": "Contact No",
'in_filter': 1, "oldfieldname": "contact_no",
'label': u'Territory', "fieldname": "contact_no",
'oldfieldname': u'territory', "fieldtype": "Data",
'oldfieldtype': u'Link', "search_index": 0,
'options': u'Territory', "permlevel": 1
'permlevel': 0,
'reqd': 0,
'search_index': 0,
'trigger': u'Client'
}, },
# DocField
{ {
u'doctype': u'DocField', "no_copy": 0,
'fieldname': u'contact_no', "oldfieldtype": "Data",
'fieldtype': u'Data', "doctype": "DocField",
'label': u'Contact No', "label": "Email Id",
'no_copy': 0, "oldfieldname": "email_id",
'oldfieldname': u'contact_no', "fieldname": "email_id",
'oldfieldtype': u'Data', "fieldtype": "Data",
'permlevel': 1, "search_index": 0,
'search_index': 0 "permlevel": 1
}, },
# DocField
{ {
u'doctype': u'DocField', "no_copy": 0,
'fieldname': u'email_id', "oldfieldtype": "Link",
'fieldtype': u'Data', "doctype": "DocField",
'label': u'Email Id', "label": "Customer Group",
'no_copy': 0, "oldfieldname": "customer_group",
'oldfieldname': u'email_id', "options": "Customer Group",
'oldfieldtype': u'Data', "fieldname": "customer_group",
'permlevel': 1, "fieldtype": "Link",
'search_index': 0 "search_index": 0,
"permlevel": 1
}, },
# DocField
{ {
u'doctype': u'DocField', "print_hide": 1,
'fieldname': u'customer_group', "no_copy": 0,
'fieldtype': u'Link', "oldfieldtype": "Small Text",
'label': u'Customer Group', "doctype": "DocField",
'no_copy': 0, "label": "Trash Reason",
'oldfieldname': u'customer_group', "oldfieldname": "trash_reason",
'oldfieldtype': u'Link', "fieldname": "trash_reason",
'options': u'Customer Group', "fieldtype": "Small Text",
'permlevel': 1, "search_index": 0,
'search_index': 0 "hidden": 1,
"permlevel": 0
}, },
# DocField
{ {
u'doctype': u'DocField', "print_hide": 1,
'fieldname': u'trash_reason', "no_copy": 1,
'fieldtype': u'Small Text', "search_index": 0,
'hidden': 1, "colour": "White:FFF",
'label': u'Trash Reason', "doctype": "DocField",
'no_copy': 0, "label": "File List",
'oldfieldname': u'trash_reason', "fieldname": "file_list",
'oldfieldtype': u'Small Text', "fieldtype": "Small Text",
'permlevel': 0, "hidden": 1,
'print_hide': 1, "permlevel": 0
'search_index': 0
}, },
# DocField
{ {
'colour': u'White:FFF', "amend": 0,
u'doctype': u'DocField', "create": 1,
'fieldname': u'file_list', "doctype": "DocPerm",
'fieldtype': u'Small Text', "submit": 0,
'hidden': 1, "write": 1,
'label': u'File List', "role": "Projects User",
'no_copy': 1, "cancel": 1,
'permlevel': 0, "permlevel": 0
'print_hide': 1,
'search_index': 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', "owner": "Administrator",
u'docstatus': 0, "docstatus": 0,
u'modified': '2012-09-28 12:31:42', "creation": "2012-10-02 11:27:30",
u'modified_by': u'Administrator', "modified_by": "Administrator",
u'owner': u'Administrator' "modified": "2012-09-28 12:31:42"
}, },
# These values are common for all DocType
{ {
'_last_update': u'1330501485', "name": "__common__",
'allow_print': 0, "default_print_format": "Standard",
'allow_trash': 1, "allow_print": 0,
'colour': u'White:FFF', "search_fields": "customer_name,customer_group,country,territory",
'default_print_format': u'Standard', "module": "Selling",
u'doctype': u'DocType', "doctype": "DocType",
'document_type': u'Master', "document_type": "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
}, },
# These values are common for all DocField
{ {
u'doctype': u'DocField', "name": "__common__",
u'name': u'__common__', "parent": "Customer",
'parent': u'Customer', "doctype": "DocField",
'parentfield': u'fields', "parenttype": "DocType",
'parenttype': u'DocType' "parentfield": "fields"
}, },
# These values are common for all DocPerm
{ {
u'doctype': u'DocPerm', "name": "__common__",
u'name': u'__common__', "parent": "Customer",
'parent': u'Customer', "read": 1,
'parentfield': u'permissions', "doctype": "DocPerm",
'parenttype': u'DocType', "parenttype": "DocType",
'read': 1 "parentfield": "permissions"
}, },
# DocType, Customer
{ {
u'doctype': u'DocType', "name": "Customer",
u'name': u'Customer' "doctype": "DocType"
}, },
# DocField
{ {
'colour': u'White:FFF', "print_hide": 0,
'description': u'Note: You Can Manage Multiple Address or Contacts via Addresses & Contacts', "no_copy": 1,
u'doctype': u'DocField', "oldfieldtype": "Data",
'fieldname': u'basic_info', "doctype": "DocField",
'fieldtype': u'Section Break', "label": "Customer Name",
'label': u'Basic Info', "oldfieldname": "customer_name",
'oldfieldtype': u'Section Break', "fieldname": "customer_name",
'permlevel': 0, "fieldtype": "Data",
'reqd': 0 "search_index": 1,
"reqd": 1,
"hidden": 0,
"permlevel": 0,
"report_hide": 0,
"in_filter": 1
}, },
# DocField
{ {
u'doctype': u'DocField', "oldfieldtype": "Select",
'fieldname': u'customer_name', "doctype": "DocField",
'fieldtype': u'Data', "label": "Customer Type",
'hidden': 0, "oldfieldname": "customer_type",
'in_filter': 1, "options": "\nCompany\nIndividual",
'label': u'Customer Name', "fieldname": "customer_type",
'no_copy': 1, "fieldtype": "Select",
'oldfieldname': u'customer_name', "reqd": 1,
'oldfieldtype': u'Data', "permlevel": 0
'permlevel': 0,
'print_hide': 0,
'report_hide': 0,
'reqd': 1,
'search_index': 1
}, },
# DocField
{ {
u'doctype': u'DocField', "print_hide": 0,
'fieldname': u'customer_type', "no_copy": 1,
'fieldtype': u'Select', "doctype": "DocField",
'label': u'Customer Type', "label": "Series",
'oldfieldname': u'customer_type', "options": "\nCUST\nCUSTMUM",
'oldfieldtype': u'Select', "fieldname": "naming_series",
'options': u'\nCompany\nIndividual', "fieldtype": "Select",
'permlevel': 0, "permlevel": 0
'reqd': 1
}, },
# DocField
{ {
u'doctype': u'DocField', "print_hide": 1,
'fieldname': u'naming_series', "description": "Fetch lead which will be converted into customer.",
'fieldtype': u'Select', "no_copy": 1,
'label': u'Series', "oldfieldtype": "Link",
'no_copy': 1, "colour": "White:FFF",
'options': u'\nCUST\nCUSTMUM', "doctype": "DocField",
'permlevel': 0, "label": "Lead Ref",
'print_hide': 0 "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', "doctype": "DocField",
'description': u'Fetch lead which will be converted into customer.', "width": "50%",
u'doctype': u'DocField', "fieldname": "column_break0",
'fieldname': u'lead_name', "fieldtype": "Column Break",
'fieldtype': u'Link', "permlevel": 0
'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'
}, },
# DocField
{ {
u'doctype': u'DocField', "print_hide": 0,
'fieldname': u'column_break0', "description": "<a href=\"#!Sales Browser/Customer Group\">To manage Customer Groups, click here</a>",
'fieldtype': u'Column Break', "oldfieldtype": "Link",
'permlevel': 0, "colour": "White:FFF",
'width': u'50%' "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', "print_hide": 1,
'description': u'<a href="#!Sales Browser/Customer Group">To manage Customer Groups, click here</a>', "description": "<a href=\"#!Sales Browser/Territory\">To manage Territory, click here</a>",
u'doctype': u'DocField', "oldfieldtype": "Link",
'fieldname': u'customer_group', "colour": "White:FFF",
'fieldtype': u'Link', "doctype": "DocField",
'hidden': 0, "label": "Territory",
'in_filter': 1, "oldfieldname": "territory",
'label': u'Customer Group', "permlevel": 0,
'oldfieldname': u'customer_group', "trigger": "Client",
'oldfieldtype': u'Link', "fieldname": "territory",
'options': u'Customer Group', "fieldtype": "Link",
'permlevel': 0, "reqd": 1,
'print_hide': 0, "options": "Territory"
'reqd': 1,
'search_index': 1,
'trigger': u'Client'
}, },
# DocField
{ {
'colour': u'White:FFF', "colour": "White:FFF",
'description': u'<a href="#!Sales Browser/Territory">To manage Territory, click here</a>', "doctype": "DocField",
u'doctype': u'DocField', "label": "Address & Contacts",
'fieldname': u'territory', "fieldname": "address_contacts",
'fieldtype': u'Link', "fieldtype": "Section Break",
'label': u'Territory', "permlevel": 0
'oldfieldname': u'territory',
'oldfieldtype': u'Link',
'options': u'Territory',
'permlevel': 0,
'print_hide': 1,
'reqd': 1,
'trigger': u'Client'
}, },
# DocField
{ {
'colour': u'White:FFF', "depends_on": "eval:doc.__islocal",
u'doctype': u'DocField', "colour": "White:FFF",
'fieldname': u'address_contacts', "doctype": "DocField",
'fieldtype': u'Section Break', "label": "Address Desc",
'label': u'Address & Contacts', "options": "<em>Addresses will appear only when you save the customer</em>",
'permlevel': 0 "fieldname": "address_desc",
"fieldtype": "HTML",
"permlevel": 0
}, },
# DocField
{ {
'colour': u'White:FFF', "colour": "White:FFF",
'depends_on': u'eval:doc.__islocal', "doctype": "DocField",
u'doctype': u'DocField', "label": "Address HTML",
'fieldname': u'address_desc', "fieldname": "address_html",
'fieldtype': u'HTML', "fieldtype": "HTML",
'label': u'Address Desc', "permlevel": 1
'options': u'<em>Addresses will appear only when you save the customer</em>',
'permlevel': 0
}, },
# DocField
{ {
'colour': u'White:FFF', "doctype": "DocField",
u'doctype': u'DocField', "width": "50%",
'fieldname': u'address_html', "fieldname": "column_break1",
'fieldtype': u'HTML', "fieldtype": "Column Break",
'label': u'Address HTML', "permlevel": 0
'permlevel': 1
}, },
# DocField
{ {
u'doctype': u'DocField', "depends_on": "eval:doc.__islocal",
'fieldname': u'column_break1', "colour": "White:FFF",
'fieldtype': u'Column Break', "doctype": "DocField",
'permlevel': 0, "label": "Contact Desc",
'width': u'50%' "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', "oldfieldtype": "HTML",
'depends_on': u'eval:doc.__islocal', "colour": "White:FFF",
u'doctype': u'DocField', "doctype": "DocField",
'fieldname': u'contact_desc', "label": "Contact HTML",
'fieldtype': u'HTML', "fieldname": "contact_html",
'label': u'Contact Desc', "fieldtype": "HTML",
'options': u'<em>Contact Details will appear only when you save the customer</em>', "permlevel": 1
'permlevel': 0
}, },
# DocField
{ {
'colour': u'White:FFF', "doctype": "DocField",
u'doctype': u'DocField', "label": "Communication History",
'fieldname': u'contact_html', "fieldname": "communication_history",
'fieldtype': u'HTML', "fieldtype": "Section Break",
'label': u'Contact HTML', "permlevel": 0
'oldfieldtype': u'HTML',
'permlevel': 1
}, },
# DocField
{ {
u'doctype': u'DocField', "doctype": "DocField",
'fieldname': u'communication_history', "label": "Communication HTML",
'fieldtype': u'Section Break', "fieldname": "communication_html",
'label': u'Communication History', "fieldtype": "HTML",
'permlevel': 0 "permlevel": 0
}, },
# DocField
{ {
u'doctype': u'DocField', "oldfieldtype": "Section Break",
'fieldname': u'communication_html', "colour": "White:FFF",
'fieldtype': u'HTML', "doctype": "DocField",
'label': u'Communication HTML', "label": "More Info",
'permlevel': 0 "fieldname": "more_info",
"fieldtype": "Section Break",
"permlevel": 0
}, },
# DocField
{ {
'colour': u'White:FFF', "doctype": "DocField",
u'doctype': u'DocField', "width": "50%",
'fieldname': u'more_info', "fieldname": "column_break2",
'fieldtype': u'Section Break', "fieldtype": "Column Break",
'label': u'More Info', "permlevel": 0
'oldfieldtype': u'Section Break',
'permlevel': 0
}, },
# DocField
{ {
u'doctype': u'DocField', "description": "To create an Account Head under a different company, select the company and save customer.",
'fieldname': u'column_break2', "oldfieldtype": "Link",
'fieldtype': u'Column Break', "colour": "White:FFF",
'permlevel': 0, "doctype": "DocField",
'width': u'50%' "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', "doctype": "DocField",
'description': u'To create an Account Head under a different company, select the company and save customer.', "label": "Default Price List",
u'doctype': u'DocField', "options": "Price List",
'fieldname': u'company', "fieldname": "default_price_list",
'fieldtype': u'Link', "fieldtype": "Link",
'in_filter': 1, "permlevel": 0
'label': u'Company',
'oldfieldname': u'company',
'oldfieldtype': u'Link',
'options': u'Company',
'permlevel': 0,
'reqd': 1,
'search_index': 1
}, },
# DocField
{ {
u'doctype': u'DocField', "description": "This currency will get fetched in Sales transactions of this customer",
'fieldname': u'default_price_list', "no_copy": 1,
'fieldtype': u'Link', "colour": "White:FFF",
'label': u'Default Price List', "doctype": "DocField",
'options': u'Price List', "label": "Default Currency",
'permlevel': 0 "options": "link:Currency",
"fieldname": "default_currency",
"fieldtype": "Select",
"permlevel": 0
}, },
# DocField
{ {
'colour': u'White:FFF', "description": "Your Customer's TAX registration numbers (if applicable) or any general information",
'description': u'This currency will get fetched in Sales transactions of this customer', "oldfieldtype": "Code",
u'doctype': u'DocField', "colour": "White:FFF",
'fieldname': u'default_currency', "doctype": "DocField",
'fieldtype': u'Select', "label": "Customer Details",
'label': u'Default Currency', "oldfieldname": "customer_details",
'no_copy': 1, "fieldname": "customer_details",
'options': u'link:Currency', "fieldtype": "Text",
'permlevel': 0 "permlevel": 0
}, },
# DocField
{ {
'colour': u'White:FFF', "doctype": "DocField",
'description': u"Your Customer's TAX registration numbers (if applicable) or any general information", "width": "50%",
u'doctype': u'DocField', "fieldname": "column_break3",
'fieldname': u'customer_details', "fieldtype": "Column Break",
'fieldtype': u'Text', "permlevel": 0
'label': u'Customer Details',
'oldfieldname': u'customer_details',
'oldfieldtype': u'Code',
'permlevel': 0
}, },
# DocField
{ {
u'doctype': u'DocField', "oldfieldtype": "Int",
'fieldname': u'column_break3', "doctype": "DocField",
'fieldtype': u'Column Break', "label": "Credit Days",
'permlevel': 0, "oldfieldname": "credit_days",
'width': u'50%' "fieldname": "credit_days",
"fieldtype": "Int",
"permlevel": 2
}, },
# DocField
{ {
u'doctype': u'DocField', "oldfieldtype": "Currency",
'fieldname': u'credit_days', "doctype": "DocField",
'fieldtype': u'Int', "label": "Credit Limit",
'label': u'Credit Days', "oldfieldname": "credit_limit",
'oldfieldname': u'credit_days', "fieldname": "credit_limit",
'oldfieldtype': u'Int', "fieldtype": "Currency",
'permlevel': 2 "permlevel": 2
}, },
# DocField
{ {
u'doctype': u'DocField', "doctype": "DocField",
'fieldname': u'credit_limit', "label": "Website",
'fieldtype': u'Currency', "fieldname": "website",
'label': u'Credit Limit', "fieldtype": "Data",
'oldfieldname': u'credit_limit', "permlevel": 0
'oldfieldtype': u'Currency',
'permlevel': 2
}, },
# DocField
{ {
u'doctype': u'DocField', "oldfieldtype": "Section Break",
'fieldname': u'website', "doctype": "DocField",
'fieldtype': u'Data', "label": "Sales Team",
'label': u'Website', "fieldname": "sales_team_section_break",
'permlevel': 0 "fieldtype": "Section Break",
"permlevel": 0
}, },
# DocField
{ {
u'doctype': u'DocField', "oldfieldtype": "Link",
'fieldname': u'sales_team_section_break', "doctype": "DocField",
'fieldtype': u'Section Break', "label": "Default Sales Partner",
'label': u'Sales Team', "oldfieldname": "default_sales_partner",
'oldfieldtype': u'Section Break', "options": "Sales Partner",
'permlevel': 0 "fieldname": "default_sales_partner",
"fieldtype": "Link",
"permlevel": 0
}, },
# DocField
{ {
u'doctype': u'DocField', "oldfieldtype": "Currency",
'fieldname': u'default_sales_partner', "doctype": "DocField",
'fieldtype': u'Link', "label": "Default Commission Rate",
'label': u'Default Sales Partner', "oldfieldname": "default_commission_rate",
'oldfieldname': u'default_sales_partner', "fieldname": "default_commission_rate",
'oldfieldtype': u'Link', "fieldtype": "Currency",
'options': u'Sales Partner', "permlevel": 0
'permlevel': 0
}, },
# DocField
{ {
u'doctype': u'DocField', "oldfieldtype": "Table",
'fieldname': u'default_commission_rate', "doctype": "DocField",
'fieldtype': u'Currency', "label": "Sales Team Details",
'label': u'Default Commission Rate', "oldfieldname": "sales_team",
'oldfieldname': u'default_commission_rate', "options": "Sales Team",
'oldfieldtype': u'Currency', "fieldname": "sales_team",
'permlevel': 0 "fieldtype": "Table",
"permlevel": 0
}, },
# DocField
{ {
u'doctype': u'DocField', "depends_on": "eval:!doc.__islocal",
'fieldname': u'sales_team', "colour": "White:FFF",
'fieldtype': u'Table', "doctype": "DocField",
'label': u'Sales Team Details', "label": "Transaction History",
'oldfieldname': u'sales_team', "fieldname": "transaction_history",
'oldfieldtype': u'Table', "fieldtype": "Section Break",
'options': u'Sales Team', "permlevel": 0
'permlevel': 0
}, },
# DocField
{ {
'colour': u'White:FFF', "depends_on": "eval:!doc.__islocal",
'depends_on': u'eval:!doc.__islocal', "colour": "White:FFF",
u'doctype': u'DocField', "doctype": "DocField",
'fieldname': u'transaction_history', "label": "History HTML",
'fieldtype': u'Section Break', "fieldname": "history_html",
'label': u'Transaction History', "fieldtype": "HTML",
'permlevel': 0 "permlevel": 0
}, },
# DocField
{ {
'colour': u'White:FFF', "oldfieldtype": "Small Text",
'depends_on': u'eval:!doc.__islocal', "colour": "White:FFF",
u'doctype': u'DocField', "doctype": "DocField",
'fieldname': u'history_html', "label": "Trash Reason",
'fieldtype': u'HTML', "oldfieldname": "trash_reason",
'label': u'History HTML', "fieldname": "trash_reason",
'permlevel': 0 "fieldtype": "Small Text",
"permlevel": 1
}, },
# DocField
{ {
'colour': u'White:FFF', "amend": 0,
u'doctype': u'DocField', "create": 1,
'fieldname': u'trash_reason', "doctype": "DocPerm",
'fieldtype': u'Small Text', "submit": 0,
'label': u'Trash Reason', "write": 1,
'oldfieldname': u'trash_reason', "role": "Sales Master Manager",
'oldfieldtype': u'Small Text', "cancel": 1,
'permlevel': 1 "permlevel": 0
}, },
# DocPerm
{ {
'amend': 0, "amend": 0,
'cancel': 0, "create": 0,
'create': 0, "doctype": "DocPerm",
u'doctype': u'DocPerm', "submit": 0,
'permlevel': 1, "write": 0,
'role': u'Sales Manager', "role": "Sales Master Manager",
'submit': 0, "cancel": 0,
'write': 0 "permlevel": 1
}, },
# DocPerm
{ {
'amend': 0, "amend": 0,
'cancel': 0, "create": 0,
'create': 0, "doctype": "DocPerm",
u'doctype': u'DocPerm', "submit": 0,
'permlevel': 0, "write": 0,
'role': u'Sales Manager', "role": "Sales Manager",
'submit': 0, "cancel": 0,
'write': 0 "permlevel": 1
}, },
# DocPerm
{ {
'amend': 0, "amend": 0,
'cancel': 0, "create": 0,
'create': 0, "doctype": "DocPerm",
u'doctype': u'DocPerm', "submit": 0,
'permlevel': 1, "write": 0,
'role': u'Sales User', "role": "Sales Manager",
'submit': 0, "cancel": 0,
'write': 0 "permlevel": 0
}, },
# DocPerm
{ {
'amend': 0, "amend": 0,
'cancel': 0, "create": 0,
'create': 0, "doctype": "DocPerm",
u'doctype': u'DocPerm', "submit": 0,
'permlevel': 0, "write": 0,
'role': u'Sales User', "role": "Sales User",
'submit': 0, "cancel": 0,
'write': 0 "permlevel": 1
}, },
# DocPerm
{ {
'amend': 0, "amend": 0,
'cancel': 1, "create": 0,
'create': 1, "doctype": "DocPerm",
u'doctype': u'DocPerm', "submit": 0,
'permlevel': 0, "write": 0,
'role': u'Sales Master Manager', "role": "Sales User",
'submit': 0, "cancel": 0,
'write': 1 "permlevel": 0
}, },
# DocPerm
{ {
'amend': 0, "create": 0,
'cancel': 0, "doctype": "DocPerm",
'create': 0, "write": 1,
u'doctype': u'DocPerm', "role": "Accounts Manager",
'permlevel': 1, "cancel": 0,
'role': u'Sales Master Manager', "permlevel": 2
'submit': 0,
'write': 0
}, },
# DocPerm
{ {
'cancel': 0, "create": 0,
'create': 0, "doctype": "DocPerm",
u'doctype': u'DocPerm', "write": 1,
'permlevel': 2, "role": "System Manager",
'role': u'Accounts Manager', "cancel": 0,
'write': 1 "permlevel": 2
}, },
# DocPerm
{ {
'cancel': 0, "create": 0,
'create': 0, "doctype": "DocPerm",
u'doctype': u'DocPerm', "write": 0,
'permlevel': 2, "role": "All",
'role': u'System Manager', "cancel": 0,
'write': 1 "permlevel": 2
}, },
# DocPerm
{ {
'cancel': 0, "create": 1,
'create': 0, "doctype": "DocPerm",
u'doctype': u'DocPerm', "write": 1,
'permlevel': 2, "role": "Accounts Manager",
'role': u'All', "cancel": 1,
'write': 0 "permlevel": 0
}, },
# DocPerm
{ {
'cancel': 1, "create": 0,
'create': 1, "doctype": "DocPerm",
u'doctype': u'DocPerm', "write": 0,
'permlevel': 0, "role": "All",
'role': u'Accounts Manager', "cancel": 0,
'write': 1 "permlevel": 1
},
# DocPerm
{
'cancel': 0,
'create': 0,
u'doctype': u'DocPerm',
'permlevel': 1,
'role': u'All',
'write': 0
} }
] ]

File diff suppressed because it is too large Load Diff

View File

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

View File

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

View File

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

File diff suppressed because it is too large Load Diff

View File

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

View File

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

View File

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