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

This commit is contained in:
Anand Doshi 2011-12-15 14:28:02 +05:30
commit 48d8d36b79
3 changed files with 145 additions and 187 deletions

View File

@ -0,0 +1,6 @@
def execute():
import webnotes
from webnotes.modules.module_manager import reload_doc
reload_doc('setup', 'doctype', 'company')
reload_doc('setup', 'doctype', 'manage_account')

View File

@ -5,14 +5,14 @@
{ {
'creation': '2010-08-08 17:08:55', 'creation': '2010-08-08 17:08:55',
'docstatus': 0, 'docstatus': 0,
'modified': '2011-07-01 17:43:29', 'modified': '2011-12-14 15:12:28',
'modified_by': 'Administrator', 'modified_by': 'Administrator',
'owner': 'Administrator' 'owner': 'Administrator'
}, },
# These values are common for all DocType # These values are common for all DocType
{ {
'_last_update': '1309506817', '_last_update': '1323855292',
'allow_trash': 1, 'allow_trash': 1,
'autoname': 'field:company_name', 'autoname': 'field:company_name',
'colour': 'White:FFF', 'colour': 'White:FFF',
@ -23,7 +23,7 @@
'section_style': 'Tabbed', 'section_style': 'Tabbed',
'server_code_error': ' ', 'server_code_error': ' ',
'show_in_menu': 0, 'show_in_menu': 0,
'version': 93 'version': 96
}, },
# These values are common for all DocField # These values are common for all DocField
@ -37,7 +37,6 @@
# These values are common for all DocPerm # These values are common for all DocPerm
{ {
'cancel': 0,
'doctype': 'DocPerm', 'doctype': 'DocPerm',
'name': '__common__', 'name': '__common__',
'parent': 'Company', 'parent': 'Company',
@ -55,9 +54,9 @@
# DocPerm # DocPerm
{ {
'amend': 0, 'amend': 0,
'cancel': 1,
'create': 1, 'create': 1,
'doctype': 'DocPerm', 'doctype': 'DocPerm',
'idx': 1,
'permlevel': 0, 'permlevel': 0,
'role': 'System Manager', 'role': 'System Manager',
'submit': 0, 'submit': 0,
@ -67,9 +66,9 @@
# DocPerm # DocPerm
{ {
'amend': 0, 'amend': 0,
'cancel': 1,
'create': 1, 'create': 1,
'doctype': 'DocPerm', 'doctype': 'DocPerm',
'idx': 2,
'permlevel': 0, 'permlevel': 0,
'role': 'System Manager', 'role': 'System Manager',
'submit': 0, 'submit': 0,
@ -78,8 +77,8 @@
# DocPerm # DocPerm
{ {
'cancel': 0,
'doctype': 'DocPerm', 'doctype': 'DocPerm',
'idx': 3,
'permlevel': 1, 'permlevel': 1,
'role': 'All' 'role': 'All'
}, },
@ -89,7 +88,6 @@
'description': 'Please Enter Company Name and Abbr and save the document. Once saved Accounting Settings will be populated automatically', 'description': 'Please Enter Company Name and Abbr and save the document. Once saved Accounting Settings will be populated automatically',
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Section Break', 'fieldtype': 'Section Break',
'idx': 1,
'label': 'Details', 'label': 'Details',
'oldfieldtype': 'Section Break', 'oldfieldtype': 'Section Break',
'permlevel': 0 'permlevel': 0
@ -101,7 +99,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'company_name', 'fieldname': 'company_name',
'fieldtype': 'Data', 'fieldtype': 'Data',
'idx': 2,
'label': 'Company', 'label': 'Company',
'no_copy': 0, 'no_copy': 0,
'oldfieldname': 'company_name', 'oldfieldname': 'company_name',
@ -117,7 +114,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'abbr', 'fieldname': 'abbr',
'fieldtype': 'Data', 'fieldtype': 'Data',
'idx': 3,
'label': 'Abbr', 'label': 'Abbr',
'no_copy': 0, 'no_copy': 0,
'oldfieldname': 'abbr', 'oldfieldname': 'abbr',
@ -128,13 +124,11 @@
# DocField # DocField
{ {
'depends_on': 'eval:!doc.__islocal',
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'address', 'fieldtype': 'Section Break',
'fieldtype': 'Small Text', 'label': 'Default Settings',
'idx': 4, 'oldfieldtype': 'Section Break',
'label': 'Address',
'oldfieldname': 'address',
'oldfieldtype': 'Small Text',
'permlevel': 0 'permlevel': 0
}, },
@ -143,119 +137,18 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'default_currency', 'fieldname': 'default_currency',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 5,
'label': 'Default Currency', 'label': 'Default Currency',
'options': 'link:Currency', 'options': 'link:Currency',
'permlevel': 0, 'permlevel': 0,
'reqd': 1 'reqd': 1
}, },
# DocField
{
'doctype': 'DocField',
'fieldtype': 'Column Break',
'idx': 6,
'oldfieldtype': 'Column Break',
'permlevel': 0,
'width': '50%'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'phone_no',
'fieldtype': 'Data',
'idx': 7,
'label': 'Phone No',
'oldfieldname': 'phone_no',
'oldfieldtype': 'Data',
'options': 'Phone',
'permlevel': 0
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'email',
'fieldtype': 'Data',
'idx': 8,
'label': 'Email',
'oldfieldname': 'email',
'oldfieldtype': 'Data',
'options': 'Email',
'permlevel': 0
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'fax',
'fieldtype': 'Data',
'idx': 9,
'label': 'Fax',
'oldfieldname': 'fax',
'oldfieldtype': 'Data',
'options': 'Phone',
'permlevel': 0
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'website',
'fieldtype': 'Data',
'idx': 10,
'label': 'Website',
'oldfieldname': 'website',
'oldfieldtype': 'Data',
'permlevel': 0
},
# DocField
{
'colour': 'White:FFF',
'description': 'Company registration numbers for your reference. Example: VAT Registration Numbers etc.',
'doctype': 'DocField',
'fieldtype': 'Section Break',
'idx': 11,
'label': 'Registration Info',
'oldfieldtype': 'Section Break',
'permlevel': 0,
'width': '50%'
},
# DocField
{
'colour': 'White:FFF',
'description': 'Company registration numbers for your reference. Tax numbers etc.',
'doctype': 'DocField',
'fieldname': 'registration_details',
'fieldtype': 'Code',
'idx': 12,
'label': 'Registration Details',
'oldfieldname': 'registration_details',
'oldfieldtype': 'Code',
'permlevel': 0
},
# DocField
{
'depends_on': 'eval:!doc.__islocal',
'doctype': 'DocField',
'fieldtype': 'Section Break',
'idx': 13,
'label': 'Accounting Settings',
'oldfieldtype': 'Section Break',
'permlevel': 0
},
# DocField # DocField
{ {
'depends_on': 'eval:!doc.__islocal', 'depends_on': 'eval:!doc.__islocal',
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'default_bank_account', 'fieldname': 'default_bank_account',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 14,
'label': 'Default Bank Account', 'label': 'Default Bank Account',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'default_bank_account', 'oldfieldname': 'default_bank_account',
@ -271,7 +164,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'receivables_group', 'fieldname': 'receivables_group',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 15,
'label': 'Receivables Group', 'label': 'Receivables Group',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'receivables_group', 'oldfieldname': 'receivables_group',
@ -287,7 +179,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'payables_group', 'fieldname': 'payables_group',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 16,
'label': 'Payables Group', 'label': 'Payables Group',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'payables_group', 'oldfieldname': 'payables_group',
@ -301,12 +192,35 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Column Break', 'fieldtype': 'Column Break',
'idx': 17,
'oldfieldtype': 'Column Break', 'oldfieldtype': 'Column Break',
'permlevel': 0, 'permlevel': 0,
'width': '50%' 'width': '50%'
}, },
# DocField
{
'depends_on': 'eval:!doc.__islocal',
'doctype': 'DocField',
'fieldname': 'credit_days',
'fieldtype': 'Int',
'label': 'Credit Days',
'oldfieldname': 'credit_days',
'oldfieldtype': 'Int',
'permlevel': 0
},
# DocField
{
'depends_on': 'eval:!doc.__islocal',
'doctype': 'DocField',
'fieldname': 'credit_limit',
'fieldtype': 'Currency',
'label': 'Credit Limit',
'oldfieldname': 'credit_limit',
'oldfieldtype': 'Currency',
'permlevel': 0
},
# DocField # DocField
{ {
'colour': 'White:FFF', 'colour': 'White:FFF',
@ -314,7 +228,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'yearly_bgt_flag', 'fieldname': 'yearly_bgt_flag',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 18,
'label': 'If Yearly Budget Exceeded', 'label': 'If Yearly Budget Exceeded',
'oldfieldname': 'yearly_bgt_flag', 'oldfieldname': 'yearly_bgt_flag',
'oldfieldtype': 'Select', 'oldfieldtype': 'Select',
@ -328,7 +241,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'monthly_bgt_flag', 'fieldname': 'monthly_bgt_flag',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 19,
'label': 'If Monthly Budget Exceeded', 'label': 'If Monthly Budget Exceeded',
'oldfieldname': 'monthly_bgt_flag', 'oldfieldname': 'monthly_bgt_flag',
'oldfieldtype': 'Select', 'oldfieldtype': 'Select',
@ -338,27 +250,101 @@
# DocField # DocField
{ {
'depends_on': 'eval:!doc.__islocal',
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'credit_days', 'fieldtype': 'Section Break',
'fieldtype': 'Int', 'label': 'Company Info',
'idx': 20,
'label': 'Credit Days',
'oldfieldname': 'credit_days',
'oldfieldtype': 'Int',
'permlevel': 0 'permlevel': 0
}, },
# DocField # DocField
{ {
'depends_on': 'eval:!doc.__islocal',
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'credit_limit', 'fieldname': 'address',
'fieldtype': 'Currency', 'fieldtype': 'Small Text',
'idx': 21, 'label': 'Address',
'label': 'Credit Limit', 'oldfieldname': 'address',
'oldfieldname': 'credit_limit', 'oldfieldtype': 'Small Text',
'oldfieldtype': 'Currency', 'permlevel': 0
},
# DocField
{
'doctype': 'DocField',
'fieldtype': 'Column Break',
'oldfieldtype': 'Column Break',
'permlevel': 0,
'width': '50%'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'phone_no',
'fieldtype': 'Data',
'label': 'Phone No',
'oldfieldname': 'phone_no',
'oldfieldtype': 'Data',
'options': 'Phone',
'permlevel': 0
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'fax',
'fieldtype': 'Data',
'label': 'Fax',
'oldfieldname': 'fax',
'oldfieldtype': 'Data',
'options': 'Phone',
'permlevel': 0
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'email',
'fieldtype': 'Data',
'label': 'Email',
'oldfieldname': 'email',
'oldfieldtype': 'Data',
'options': 'Email',
'permlevel': 0
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'website',
'fieldtype': 'Data',
'label': 'Website',
'oldfieldname': 'website',
'oldfieldtype': 'Data',
'permlevel': 0
},
# DocField
{
'colour': 'White:FFF',
'description': 'Company registration numbers for your reference. Example: VAT Registration Numbers etc.',
'doctype': 'DocField',
'fieldtype': 'Section Break',
'label': 'Registration Info',
'oldfieldtype': 'Section Break',
'permlevel': 0,
'width': '50%'
},
# DocField
{
'colour': 'White:FFF',
'description': 'Company registration numbers for your reference. Tax numbers etc.',
'doctype': 'DocField',
'fieldname': 'registration_details',
'fieldtype': 'Code',
'label': 'Registration Details',
'oldfieldname': 'registration_details',
'oldfieldtype': 'Code',
'permlevel': 0 'permlevel': 0
}, },
@ -367,7 +353,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'trash_reason', 'fieldname': 'trash_reason',
'fieldtype': 'Small Text', 'fieldtype': 'Small Text',
'idx': 22,
'label': 'Trash Reason', 'label': 'Trash Reason',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'trash_reason', 'oldfieldname': 'trash_reason',

View File

@ -5,14 +5,14 @@
{ {
'creation': '2010-08-08 17:09:09', 'creation': '2010-08-08 17:09:09',
'docstatus': 0, 'docstatus': 0,
'modified': '2011-05-19 11:16:11', 'modified': '2011-12-14 15:08:22',
'modified_by': 'Administrator', 'modified_by': 'Administrator',
'owner': 'Administrator' 'owner': 'Administrator'
}, },
# These values are common for all DocType # These values are common for all DocType
{ {
'_last_update': '1308741898', '_last_update': '1323855454',
'allow_copy': 1, 'allow_copy': 1,
'allow_email': 1, 'allow_email': 1,
'allow_print': 1, 'allow_print': 1,
@ -27,7 +27,7 @@
'section_style': 'Tabbed', 'section_style': 'Tabbed',
'server_code_error': ' ', 'server_code_error': ' ',
'show_in_menu': 1, 'show_in_menu': 1,
'version': 514 'version': 516
}, },
# These values are common for all DocField # These values are common for all DocField
@ -62,7 +62,6 @@
'cancel': 0, 'cancel': 0,
'create': 1, 'create': 1,
'doctype': 'DocPerm', 'doctype': 'DocPerm',
'idx': 1,
'permlevel': 0, 'permlevel': 0,
'role': 'System Manager', 'role': 'System Manager',
'submit': 0, 'submit': 0,
@ -73,7 +72,6 @@
{ {
'create': 1, 'create': 1,
'doctype': 'DocPerm', 'doctype': 'DocPerm',
'idx': 2,
'permlevel': 0, 'permlevel': 0,
'role': 'System Manager', 'role': 'System Manager',
'write': 1 'write': 1
@ -82,7 +80,6 @@
# DocPerm # DocPerm
{ {
'doctype': 'DocPerm', 'doctype': 'DocPerm',
'idx': 3,
'permlevel': 1, 'permlevel': 1,
'role': 'System Manager', 'role': 'System Manager',
'write': 1 'write': 1
@ -91,7 +88,6 @@
# DocPerm # DocPerm
{ {
'doctype': 'DocPerm', 'doctype': 'DocPerm',
'idx': 4,
'permlevel': 1, 'permlevel': 1,
'role': 'All' 'role': 'All'
}, },
@ -99,7 +95,6 @@
# DocPerm # DocPerm
{ {
'doctype': 'DocPerm', 'doctype': 'DocPerm',
'idx': 5,
'permlevel': 2, 'permlevel': 2,
'role': 'System Manager', 'role': 'System Manager',
'write': 1 'write': 1
@ -109,7 +104,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Section Break', 'fieldtype': 'Section Break',
'idx': 1,
'label': 'Company' 'label': 'Company'
}, },
@ -118,7 +112,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'default_company', 'fieldname': 'default_company',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 2,
'label': 'Default Company', 'label': 'Default Company',
'options': 'Company', 'options': 'Company',
'reqd': 0 'reqd': 0
@ -129,7 +122,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'current_fiscal_year', 'fieldname': 'current_fiscal_year',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 3,
'label': 'Current Fiscal Year', 'label': 'Current Fiscal Year',
'options': 'Fiscal Year', 'options': 'Fiscal Year',
'reqd': 1 'reqd': 1
@ -140,7 +132,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'date_format', 'fieldname': 'date_format',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 4,
'label': 'Date Format', 'label': 'Date Format',
'options': 'yyyy-mm-dd\ndd-mm-yyyy\ndd/mm/yyyy\nmm/dd/yyyy\nmm-dd-yyyy' 'options': 'yyyy-mm-dd\ndd-mm-yyyy\ndd/mm/yyyy\nmm/dd/yyyy\nmm-dd-yyyy'
}, },
@ -149,7 +140,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Column Break', 'fieldtype': 'Column Break',
'idx': 5,
'width': '50%' 'width': '50%'
}, },
@ -159,7 +149,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'default_currency', 'fieldname': 'default_currency',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 6,
'label': 'Default Currency', 'label': 'Default Currency',
'options': 'link:Currency', 'options': 'link:Currency',
'reqd': 1 'reqd': 1
@ -170,7 +159,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'default_currency_format', 'fieldname': 'default_currency_format',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 7,
'label': 'Default Currency Format', 'label': 'Default Currency Format',
'options': 'Lacs\nMillions' 'options': 'Lacs\nMillions'
}, },
@ -180,7 +168,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'default_currency_fraction', 'fieldname': 'default_currency_fraction',
'fieldtype': 'Data', 'fieldtype': 'Data',
'idx': 8,
'label': 'Default Currency Fraction' 'label': 'Default Currency Fraction'
}, },
@ -189,7 +176,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'sms_sender_name', 'fieldname': 'sms_sender_name',
'fieldtype': 'Data', 'fieldtype': 'Data',
'idx': 9,
'label': 'SMS Sender Name' 'label': 'SMS Sender Name'
}, },
@ -197,7 +183,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Section Break', 'fieldtype': 'Section Break',
'idx': 10,
'label': 'Stock' 'label': 'Stock'
}, },
@ -205,7 +190,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Column Break', 'fieldtype': 'Column Break',
'idx': 11,
'width': '50%' 'width': '50%'
}, },
@ -214,7 +198,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'default_item_group', 'fieldname': 'default_item_group',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 12,
'label': 'Default Item Group', 'label': 'Default Item Group',
'options': 'Item Group' 'options': 'Item Group'
}, },
@ -223,7 +206,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'HTML', 'fieldtype': 'HTML',
'idx': 13,
'label': 'IGHelp', 'label': 'IGHelp',
'options': '<a href="javascript:cur_frm.cscript.TreePage(\'Item Group\');">To manage Item Groups, click here</a>' 'options': '<a href="javascript:cur_frm.cscript.TreePage(\'Item Group\');">To manage Item Groups, click here</a>'
}, },
@ -233,7 +215,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'default_stock_uom', 'fieldname': 'default_stock_uom',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 14,
'label': 'Default Stock UOM', 'label': 'Default Stock UOM',
'options': 'UOM' 'options': 'UOM'
}, },
@ -243,7 +224,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'default_valuation_method', 'fieldname': 'default_valuation_method',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 15,
'label': 'Default Valuation Method', 'label': 'Default Valuation Method',
'options': 'FIFO\nMoving Average' 'options': 'FIFO\nMoving Average'
}, },
@ -253,7 +233,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'default_warehouse_type', 'fieldname': 'default_warehouse_type',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 16,
'label': 'Default Warehouse Type', 'label': 'Default Warehouse Type',
'options': 'Warehouse Type' 'options': 'Warehouse Type'
}, },
@ -262,7 +241,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Column Break', 'fieldtype': 'Column Break',
'idx': 17,
'width': '50%' 'width': '50%'
}, },
@ -273,7 +251,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'tolerance', 'fieldname': 'tolerance',
'fieldtype': 'Currency', 'fieldtype': 'Currency',
'idx': 18,
'label': 'Allowance Percent' 'label': 'Allowance Percent'
}, },
@ -284,7 +261,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'stock_frozen_upto', 'fieldname': 'stock_frozen_upto',
'fieldtype': 'Date', 'fieldtype': 'Date',
'idx': 19,
'label': 'Stock Frozen Upto' 'label': 'Stock Frozen Upto'
}, },
@ -295,7 +271,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'stock_auth_role', 'fieldname': 'stock_auth_role',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 20,
'label': 'Authorized Role (Frozen Entry)', 'label': 'Authorized Role (Frozen Entry)',
'options': 'Role' 'options': 'Role'
}, },
@ -304,7 +279,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Section Break', 'fieldtype': 'Section Break',
'idx': 21,
'label': 'Accounts' 'label': 'Accounts'
}, },
@ -315,7 +289,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'acc_frozen_upto', 'fieldname': 'acc_frozen_upto',
'fieldtype': 'Date', 'fieldtype': 'Date',
'idx': 22,
'label': 'Accounts Frozen Upto' 'label': 'Accounts Frozen Upto'
}, },
@ -326,7 +299,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'bde_auth_role', 'fieldname': 'bde_auth_role',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 23,
'label': 'Authourized Role (Frozen Entry)', 'label': 'Authourized Role (Frozen Entry)',
'options': 'Role' 'options': 'Role'
}, },
@ -336,16 +308,28 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'credit_controller', 'fieldname': 'credit_controller',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 24,
'label': 'Credit Controller', 'label': 'Credit Controller',
'options': 'Role' 'options': 'Role'
}, },
# DocField
{
'doctype': 'DocField',
'fieldtype': 'Column Break'
},
# DocField
{
'doctype': 'DocField',
'fieldtype': 'HTML',
'label': 'Acccount Info',
'options': '<div class="help-box">For more accounting defaults, Open <a href="#!List/Company">Company</a></div>'
},
# DocField # DocField
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Section Break', 'fieldtype': 'Section Break',
'idx': 25,
'label': 'Selling' 'label': 'Selling'
}, },
@ -356,7 +340,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'cust_master_name', 'fieldname': 'cust_master_name',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 26,
'label': 'Customer Master created by ', 'label': 'Customer Master created by ',
'options': 'Customer Name\nNaming Series' 'options': 'Customer Name\nNaming Series'
}, },
@ -366,7 +349,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'default_customer_group', 'fieldname': 'default_customer_group',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 27,
'label': 'Default Customer Group', 'label': 'Default Customer Group',
'options': 'Customer Group' 'options': 'Customer Group'
}, },
@ -375,7 +357,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'HTML', 'fieldtype': 'HTML',
'idx': 28,
'label': 'CGHelp', 'label': 'CGHelp',
'options': '<a href="javascript:cur_frm.cscript.TreePage(\'Customer Group\');">To manage Customer Groups, click here</a>' 'options': '<a href="javascript:cur_frm.cscript.TreePage(\'Customer Group\');">To manage Customer Groups, click here</a>'
}, },
@ -385,7 +366,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'default_territory', 'fieldname': 'default_territory',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 29,
'label': 'Default Territory', 'label': 'Default Territory',
'options': 'Territory' 'options': 'Territory'
}, },
@ -394,7 +374,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'HTML', 'fieldtype': 'HTML',
'idx': 30,
'label': 'TerritoryHelp', 'label': 'TerritoryHelp',
'options': '<a href="javascript:cur_frm.cscript.TreePage(\'Territory\');">To manage Territory, click here</a>' 'options': '<a href="javascript:cur_frm.cscript.TreePage(\'Territory\');">To manage Territory, click here</a>'
}, },
@ -404,7 +383,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'default_price_list', 'fieldname': 'default_price_list',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 31,
'label': 'Default Price List', 'label': 'Default Price List',
'options': 'Price List' 'options': 'Price List'
}, },
@ -413,7 +391,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Column Break', 'fieldtype': 'Column Break',
'idx': 32,
'width': '50%' 'width': '50%'
}, },
@ -424,7 +401,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'so_required', 'fieldname': 'so_required',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 33,
'label': 'Sales Order Required', 'label': 'Sales Order Required',
'options': 'No\nYes' 'options': 'No\nYes'
}, },
@ -436,7 +412,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'dn_required', 'fieldname': 'dn_required',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 34,
'label': 'Delivery Note Required', 'label': 'Delivery Note Required',
'options': 'No\nYes' 'options': 'No\nYes'
}, },
@ -445,7 +420,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Section Break', 'fieldtype': 'Section Break',
'idx': 35,
'label': 'Buying' 'label': 'Buying'
}, },
@ -454,7 +428,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'default_supplier_type', 'fieldname': 'default_supplier_type',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 36,
'label': 'Default Supplier Type', 'label': 'Default Supplier Type',
'options': 'Supplier Type' 'options': 'Supplier Type'
}, },
@ -466,7 +439,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'supp_master_name', 'fieldname': 'supp_master_name',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 37,
'label': 'Supplier Master created by ', 'label': 'Supplier Master created by ',
'options': 'Supplier Name\nNaming Series' 'options': 'Supplier Name\nNaming Series'
}, },
@ -475,7 +447,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Column Break', 'fieldtype': 'Column Break',
'idx': 38,
'width': '50%' 'width': '50%'
}, },
@ -486,7 +457,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'po_required', 'fieldname': 'po_required',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 39,
'label': 'Purchase Order Required', 'label': 'Purchase Order Required',
'options': 'No\nYes' 'options': 'No\nYes'
}, },
@ -498,7 +468,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'pr_required', 'fieldname': 'pr_required',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 40,
'label': 'Purchase Receipt Required', 'label': 'Purchase Receipt Required',
'options': 'No\nYes' 'options': 'No\nYes'
}, },
@ -507,7 +476,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Section Break', 'fieldtype': 'Section Break',
'idx': 41,
'label': 'HR', 'label': 'HR',
'options': '<div style="padding-top: 8px;" class="columnHeading">HR</div>' 'options': '<div style="padding-top: 8px;" class="columnHeading">HR</div>'
}, },
@ -519,7 +487,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'emp_created_by', 'fieldname': 'emp_created_by',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 42,
'label': 'Employee Records to be created by ', 'label': 'Employee Records to be created by ',
'options': '\nNaming Series\nEmployee Number' 'options': '\nNaming Series\nEmployee Number'
} }