mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 11:39:18 +00:00
Merge pull request #8 from nabinhait/master
Major changes:.txt file updated based on proper index
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
# These values are common for all DocType
|
# These values are common for all DocType
|
||||||
{
|
{
|
||||||
'_last_update': '1308829300',
|
'_last_update': '1309508836',
|
||||||
'allow_copy': 1,
|
'allow_copy': 1,
|
||||||
'allow_trash': 1,
|
'allow_trash': 1,
|
||||||
'colour': 'White:FFF',
|
'colour': 'White:FFF',
|
||||||
@@ -179,7 +179,7 @@
|
|||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -225,7 +225,7 @@
|
|||||||
'options': '\nLedger\nGroup',
|
'options': '\nLedger\nGroup',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -259,7 +259,7 @@
|
|||||||
'oldfieldname': 'debit_or_credit',
|
'oldfieldname': 'debit_or_credit',
|
||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -274,7 +274,7 @@
|
|||||||
'oldfieldtype': 'Select',
|
'oldfieldtype': 'Select',
|
||||||
'options': 'Yes\nNo',
|
'options': 'Yes\nNo',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -344,7 +344,7 @@
|
|||||||
'options': 'Company',
|
'options': 'Company',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -174,7 +174,7 @@
|
|||||||
'oldfieldname': 'fiscal_year',
|
'oldfieldname': 'fiscal_year',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Fiscal Year',
|
'options': 'Fiscal Year',
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -182,6 +182,7 @@
|
|||||||
'options': 'Company',
|
'options': 'Company',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -227,7 +228,8 @@
|
|||||||
'oldfieldname': 'distribution_id',
|
'oldfieldname': 'distribution_id',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Budget Distribution',
|
'options': 'Budget Distribution',
|
||||||
'permlevel': 0
|
'permlevel': 0,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -182,7 +182,7 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Company',
|
'options': 'Company',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
# These values are common for all DocType
|
# These values are common for all DocType
|
||||||
{
|
{
|
||||||
'_last_update': '1294312170',
|
'_last_update': '1309508838',
|
||||||
'autoname': 'GL.#######',
|
'autoname': 'GL.#######',
|
||||||
'colour': 'White:FFF',
|
'colour': 'White:FFF',
|
||||||
'doctype': 'DocType',
|
'doctype': 'DocType',
|
||||||
@@ -119,7 +119,7 @@
|
|||||||
'label': 'Aging Date',
|
'label': 'Aging Date',
|
||||||
'oldfieldname': 'aging_date',
|
'oldfieldname': 'aging_date',
|
||||||
'oldfieldtype': 'Date',
|
'oldfieldtype': 'Date',
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -221,7 +221,7 @@
|
|||||||
'oldfieldname': 'voucher_type',
|
'oldfieldname': 'voucher_type',
|
||||||
'oldfieldtype': 'Select',
|
'oldfieldtype': 'Select',
|
||||||
'options': 'Journal Voucher\nReceivable Voucher\nPayable Voucher',
|
'options': 'Journal Voucher\nReceivable Voucher\nPayable Voucher',
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -262,7 +262,7 @@
|
|||||||
'oldfieldname': 'is_cancelled',
|
'oldfieldname': 'is_cancelled',
|
||||||
'oldfieldtype': 'Select',
|
'oldfieldtype': 'Select',
|
||||||
'options': 'No\nYes',
|
'options': 'No\nYes',
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -276,7 +276,7 @@
|
|||||||
'oldfieldname': 'is_opening',
|
'oldfieldname': 'is_opening',
|
||||||
'oldfieldtype': 'Select',
|
'oldfieldtype': 'Select',
|
||||||
'options': 'No\nYes',
|
'options': 'No\nYes',
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -304,7 +304,7 @@
|
|||||||
'oldfieldname': 'fiscal_year',
|
'oldfieldname': 'fiscal_year',
|
||||||
'oldfieldtype': 'Select',
|
'oldfieldtype': 'Select',
|
||||||
'options': 'link:Fiscal Year',
|
'options': 'link:Fiscal Year',
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -318,6 +318,6 @@
|
|||||||
'oldfieldname': 'company',
|
'oldfieldname': 'company',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Company',
|
'options': 'Company',
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
# These values are common for all DocType
|
# These values are common for all DocType
|
||||||
{
|
{
|
||||||
'_last_update': '1305714002',
|
'_last_update': '1309508838',
|
||||||
'colour': 'White:FFF',
|
'colour': 'White:FFF',
|
||||||
'doctype': 'DocType',
|
'doctype': 'DocType',
|
||||||
'module': 'Accounts',
|
'module': 'Accounts',
|
||||||
@@ -237,7 +237,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 0,
|
'print_hide': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -297,7 +297,8 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Journal Voucher',
|
'options': 'Journal Voucher',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1
|
'print_hide': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -336,7 +337,7 @@
|
|||||||
'oldfieldname': 'cheque_no',
|
'oldfieldname': 'cheque_no',
|
||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -365,7 +366,7 @@
|
|||||||
'oldfieldtype': 'Date',
|
'oldfieldtype': 'Date',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 0,
|
'print_hide': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -536,7 +537,7 @@
|
|||||||
'options': 'No\nYes',
|
'options': 'No\nYes',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -634,7 +635,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -651,7 +652,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -670,6 +671,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'report_hide': 1,
|
'report_hide': 1,
|
||||||
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -722,7 +724,7 @@
|
|||||||
'options': '\nYes\nNo',
|
'options': '\nYes\nNo',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -741,7 +743,7 @@
|
|||||||
'options': 'link:TDS Category',
|
'options': 'link:TDS Category',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -760,6 +762,7 @@
|
|||||||
'options': 'Account',
|
'options': 'Account',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -790,7 +793,8 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Account',
|
'options': 'Account',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1
|
'print_hide': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -69,7 +69,7 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Cost Center',
|
'options': 'Cost Center',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '180px'
|
'width': '180px'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
# These values are common for all DocType
|
# These values are common for all DocType
|
||||||
{
|
{
|
||||||
'_last_update': '1308741898',
|
'_last_update': '1309508838',
|
||||||
'colour': 'White:FFF',
|
'colour': 'White:FFF',
|
||||||
'doctype': 'DocType',
|
'doctype': 'DocType',
|
||||||
'module': 'Accounts',
|
'module': 'Accounts',
|
||||||
@@ -221,6 +221,7 @@
|
|||||||
'options': 'Supplier',
|
'options': 'Supplier',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
|
'search_index': 1,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -326,7 +327,7 @@
|
|||||||
'oldfieldtype': 'Date',
|
'oldfieldtype': 'Date',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -342,7 +343,7 @@
|
|||||||
'oldfieldtype': 'Date',
|
'oldfieldtype': 'Date',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 0,
|
'print_hide': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -378,7 +379,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -394,7 +395,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 0,
|
'reqd': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -690,7 +691,7 @@
|
|||||||
'options': 'No\nYes',
|
'options': 'No\nYes',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -768,7 +769,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -785,7 +786,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -1084,7 +1085,7 @@
|
|||||||
'oldfieldtype': 'Currency',
|
'oldfieldtype': 'Currency',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -147,7 +147,8 @@
|
|||||||
'oldfieldtype': 'Select',
|
'oldfieldtype': 'Select',
|
||||||
'options': 'link:Fiscal Year',
|
'options': 'link:Fiscal Year',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1
|
'reqd': 1,
|
||||||
|
'search_index': 1
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -172,7 +172,8 @@
|
|||||||
'oldfieldname': 'company',
|
'oldfieldname': 'company',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Company',
|
'options': 'Company',
|
||||||
'reqd': 1
|
'reqd': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -193,7 +194,8 @@
|
|||||||
'oldfieldname': 'customer_account',
|
'oldfieldname': 'customer_account',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Account',
|
'options': 'Account',
|
||||||
'reqd': 0
|
'reqd': 0,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -206,7 +208,8 @@
|
|||||||
'oldfieldname': 'cash_bank_account',
|
'oldfieldname': 'cash_bank_account',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Account',
|
'options': 'Account',
|
||||||
'reqd': 1
|
'reqd': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -219,7 +222,8 @@
|
|||||||
'oldfieldname': 'income_account',
|
'oldfieldname': 'income_account',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Account',
|
'options': 'Account',
|
||||||
'reqd': 1
|
'reqd': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -232,7 +236,8 @@
|
|||||||
'oldfieldname': 'warehouse',
|
'oldfieldname': 'warehouse',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Warehouse',
|
'options': 'Warehouse',
|
||||||
'reqd': 1
|
'reqd': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -245,7 +250,8 @@
|
|||||||
'oldfieldname': 'cost_center',
|
'oldfieldname': 'cost_center',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Cost Center',
|
'options': 'Cost Center',
|
||||||
'reqd': 1
|
'reqd': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -257,7 +263,8 @@
|
|||||||
'label': 'Charge',
|
'label': 'Charge',
|
||||||
'oldfieldname': 'charge',
|
'oldfieldname': 'charge',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Other Charges'
|
'options': 'Other Charges',
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -282,7 +289,8 @@
|
|||||||
'label': 'Terms',
|
'label': 'Terms',
|
||||||
'oldfieldname': 'tc_name',
|
'oldfieldname': 'tc_name',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Term'
|
'options': 'Term',
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -151,6 +151,7 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Cost Center',
|
'options': 'Cost Center',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -111,7 +111,7 @@
|
|||||||
'options': 'Item Group',
|
'options': 'Item Group',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
# These values are common for all DocType
|
# These values are common for all DocType
|
||||||
{
|
{
|
||||||
'_last_update': '1308741898',
|
'_last_update': '1309508839',
|
||||||
'change_log': '1. Change in pull_details method dt.-26-06-2009',
|
'change_log': '1. Change in pull_details method dt.-26-06-2009',
|
||||||
'colour': 'White:FFF',
|
'colour': 'White:FFF',
|
||||||
'doctype': 'DocType',
|
'doctype': 'DocType',
|
||||||
@@ -323,7 +323,7 @@
|
|||||||
'oldfieldtype': 'Date',
|
'oldfieldtype': 'Date',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -342,7 +342,7 @@
|
|||||||
'oldfieldtype': 'Date',
|
'oldfieldtype': 'Date',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -433,7 +433,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -903,7 +903,7 @@
|
|||||||
'options': 'No\nYes',
|
'options': 'No\nYes',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -1027,7 +1027,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -1045,7 +1045,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -1116,7 +1116,7 @@
|
|||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -243,6 +243,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
|
'search_index': 1,
|
||||||
'trigger': 'Client',
|
'trigger': 'Client',
|
||||||
'width': '120px'
|
'width': '120px'
|
||||||
},
|
},
|
||||||
@@ -262,6 +263,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 0,
|
'reqd': 0,
|
||||||
|
'search_index': 1,
|
||||||
'trigger': 'Client',
|
'trigger': 'Client',
|
||||||
'width': '120px'
|
'width': '120px'
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -80,7 +80,8 @@
|
|||||||
'oldfieldname': 'cost_center_other_charges',
|
'oldfieldname': 'cost_center_other_charges',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Cost Center',
|
'options': 'Cost Center',
|
||||||
'permlevel': 0
|
'permlevel': 0,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
'label': 'Company',
|
'label': 'Company',
|
||||||
'oldfieldname': 'company',
|
'oldfieldname': 'company',
|
||||||
'options': 'Company',
|
'options': 'Company',
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -207,7 +207,7 @@
|
|||||||
'options': 'link:Fiscal Year',
|
'options': 'link:Fiscal Year',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -269,7 +269,7 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Company',
|
'options': 'Company',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -2,134 +2,145 @@
|
|||||||
# ------------------------------------------------------------------
|
# ------------------------------------------------------------------
|
||||||
|
|
||||||
if not filter_values.get('posting_date') or not filter_values.get('posting_date1'):
|
if not filter_values.get('posting_date') or not filter_values.get('posting_date1'):
|
||||||
msgprint("Please select From Posting Date and To Posting Date ")
|
msgprint("Please select From Posting Date and To Posting Date ")
|
||||||
raise Exception
|
raise Exception
|
||||||
else:
|
else:
|
||||||
from_date = filter_values.get('posting_date')
|
from_date = filter_values.get('posting_date')
|
||||||
to_date = filter_values.get('posting_date1')
|
to_date = filter_values.get('posting_date1')
|
||||||
|
|
||||||
if not filter_values['range_1'] or not filter_values['range_2'] or not filter_values['range_3'] or not filter_values['range_4']:
|
if not filter_values['range_1'] or not filter_values['range_2'] or not filter_values['range_3'] or not filter_values['range_4']:
|
||||||
msgprint("Please select aging ranges in no of days in 'More Filters' ")
|
msgprint("Please select aging ranges in no of days in 'More Filters' ")
|
||||||
raise Exception
|
raise Exception
|
||||||
|
|
||||||
# validate Range
|
# validate Range
|
||||||
range_list = ['range_1','range_2','range_3','range_4']
|
range_list = ['range_1','range_2','range_3','range_4']
|
||||||
for r in range(len(range_list)-1):
|
for r in range(len(range_list)-1):
|
||||||
if not cint(filter_values[range_list[r]]) < cint(filter_values[range_list[r + 1]]):
|
if not cint(filter_values[range_list[r]]) < cint(filter_values[range_list[r + 1]]):
|
||||||
msgprint("Range %s should be less than Range %s." % (cstr(r+1),cstr(r+2)))
|
msgprint("Range %s should be less than Range %s." % (cstr(r+1),cstr(r+2)))
|
||||||
raise Exception
|
raise Exception
|
||||||
|
|
||||||
|
|
||||||
# Add columns
|
# Add columns
|
||||||
# ------------------------------------------------------------------
|
# ------------------------------------------------------------------
|
||||||
data = [['Aging Date','Date','80px',''],
|
data = [['Aging Date','Date','80px',''],
|
||||||
['Transaction Date','Date','80px',''],
|
['Transaction Date','Date','80px',''],
|
||||||
['Account','Data','120px',''],
|
['Account','Data','120px',''],
|
||||||
['Against Voucher Type','Data','120px',''],
|
['Against Voucher Type','Data','120px',''],
|
||||||
['Against Voucher','Data','120px',''],
|
['Against Voucher','Data','120px',''],
|
||||||
['Voucher Type','Data','120px',''],
|
['Voucher Type','Data','120px',''],
|
||||||
['Voucher No','Data','120px',''],
|
['Voucher No','Data','120px',''],
|
||||||
['Remarks','Data','160px',''],
|
['Remarks','Data','160px',''],
|
||||||
['Supplier Type', 'Data', '80px', ''],
|
['Supplier Type', 'Data', '80px', ''],
|
||||||
['Due Date', 'Data', '80px', ''],
|
['Due Date', 'Data', '80px', ''],
|
||||||
['Bill No','Data','80px',''],
|
['Bill No','Data','80px',''],
|
||||||
['Bill Date','Data','80px',''],
|
['Bill Date','Data','80px',''],
|
||||||
['Opening Amt','Currency','120px',''],
|
['Opening Amt','Currency','120px',''],
|
||||||
['Outstanding Amt','Currency','120px',''],
|
['Outstanding Amt','Currency','120px',''],
|
||||||
['Age (Days)', 'Currency', '150px', ''],
|
['Age (Days)', 'Currency', '150px', ''],
|
||||||
['0-'+cstr(filter_values['range_1']),'Currency','100px',''],
|
['0-'+cstr(filter_values['range_1']),'Currency','100px',''],
|
||||||
[cstr(cint(filter_values['range_1']) + 1)+ '-' +cstr(filter_values['range_2']),'Currency','100px',''],
|
[cstr(cint(filter_values['range_1']) + 1)+ '-' +cstr(filter_values['range_2']),'Currency','100px',''],
|
||||||
[cstr(cint(filter_values['range_2']) + 1)+ '-' +cstr(filter_values['range_3']),'Currency','100px',''],
|
[cstr(cint(filter_values['range_2']) + 1)+ '-' +cstr(filter_values['range_3']),'Currency','100px',''],
|
||||||
[cstr(cint(filter_values['range_3']) + 1)+ '-' +cstr(filter_values['range_4']),'Currency','100px',''],
|
[cstr(cint(filter_values['range_3']) + 1)+ '-' +cstr(filter_values['range_4']),'Currency','100px',''],
|
||||||
[cstr(filter_values['range_4']) + '-Above','Currency','100px','']]
|
[cstr(filter_values['range_4']) + '-Above','Currency','100px','']]
|
||||||
|
|
||||||
|
|
||||||
for d in data:
|
for d in data:
|
||||||
colnames.append(d[0])
|
colnames.append(d[0])
|
||||||
coltypes.append(d[1])
|
coltypes.append(d[1])
|
||||||
colwidths.append(d[2])
|
colwidths.append(d[2])
|
||||||
coloptions.append(d[3])
|
coloptions.append(d[3])
|
||||||
col_idx[d[0]] = len(colnames)-1
|
col_idx[d[0]] = len(colnames)-1
|
||||||
|
|
||||||
# ageing based on
|
# ageing based on
|
||||||
# ------------------------------------------------------------------
|
# ------------------------------------------------------------------
|
||||||
aging_based_on = 'Aging Date'
|
aging_based_on = 'Aging Date'
|
||||||
if filter_values.has_key('aging_based_on') and filter_values['aging_based_on']:
|
if filter_values.has_key('aging_based_on') and filter_values['aging_based_on']:
|
||||||
aging_based_on = filter_values['aging_based_on'].split(NEWLINE)[-1]
|
aging_based_on = filter_values['aging_based_on'].split(NEWLINE)[-1]
|
||||||
|
|
||||||
if len(res) > 600 and from_export == 0:
|
if len(res) > 600 and from_export == 0:
|
||||||
msgprint("This is a very large report and cannot be shown in the browser as it is likely to make your browser very slow.Please select Account or click on 'Export' to open in excel")
|
msgprint("This is a very large report and cannot be shown in the browser as it is likely to make your browser very slow.Please select Account or click on 'Export' to open in excel")
|
||||||
raise Exception
|
raise Exception
|
||||||
|
|
||||||
|
|
||||||
# ------------------------------------------------------------------
|
# ------------------------------------------------------------------
|
||||||
# main loop starts here
|
# main loop starts here
|
||||||
# ------------------------------------------------------------------
|
# ------------------------------------------------------------------
|
||||||
|
|
||||||
|
# get supplier type
|
||||||
|
supp_type_dict = {}
|
||||||
|
for each in sql("select t2.name, t1.supplier_type from tabSupplier t1, tabAccount t2 where t1.name = t2.account_name group by t2.name"):
|
||||||
|
supp_type_dict[each[0]] = each[1]
|
||||||
|
|
||||||
|
# get due_date, bill_no, bill_date from PV
|
||||||
|
pv_dict = {}
|
||||||
|
for t in sql("select name, due_date, bill_no, bill_date from `tabPayable Voucher` group by name"):
|
||||||
|
pv_dict[t[0]] = [cstr(t[1]), t[2], cstr(t[3])]
|
||||||
|
|
||||||
|
# pv outside this period
|
||||||
|
pv_outside_period = [d[0] for d in sql("select distinct name from `tabPayable Voucher` where (posting_date < '%s' or posting_date > '%s') and docstatus = 1" % (from_date, to_date))]
|
||||||
|
|
||||||
|
|
||||||
out = []
|
out = []
|
||||||
total_booking_amt, total_outstanding_amt = 0,0
|
total_booking_amt, total_outstanding_amt = 0,0
|
||||||
|
|
||||||
for r in res:
|
for r in res:
|
||||||
# get supplier type
|
outstanding_amt, due_date, bill_no, bill_date, cond = 0, '','','', ''
|
||||||
supplier_type = sql("select t1.supplier_type from tabSupplier t1, tabAccount t2 where t1.name = t2.account_name and t2.name = '%s'" % r[col_idx['Account']])
|
booking_amt = r.pop(8)
|
||||||
r.append(supplier_type and cstr(supplier_type[0][0]) or '')
|
|
||||||
|
|
||||||
outstanding_amt, booking_amt, due_date, bill_no, bill_date, cond = 0,0, '','','', ''
|
# supplier type
|
||||||
|
r.append(supp_type_dict.get(r[col_idx['Account']], ''))
|
||||||
|
|
||||||
# if entry against Payable Voucher
|
# if entry against Payable Voucher
|
||||||
if r[col_idx['Against Voucher']] and r[col_idx['Voucher Type']] == 'Payable Voucher':
|
if r[col_idx['Against Voucher']] and r[col_idx['Voucher Type']] == 'Payable Voucher':
|
||||||
due_date, bill_no, bill_date = [cstr(t) for t in sql("select due_date,bill_no,bill_date from `tabPayable Voucher` where name = %s", r[col_idx['Voucher No']])[0]]
|
r += pv_dict.get(r[col_idx['Voucher No']], ['', '', ''])
|
||||||
|
cond = " and ifnull(against_voucher, '') = '%s'" % r[col_idx['Against Voucher']]
|
||||||
|
|
||||||
# get opening
|
# if entry against JV & and not adjusted within period
|
||||||
booking_amt = sql("select credit from `tabGL Entry` where account = %s and voucher_no = %s and is_cancelled = 'No'", (r[col_idx['Account']], r[col_idx['Voucher No']]))
|
elif r[col_idx['Against Voucher Type']] == 'Payable Voucher' and r[col_idx['Against Voucher']] in pv_outside_period:
|
||||||
booking_amt = booking_amt and flt(booking_amt[0][0]) or 0
|
booking_amt = 0
|
||||||
|
cond = " and voucher_no = '%s' and ifnull(against_voucher, '') = '%s'" % (r[col_idx['Voucher No']], r[col_idx['Against Voucher']])
|
||||||
|
|
||||||
cond = " and against_voucher = '%s' and against_voucher is not null" % r[col_idx['Against Voucher']]
|
# if un-adjusted
|
||||||
|
elif not r[col_idx['Against Voucher']]:
|
||||||
|
booking_amt = 0
|
||||||
|
cond = " and ((voucher_no = '%s' and ifnull(against_voucher, '') = '') or (ifnull(against_voucher, '') = '%s' and voucher_type = 'Journal Voucher'))" % (r[col_idx['Voucher No']], r[col_idx['Voucher No']])
|
||||||
|
|
||||||
# if entry against JV & and not adjusted within period
|
if cond:
|
||||||
elif r[col_idx['Against Voucher Type']] == 'Payable Voucher' and sql("select name from `tabPayable Voucher` where name = '%s' and (posting_date < '%s' or posting_date > '%s') and docstatus = 1" % (r[col_idx['Against Voucher']], from_date, to_date)):
|
outstanding_amt = flt(sql("select sum(ifnull(credit, 0))-sum(ifnull(debit, 0)) from `tabGL Entry` where account = '%s' and ifnull(is_cancelled, 'No') = 'No' and posting_date <= '%s' %s" % (r[col_idx['Account']], to_date, cond))[0][0] or 0)
|
||||||
cond = " and voucher_no = '%s' and ifnull(against_voucher, '') = '%s'" % (r[col_idx['Voucher No']], r[col_idx['Against Voucher']])
|
|
||||||
|
|
||||||
# if un-adjusted
|
# add to total outstanding
|
||||||
elif not r[col_idx['Against Voucher']]:
|
total_outstanding_amt += flt(outstanding_amt)
|
||||||
cond = " and ((voucher_no = '%s' and ifnull(against_voucher, '') = '') or (ifnull(against_voucher, '') = '%s' and voucher_type = 'Journal Voucher'))" % (r[col_idx['Voucher No']], r[col_idx['Voucher No']])
|
|
||||||
|
|
||||||
if cond:
|
# add to total booking amount
|
||||||
outstanding_amt = flt(sql("select sum(ifnull(credit, 0))-sum(ifnull(debit, 0)) from `tabGL Entry` where account = '%s' and ifnull(is_cancelled, 'No') = 'No' and posting_date <= '%s' %s" % (r[col_idx['Account']], to_date, cond))[0][0] or 0)
|
if outstanding_amt and r[col_idx['Voucher Type']] == 'Payable Voucher' and r[col_idx['Against Voucher']]:
|
||||||
|
total_booking_amt += flt(booking_amt)
|
||||||
|
|
||||||
# add to total outstanding
|
r += [booking_amt, outstanding_amt]
|
||||||
total_outstanding_amt += flt(outstanding_amt)
|
|
||||||
|
|
||||||
# add to total booking amount
|
# split into date ranges
|
||||||
if outstanding_amt and r[col_idx['Voucher Type']] == 'Payable Voucher' and r[col_idx['Against Voucher']]:
|
val_l1 = val_l2 = val_l3 = val_l4 = val_l5_above= 0
|
||||||
total_booking_amt += flt(booking_amt)
|
if r[col_idx[aging_based_on]]:
|
||||||
|
diff = (getdate(to_date) - getdate(r[col_idx[aging_based_on]])).days
|
||||||
|
if diff < cint(filter_values['range_1']):
|
||||||
|
val_l1 = outstanding_amt
|
||||||
|
if diff >= cint(filter_values['range_1']) and diff < cint(filter_values['range_2']):
|
||||||
|
val_l2 = outstanding_amt
|
||||||
|
if diff >= cint(filter_values['range_2']) and diff < cint(filter_values['range_3']):
|
||||||
|
val_l3 = outstanding_amt
|
||||||
|
if diff >= cint(filter_values['range_3']) and diff < cint(filter_values['range_4']):
|
||||||
|
val_l4 = outstanding_amt
|
||||||
|
if diff >= cint(filter_values['range_4']):
|
||||||
|
val_l5_above = outstanding_amt
|
||||||
|
|
||||||
r += [due_date, bill_no, bill_date, booking_amt, outstanding_amt]
|
r += [diff, val_l1, val_l2, val_l3, val_l4, val_l5_above]
|
||||||
|
|
||||||
# split into date ranges
|
# Only show that entry which has outstanding
|
||||||
val_l1 = val_l2 = val_l3 = val_l4 = val_l5_above= 0
|
if abs(flt(outstanding_amt)) > 0.001:
|
||||||
if r[col_idx[aging_based_on]]:
|
out.append(r)
|
||||||
diff = (getdate(to_date) - getdate(r[col_idx[aging_based_on]])).days
|
|
||||||
if diff < cint(filter_values['range_1']):
|
|
||||||
val_l1 = outstanding_amt
|
|
||||||
if diff >= cint(filter_values['range_1']) and diff < cint(filter_values['range_2']):
|
|
||||||
val_l2 = outstanding_amt
|
|
||||||
if diff >= cint(filter_values['range_2']) and diff < cint(filter_values['range_3']):
|
|
||||||
val_l3 = outstanding_amt
|
|
||||||
if diff >= cint(filter_values['range_3']) and diff < cint(filter_values['range_4']):
|
|
||||||
val_l4 = outstanding_amt
|
|
||||||
if diff >= cint(filter_values['range_4']):
|
|
||||||
val_l5_above = outstanding_amt
|
|
||||||
|
|
||||||
r += [diff, val_l1, val_l2, val_l3, val_l4, val_l5_above]
|
if len(out) > 300 and from_export == 0:
|
||||||
|
msgprint("This is a very large report and cannot be shown in the browser as it is likely to make your browser very slow.Please select Account or click on 'Export' to open in excel")
|
||||||
# Only show that entry which has outstanding
|
raise Exception
|
||||||
if abs(flt(outstanding_amt)) > 0.001:
|
|
||||||
out.append(r)
|
|
||||||
|
|
||||||
if len(out) > 300 and from_export == 0:
|
|
||||||
msgprint("This is a very large report and cannot be shown in the browser as it is likely to make your browser very slow.Please select Account or click on 'Export' to open in excel")
|
|
||||||
raise Exception
|
|
||||||
|
|
||||||
|
|
||||||
# Append Extra rows to RES
|
# Append Extra rows to RES
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
SELECT DISTINCT `tabGL Entry`.`Aging_date`,`tabGL Entry`.`transaction_date`,`tabGL Entry`.`account`, `tabGL Entry`.`against_voucher_type`, `tabGL Entry`.`against_voucher`,`tabGL Entry`.`voucher_type`,`tabGL Entry`.`voucher_no`, `tabGL Entry`.remarks
|
SELECT DISTINCT `tabGL Entry`.`Aging_date`,`tabGL Entry`.`transaction_date`,`tabGL Entry`.`account`, `tabGL Entry`.`against_voucher_type`, `tabGL Entry`.`against_voucher`,`tabGL Entry`.`voucher_type`,`tabGL Entry`.`voucher_no`, `tabGL Entry`.`remarks`, `tabGL Entry`.`credit`
|
||||||
FROM `tabGL Entry`,`tabAccount`
|
FROM `tabGL Entry`,`tabAccount`
|
||||||
WHERE `tabGL Entry`.`posting_date`>= '%(posting_date)s'
|
WHERE `tabGL Entry`.`posting_date`>= '%(posting_date)s'
|
||||||
AND `tabGL Entry`.`posting_date`<= '%(posting_date1)s'
|
AND `tabGL Entry`.`posting_date`<= '%(posting_date1)s'
|
||||||
|
|||||||
@@ -282,6 +282,7 @@
|
|||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'options': 'Sales Order',
|
'options': 'Sales Order',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
|
'search_index': 0,
|
||||||
'width': '100px'
|
'width': '100px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -338,7 +339,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '150px'
|
'width': '150px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -357,7 +358,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '150px'
|
'width': '150px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -487,7 +488,8 @@
|
|||||||
'options': 'Term',
|
'options': 'Term',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'report_hide': 1
|
'report_hide': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -85,7 +85,7 @@
|
|||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '100px'
|
'width': '100px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -132,6 +132,7 @@
|
|||||||
'options': 'Brand',
|
'options': 'Brand',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
|
'search_index': 0,
|
||||||
'width': '100px'
|
'width': '100px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -151,7 +152,7 @@
|
|||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 0,
|
'reqd': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -199,6 +200,7 @@
|
|||||||
'options': 'UOM',
|
'options': 'UOM',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
|
'search_index': 0,
|
||||||
'width': '50px'
|
'width': '50px'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -89,7 +89,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -182,6 +182,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 0,
|
'print_hide': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
|
'search_index': 0,
|
||||||
'trigger': 'Client',
|
'trigger': 'Client',
|
||||||
'width': '100px'
|
'width': '100px'
|
||||||
},
|
},
|
||||||
@@ -331,7 +332,8 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Brand',
|
'options': 'Brand',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1
|
'print_hide': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -348,7 +350,7 @@
|
|||||||
'options': 'Item Group',
|
'options': 'Item Group',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -206,7 +206,8 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Serial No',
|
'options': 'Serial No',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 0
|
'print_hide': 0,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -219,7 +220,8 @@
|
|||||||
'oldfieldname': 'batch_no',
|
'oldfieldname': 'batch_no',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Batch',
|
'options': 'Batch',
|
||||||
'permlevel': 0
|
'permlevel': 0,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -255,7 +257,7 @@
|
|||||||
'options': 'Delivery Note',
|
'options': 'Delivery Note',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 0,
|
'print_hide': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
{
|
{
|
||||||
'creation': '2010-08-08 17:09:26',
|
'creation': '2010-08-08 17:09:26',
|
||||||
'docstatus': 0,
|
'docstatus': 0,
|
||||||
'modified': '2011-05-10 17:42:21',
|
'modified': '2011-07-19 16:18:58',
|
||||||
'modified_by': 'Administrator',
|
'modified_by': 'Administrator',
|
||||||
'owner': 'Administrator'
|
'owner': 'Administrator'
|
||||||
},
|
},
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
'show_in_menu': 0,
|
'show_in_menu': 0,
|
||||||
'subject': ' ',
|
'subject': ' ',
|
||||||
'tag_fields': 'supplier_type',
|
'tag_fields': 'supplier_type',
|
||||||
'version': 86
|
'version': 87
|
||||||
},
|
},
|
||||||
|
|
||||||
# These values are common for all DocField
|
# These values are common for all DocField
|
||||||
@@ -163,24 +163,11 @@
|
|||||||
'permlevel': 0
|
'permlevel': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': 'DocField',
|
|
||||||
'fieldname': 'supplier_status',
|
|
||||||
'fieldtype': 'Select',
|
|
||||||
'idx': 6,
|
|
||||||
'label': 'Supplier Status',
|
|
||||||
'oldfieldname': 'supplier_status',
|
|
||||||
'oldfieldtype': 'Select',
|
|
||||||
'options': '\nApproved\nUnapproved',
|
|
||||||
'permlevel': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
{
|
{
|
||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldtype': 'Section Break',
|
'fieldtype': 'Section Break',
|
||||||
'idx': 7,
|
'idx': 6,
|
||||||
'label': 'Address & Contacts',
|
'label': 'Address & Contacts',
|
||||||
'oldfieldtype': 'Column Break',
|
'oldfieldtype': 'Column Break',
|
||||||
'permlevel': 0
|
'permlevel': 0
|
||||||
@@ -192,7 +179,7 @@
|
|||||||
'depends_on': 'eval:doc.__islocal',
|
'depends_on': 'eval:doc.__islocal',
|
||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldtype': 'HTML',
|
'fieldtype': 'HTML',
|
||||||
'idx': 8,
|
'idx': 7,
|
||||||
'label': 'Address Desc',
|
'label': 'Address Desc',
|
||||||
'options': '<em>Addresses will appear only when you save the supplier</em>',
|
'options': '<em>Addresses will appear only when you save the supplier</em>',
|
||||||
'permlevel': 0
|
'permlevel': 0
|
||||||
@@ -203,7 +190,7 @@
|
|||||||
'colour': 'White:FFF',
|
'colour': 'White:FFF',
|
||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldtype': 'HTML',
|
'fieldtype': 'HTML',
|
||||||
'idx': 9,
|
'idx': 8,
|
||||||
'label': 'Address HTML',
|
'label': 'Address HTML',
|
||||||
'permlevel': 1
|
'permlevel': 1
|
||||||
},
|
},
|
||||||
@@ -212,7 +199,7 @@
|
|||||||
{
|
{
|
||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldtype': 'Column Break',
|
'fieldtype': 'Column Break',
|
||||||
'idx': 10,
|
'idx': 9,
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'width': '50%'
|
'width': '50%'
|
||||||
},
|
},
|
||||||
@@ -223,7 +210,7 @@
|
|||||||
'depends_on': 'eval:doc.__islocal',
|
'depends_on': 'eval:doc.__islocal',
|
||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldtype': 'HTML',
|
'fieldtype': 'HTML',
|
||||||
'idx': 11,
|
'idx': 10,
|
||||||
'label': 'Contact Desc',
|
'label': 'Contact Desc',
|
||||||
'options': '<em>Contact Details will appear only when you save the supplier</em>',
|
'options': '<em>Contact Details will appear only when you save the supplier</em>',
|
||||||
'permlevel': 0
|
'permlevel': 0
|
||||||
@@ -233,7 +220,7 @@
|
|||||||
{
|
{
|
||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldtype': 'HTML',
|
'fieldtype': 'HTML',
|
||||||
'idx': 12,
|
'idx': 11,
|
||||||
'label': 'Contact HTML',
|
'label': 'Contact HTML',
|
||||||
'permlevel': 1
|
'permlevel': 1
|
||||||
},
|
},
|
||||||
@@ -242,7 +229,7 @@
|
|||||||
{
|
{
|
||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldtype': 'Section Break',
|
'fieldtype': 'Section Break',
|
||||||
'idx': 13,
|
'idx': 12,
|
||||||
'label': 'More Info',
|
'label': 'More Info',
|
||||||
'oldfieldtype': 'Section Break',
|
'oldfieldtype': 'Section Break',
|
||||||
'permlevel': 0
|
'permlevel': 0
|
||||||
@@ -255,7 +242,7 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'company',
|
'fieldname': 'company',
|
||||||
'fieldtype': 'Link',
|
'fieldtype': 'Link',
|
||||||
'idx': 14,
|
'idx': 13,
|
||||||
'in_filter': 1,
|
'in_filter': 1,
|
||||||
'label': 'Company',
|
'label': 'Company',
|
||||||
'oldfieldname': 'company',
|
'oldfieldname': 'company',
|
||||||
@@ -263,7 +250,7 @@
|
|||||||
'options': 'Company',
|
'options': 'Company',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -273,7 +260,7 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'supplier_details',
|
'fieldname': 'supplier_details',
|
||||||
'fieldtype': 'Text',
|
'fieldtype': 'Text',
|
||||||
'idx': 15,
|
'idx': 14,
|
||||||
'label': 'Supplier Details',
|
'label': 'Supplier Details',
|
||||||
'oldfieldname': 'supplier_details',
|
'oldfieldname': 'supplier_details',
|
||||||
'oldfieldtype': 'Code',
|
'oldfieldtype': 'Code',
|
||||||
@@ -284,7 +271,7 @@
|
|||||||
{
|
{
|
||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldtype': 'Column Break',
|
'fieldtype': 'Column Break',
|
||||||
'idx': 16,
|
'idx': 15,
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'width': '50%'
|
'width': '50%'
|
||||||
},
|
},
|
||||||
@@ -294,7 +281,7 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'credit_days',
|
'fieldname': 'credit_days',
|
||||||
'fieldtype': 'Int',
|
'fieldtype': 'Int',
|
||||||
'idx': 17,
|
'idx': 16,
|
||||||
'label': 'Credit Days',
|
'label': 'Credit Days',
|
||||||
'permlevel': 0
|
'permlevel': 0
|
||||||
},
|
},
|
||||||
@@ -304,7 +291,7 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'website',
|
'fieldname': 'website',
|
||||||
'fieldtype': 'Data',
|
'fieldtype': 'Data',
|
||||||
'idx': 18,
|
'idx': 17,
|
||||||
'label': 'Website',
|
'label': 'Website',
|
||||||
'oldfieldname': 'website',
|
'oldfieldname': 'website',
|
||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
@@ -317,7 +304,7 @@
|
|||||||
'depends_on': 'eval:!doc.__islocal',
|
'depends_on': 'eval:!doc.__islocal',
|
||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldtype': 'Section Break',
|
'fieldtype': 'Section Break',
|
||||||
'idx': 19,
|
'idx': 18,
|
||||||
'label': 'Transaction History',
|
'label': 'Transaction History',
|
||||||
'oldfieldtype': 'Section Break',
|
'oldfieldtype': 'Section Break',
|
||||||
'permlevel': 0
|
'permlevel': 0
|
||||||
@@ -329,7 +316,7 @@
|
|||||||
'depends_on': 'eval:!doc.__islocal',
|
'depends_on': 'eval:!doc.__islocal',
|
||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldtype': 'HTML',
|
'fieldtype': 'HTML',
|
||||||
'idx': 20,
|
'idx': 19,
|
||||||
'label': 'History HTML',
|
'label': 'History HTML',
|
||||||
'oldfieldtype': 'HTML',
|
'oldfieldtype': 'HTML',
|
||||||
'permlevel': 0
|
'permlevel': 0
|
||||||
@@ -340,7 +327,7 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'trash_reason',
|
'fieldname': 'trash_reason',
|
||||||
'fieldtype': 'Small Text',
|
'fieldtype': 'Small Text',
|
||||||
'idx': 21,
|
'idx': 20,
|
||||||
'label': 'Trash Reason',
|
'label': 'Trash Reason',
|
||||||
'oldfieldname': 'trash_reason',
|
'oldfieldname': 'trash_reason',
|
||||||
'oldfieldtype': 'Small Text',
|
'oldfieldtype': 'Small Text',
|
||||||
|
|||||||
@@ -141,7 +141,7 @@
|
|||||||
'oldfieldtype': 'Select',
|
'oldfieldtype': 'Select',
|
||||||
'options': '\nPresent\nAbsent\nHalf Day',
|
'options': '\nPresent\nAbsent\nHalf Day',
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -193,7 +193,7 @@
|
|||||||
'oldfieldname': 'att_date',
|
'oldfieldname': 'att_date',
|
||||||
'oldfieldtype': 'Date',
|
'oldfieldtype': 'Date',
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 0
|
'search_index': 1
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -75,7 +75,7 @@
|
|||||||
'oldfieldtype': 'Select',
|
'oldfieldtype': 'Select',
|
||||||
'options': '\nGraduate\nPost Graduate\nUnder Graduate',
|
'options': '\nGraduate\nPost Graduate\nUnder Graduate',
|
||||||
'reqd': 0,
|
'reqd': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -173,7 +173,8 @@
|
|||||||
'oldfieldname': 'employee_name',
|
'oldfieldname': 'employee_name',
|
||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1
|
'reqd': 1,
|
||||||
|
'search_index': 1
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -275,7 +276,7 @@
|
|||||||
'options': '\nActive\nLeft',
|
'options': '\nActive\nLeft',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -408,7 +409,8 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Department',
|
'options': 'Department',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1
|
'reqd': 1,
|
||||||
|
'search_index': 1
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -189,7 +189,7 @@
|
|||||||
'oldfieldname': 'employee_name',
|
'oldfieldname': 'employee_name',
|
||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '150px'
|
'width': '150px'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -136,7 +136,7 @@
|
|||||||
'in_filter': 1,
|
'in_filter': 1,
|
||||||
'label': 'Employee Name',
|
'label': 'Employee Name',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
# These values are common in all dictionaries
|
# These values are common in all dictionaries
|
||||||
{
|
{
|
||||||
'creation': '2011-02-17 13:25:56',
|
'creation': '2011-02-10 14:10:08',
|
||||||
'docstatus': 0,
|
'docstatus': 0,
|
||||||
'modified': '2011-07-08 13:28:15',
|
'modified': '2011-07-11 12:48:49',
|
||||||
'modified_by': 'Administrator',
|
'modified_by': 'Administrator',
|
||||||
'owner': 'Administrator'
|
'owner': 'Administrator'
|
||||||
},
|
},
|
||||||
@@ -54,28 +54,28 @@
|
|||||||
|
|
||||||
# DocPerm
|
# DocPerm
|
||||||
{
|
{
|
||||||
'amend': 0,
|
'amend': 1,
|
||||||
'cancel': 0,
|
'cancel': 1,
|
||||||
'create': 1,
|
'create': 1,
|
||||||
'doctype': 'DocPerm',
|
'doctype': 'DocPerm',
|
||||||
'idx': 1,
|
'idx': 1,
|
||||||
|
'match': 'owner',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'role': 'Employee',
|
'submit': 1,
|
||||||
'submit': 0,
|
|
||||||
'write': 1
|
'write': 1
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocPerm
|
# DocPerm
|
||||||
{
|
{
|
||||||
'amend': 1,
|
'amend': 0,
|
||||||
'cancel': 1,
|
'cancel': 0,
|
||||||
'create': 1,
|
'create': 0,
|
||||||
'doctype': 'DocPerm',
|
'doctype': 'DocPerm',
|
||||||
'idx': 2,
|
'idx': 2,
|
||||||
|
'match': 'owner',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'role': 'HR User',
|
'submit': 0,
|
||||||
'submit': 1,
|
'write': 0
|
||||||
'write': 1
|
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocPerm
|
# DocPerm
|
||||||
@@ -86,6 +86,19 @@
|
|||||||
'doctype': 'DocPerm',
|
'doctype': 'DocPerm',
|
||||||
'idx': 3,
|
'idx': 3,
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
|
'role': 'HR User',
|
||||||
|
'submit': 1,
|
||||||
|
'write': 1
|
||||||
|
},
|
||||||
|
|
||||||
|
# DocPerm
|
||||||
|
{
|
||||||
|
'amend': 1,
|
||||||
|
'cancel': 1,
|
||||||
|
'create': 1,
|
||||||
|
'doctype': 'DocPerm',
|
||||||
|
'idx': 4,
|
||||||
|
'permlevel': 0,
|
||||||
'role': 'HR Manager',
|
'role': 'HR Manager',
|
||||||
'submit': 1,
|
'submit': 1,
|
||||||
'write': 1
|
'write': 1
|
||||||
@@ -93,28 +106,18 @@
|
|||||||
|
|
||||||
# DocPerm
|
# DocPerm
|
||||||
{
|
{
|
||||||
'amend': 0,
|
|
||||||
'cancel': 0,
|
|
||||||
'create': 0,
|
|
||||||
'doctype': 'DocPerm',
|
'doctype': 'DocPerm',
|
||||||
'idx': 4,
|
'idx': 5,
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'role': 'HR User',
|
'role': 'HR User'
|
||||||
'submit': 0,
|
|
||||||
'write': 0
|
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocPerm
|
# DocPerm
|
||||||
{
|
{
|
||||||
'amend': 0,
|
|
||||||
'cancel': 0,
|
|
||||||
'create': 0,
|
|
||||||
'doctype': 'DocPerm',
|
'doctype': 'DocPerm',
|
||||||
'idx': 5,
|
'idx': 6,
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'role': 'HR Manager',
|
'role': 'HR Manager'
|
||||||
'submit': 0,
|
|
||||||
'write': 0
|
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -149,7 +152,7 @@
|
|||||||
'in_filter': 1,
|
'in_filter': 1,
|
||||||
'label': 'Employee Name',
|
'label': 'Employee Name',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -201,7 +204,7 @@
|
|||||||
'options': 'link:Fiscal Year',
|
'options': 'link:Fiscal Year',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -234,6 +237,7 @@
|
|||||||
'idx': 10,
|
'idx': 10,
|
||||||
'label': 'From Date',
|
'label': 'From Date',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
|
'search_index': 1,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -246,6 +250,7 @@
|
|||||||
'idx': 11,
|
'idx': 11,
|
||||||
'label': 'To Date',
|
'label': 'To Date',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
|
'search_index': 1,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
{
|
{
|
||||||
'creation': '2010-08-08 17:09:20',
|
'creation': '2010-08-08 17:09:20',
|
||||||
'docstatus': 0,
|
'docstatus': 0,
|
||||||
'modified': '2011-07-13 17:38:55',
|
'modified': '2011-07-18 15:30:04',
|
||||||
'modified_by': 'Administrator',
|
'modified_by': 'Administrator',
|
||||||
'owner': 'Administrator'
|
'owner': 'Administrator'
|
||||||
},
|
},
|
||||||
@@ -51,38 +51,72 @@
|
|||||||
|
|
||||||
# DocPerm
|
# DocPerm
|
||||||
{
|
{
|
||||||
'amend': 1,
|
'amend': 0,
|
||||||
'cancel': 1,
|
'cancel': 0,
|
||||||
'create': 1,
|
'create': 0,
|
||||||
'doctype': 'DocPerm',
|
'doctype': 'DocPerm',
|
||||||
'idx': 1,
|
'match': 'owner',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'role': 'System Manager',
|
'submit': 0,
|
||||||
'submit': 1,
|
'write': 0
|
||||||
'write': 1
|
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocPerm
|
# DocPerm
|
||||||
{
|
{
|
||||||
'amend': 0,
|
'amend': 0,
|
||||||
'cancel': 0,
|
'cancel': 0,
|
||||||
'create': 1,
|
'create': 0,
|
||||||
'doctype': 'DocPerm',
|
'doctype': 'DocPerm',
|
||||||
'idx': 2,
|
'match': 'owner',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'role': 'HR User',
|
'submit': 0,
|
||||||
'submit': 1,
|
'write': 0
|
||||||
'write': 1
|
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocPerm
|
# DocPerm
|
||||||
{
|
{
|
||||||
'amend': 0,
|
'amend': 0,
|
||||||
'cancel': 0,
|
'cancel': 0,
|
||||||
|
'create': 0,
|
||||||
|
'doctype': 'DocPerm',
|
||||||
|
'match': 'owner',
|
||||||
|
'permlevel': 0,
|
||||||
|
'submit': 0,
|
||||||
|
'write': 0
|
||||||
|
},
|
||||||
|
|
||||||
|
# DocPerm
|
||||||
|
{
|
||||||
|
'amend': 0,
|
||||||
|
'cancel': 0,
|
||||||
|
'create': 0,
|
||||||
|
'doctype': 'DocPerm',
|
||||||
|
'match': 'owner',
|
||||||
|
'permlevel': 0,
|
||||||
|
'submit': 0,
|
||||||
|
'write': 0
|
||||||
|
},
|
||||||
|
|
||||||
|
# DocPerm
|
||||||
|
{
|
||||||
|
'amend': 0,
|
||||||
'create': 1,
|
'create': 1,
|
||||||
'doctype': 'DocPerm',
|
'doctype': 'DocPerm',
|
||||||
'idx': 3,
|
'idx': 3,
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
|
'role': 'HR User',
|
||||||
|
'submit': 1,
|
||||||
|
'write': 1
|
||||||
|
},
|
||||||
|
|
||||||
|
# DocPerm
|
||||||
|
{
|
||||||
|
'amend': 1,
|
||||||
|
'cancel': 1,
|
||||||
|
'create': 1,
|
||||||
|
'doctype': 'DocPerm',
|
||||||
|
'idx': 4,
|
||||||
|
'permlevel': 0,
|
||||||
'role': 'HR Manager',
|
'role': 'HR Manager',
|
||||||
'submit': 1,
|
'submit': 1,
|
||||||
'write': 1
|
'write': 1
|
||||||
@@ -90,28 +124,18 @@
|
|||||||
|
|
||||||
# DocPerm
|
# DocPerm
|
||||||
{
|
{
|
||||||
'amend': 0,
|
|
||||||
'cancel': 0,
|
|
||||||
'create': 0,
|
|
||||||
'doctype': 'DocPerm',
|
'doctype': 'DocPerm',
|
||||||
'idx': 4,
|
'idx': 5,
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'role': 'HR User',
|
'role': 'HR User'
|
||||||
'submit': 0,
|
|
||||||
'write': 0
|
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocPerm
|
# DocPerm
|
||||||
{
|
{
|
||||||
'amend': 0,
|
|
||||||
'cancel': 0,
|
|
||||||
'create': 0,
|
|
||||||
'doctype': 'DocPerm',
|
'doctype': 'DocPerm',
|
||||||
'idx': 5,
|
'idx': 6,
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'role': 'HR Manager',
|
'role': 'HR Manager'
|
||||||
'submit': 0,
|
|
||||||
'write': 0
|
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -148,7 +172,7 @@
|
|||||||
'options': 'Employee',
|
'options': 'Employee',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 0
|
'search_index': 1
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -178,7 +202,7 @@
|
|||||||
'options': 'Department',
|
'options': 'Department',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'reqd': 0,
|
'reqd': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -193,7 +217,7 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Designation',
|
'options': 'Designation',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -208,7 +232,7 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Branch',
|
'options': 'Branch',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -223,7 +247,7 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Grade',
|
'options': 'Grade',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -261,6 +285,28 @@
|
|||||||
'permlevel': 0
|
'permlevel': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
|
# DocField
|
||||||
|
{
|
||||||
|
'doctype': 'DocField',
|
||||||
|
'fieldname': 'letter_head',
|
||||||
|
'fieldtype': 'Link',
|
||||||
|
'idx': 11,
|
||||||
|
'label': 'Letter Head',
|
||||||
|
'options': 'Letter Head',
|
||||||
|
'permlevel': 0
|
||||||
|
},
|
||||||
|
|
||||||
|
# DocField
|
||||||
|
{
|
||||||
|
'doctype': 'DocField',
|
||||||
|
'fieldname': 'letter_head',
|
||||||
|
'fieldtype': 'Link',
|
||||||
|
'idx': 11,
|
||||||
|
'label': 'Letter Head',
|
||||||
|
'options': 'Letter Head',
|
||||||
|
'permlevel': 0
|
||||||
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
{
|
{
|
||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
@@ -285,7 +331,33 @@
|
|||||||
'options': 'Fiscal Year',
|
'options': 'Fiscal Year',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
|
},
|
||||||
|
|
||||||
|
# DocField
|
||||||
|
{
|
||||||
|
'doctype': 'DocField',
|
||||||
|
'fieldname': 'company',
|
||||||
|
'fieldtype': 'Select',
|
||||||
|
'idx': 14,
|
||||||
|
'in_filter': 1,
|
||||||
|
'label': 'Company',
|
||||||
|
'options': 'link:Company',
|
||||||
|
'permlevel': 0,
|
||||||
|
'reqd': 1
|
||||||
|
},
|
||||||
|
|
||||||
|
# DocField
|
||||||
|
{
|
||||||
|
'doctype': 'DocField',
|
||||||
|
'fieldname': 'company',
|
||||||
|
'fieldtype': 'Select',
|
||||||
|
'idx': 14,
|
||||||
|
'in_filter': 1,
|
||||||
|
'label': 'Company',
|
||||||
|
'options': 'link:Company',
|
||||||
|
'permlevel': 0,
|
||||||
|
'reqd': 1
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -115,7 +115,8 @@
|
|||||||
'label': 'Tag 1',
|
'label': 'Tag 1',
|
||||||
'oldfieldname': 'tag_1',
|
'oldfieldname': 'tag_1',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Question Tag'
|
'options': 'Question Tag',
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -136,7 +137,8 @@
|
|||||||
'label': 'Tag 2',
|
'label': 'Tag 2',
|
||||||
'oldfieldname': 'tag_2',
|
'oldfieldname': 'tag_2',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Question Tag'
|
'options': 'Question Tag',
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -148,7 +150,8 @@
|
|||||||
'label': 'Tag 3',
|
'label': 'Tag 3',
|
||||||
'oldfieldname': 'tag_3',
|
'oldfieldname': 'tag_3',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Question Tag'
|
'options': 'Question Tag',
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -2,6 +2,9 @@
|
|||||||
This patch removes wrong indexs and add proper indexes in tables
|
This patch removes wrong indexs and add proper indexes in tables
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
import webnotes
|
||||||
|
sql = webnotes.conn.sql
|
||||||
|
from webnotes.utils import cint, cstr
|
||||||
|
|
||||||
def create_proper_index():
|
def create_proper_index():
|
||||||
from webnotes.modules.export_module import export_to_files
|
from webnotes.modules.export_module import export_to_files
|
||||||
@@ -264,29 +267,29 @@ def create_proper_index():
|
|||||||
'Print Heading': [],
|
'Print Heading': [],
|
||||||
'TDS Rate Detail': ['category']
|
'TDS Rate Detail': ['category']
|
||||||
}
|
}
|
||||||
|
#sql("commit") # only required if run from login
|
||||||
|
exist_dt = [cstr(d[0]) for d in sql("select name from `tabDocType`")]
|
||||||
|
|
||||||
for dt in dt_index_fields.keys():
|
for dt in [d for d in dt_index_fields.keys() if d in exist_dt]:
|
||||||
current_index = sql("show indexes from `tab%s`" % dt)
|
try:
|
||||||
|
current_index = sql("show indexes from `tab%s`" % dt)
|
||||||
|
|
||||||
proper_index = dt_index_fields[dt]
|
proper_index = dt_index_fields[dt]
|
||||||
|
|
||||||
for d in current_index:
|
for d in current_index:
|
||||||
if d[4] not in ['name', 'parent', 'parenttype']:
|
if d[4] not in ['name', 'parent', 'parenttype']:
|
||||||
if d[4] not in proper_index:
|
if d[4] not in proper_index:
|
||||||
sql("ALTER TABLE `tab%s` DROP INDEX %s" % (dt, d[4]))
|
sql("ALTER TABLE `tab%s` DROP INDEX %s" % (dt, d[4]))
|
||||||
sql("start transaction")
|
sql("start transaction")
|
||||||
sql("UPDATE `tabDocField` SET search_index = 0 WHERE fieldname = '%s' AND parent = '%s'" % (d[4], dt))
|
sql("UPDATE `tabDocField` SET search_index = 0 WHERE fieldname = '%s' AND parent = '%s'" % (d[4], dt))
|
||||||
sql("commit")
|
sql("commit")
|
||||||
else:
|
else:
|
||||||
proper_index.remove(d[4])
|
proper_index.remove(d[4])
|
||||||
|
|
||||||
for d in proper_index:
|
for d in proper_index:
|
||||||
sql("ALTER TABLE `tab%s` ADD INDEX ( `%s` ) " % (dt, d))
|
sql("ALTER TABLE `tab%s` ADD INDEX ( `%s` ) " % (dt, d))
|
||||||
sql("start transaction")
|
sql("start transaction")
|
||||||
sql("UPDATE `tabDocField` SET search_index = 1 WHERE fieldname = '%s' AND parent = '%s'" % (d, dt))
|
sql("UPDATE `tabDocField` SET search_index = 1 WHERE fieldname = '%s' AND parent = '%s'" % (d, dt))
|
||||||
sql("commit")
|
sql("commit")
|
||||||
|
except:
|
||||||
sql("start transaction")
|
continue
|
||||||
dt_module = sql("select module from `tabDocType` where name = '%s'" % dt)[0][0]
|
|
||||||
export_to_files(record_list = [['DocType', dt]], record_module = dt_module)
|
|
||||||
sql("commit")
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# REMEMBER to update this
|
# REMEMBER to update this
|
||||||
# ========================
|
# ========================
|
||||||
|
|
||||||
last_patch = 327
|
last_patch = 330
|
||||||
|
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
|
|
||||||
@@ -1322,3 +1322,12 @@ def execute(patch_no):
|
|||||||
|
|
||||||
reload_doc('support','doctype','support_ticket')
|
reload_doc('support','doctype','support_ticket')
|
||||||
sql("delete from tabDocField where fieldname='problem_description' and parent='Support Ticket'")
|
sql("delete from tabDocField where fieldname='problem_description' and parent='Support Ticket'")
|
||||||
|
elif patch_no == 328:
|
||||||
|
if webnotes.conn.get_value('Control Panel', None, 'account_id') != 'axjanak2011':
|
||||||
|
sql("delete from `tabDocField` where fieldname = 'supplier_status' and parent = 'Supplier'")
|
||||||
|
elif patch_no == 329:
|
||||||
|
from index_patch import create_proper_index
|
||||||
|
create_proper_index()
|
||||||
|
elif patch_no == 330:
|
||||||
|
reload_doc('utilities', 'doctype', 'rename_tool')
|
||||||
|
reload_doc('utilities', 'doctype', 'bulk_rename_tool')
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
# These values are common for all DocType
|
# These values are common for all DocType
|
||||||
{
|
{
|
||||||
|
'_last_update': '1309508837',
|
||||||
'allow_attach': 0,
|
'allow_attach': 0,
|
||||||
'allow_copy': 0,
|
'allow_copy': 0,
|
||||||
'allow_email': 0,
|
'allow_email': 0,
|
||||||
|
|||||||
@@ -114,6 +114,7 @@
|
|||||||
'options': 'Workstation',
|
'options': 'Workstation',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -99,6 +99,7 @@
|
|||||||
'oldfieldname': 'bom_created',
|
'oldfieldname': 'bom_created',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Bill Of Materials',
|
'options': 'Bill Of Materials',
|
||||||
'permlevel': 1
|
'permlevel': 1,
|
||||||
|
'search_index': 0
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -162,7 +162,8 @@
|
|||||||
'label': 'Stock UOM',
|
'label': 'Stock UOM',
|
||||||
'oldfieldname': 'stock_uom',
|
'oldfieldname': 'stock_uom',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'UOM'
|
'options': 'UOM',
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -131,7 +131,7 @@
|
|||||||
'oldfieldtype': 'Date',
|
'oldfieldtype': 'Date',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '100px'
|
'width': '100px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -146,6 +146,7 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Bill Of Materials',
|
'options': 'Bill Of Materials',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
|
'search_index': 0,
|
||||||
'width': '100px'
|
'width': '100px'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -180,6 +180,7 @@
|
|||||||
'options': 'Bill Of Materials',
|
'options': 'Bill Of Materials',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -306,7 +307,8 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Warehouse',
|
'options': 'Warehouse',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1
|
'reqd': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -323,7 +325,8 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Warehouse',
|
'options': 'Warehouse',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1
|
'reqd': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -367,7 +370,8 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Company',
|
'options': 'Company',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1
|
'reqd': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -86,7 +86,8 @@
|
|||||||
'oldfieldname': 'state',
|
'oldfieldname': 'state',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'State',
|
'options': 'State',
|
||||||
'permlevel': 0
|
'permlevel': 0,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -100,7 +101,8 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Territory',
|
'options': 'Territory',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1
|
'print_hide': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -94,7 +94,8 @@
|
|||||||
'oldfieldname': 'project_name',
|
'oldfieldname': 'project_name',
|
||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1
|
'reqd': 1,
|
||||||
|
'search_index': 1
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -112,7 +113,7 @@
|
|||||||
'options': 'Open\nCompleted\nCancelled',
|
'options': 'Open\nCompleted\nCancelled',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -356,7 +357,7 @@
|
|||||||
'oldfieldname': 'customer_name',
|
'oldfieldname': 'customer_name',
|
||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -401,6 +402,7 @@
|
|||||||
'options': 'Territory',
|
'options': 'Territory',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 0,
|
'reqd': 0,
|
||||||
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -438,7 +440,8 @@
|
|||||||
'oldfieldname': 'customer_group',
|
'oldfieldname': 'customer_group',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Customer Group',
|
'options': 'Customer Group',
|
||||||
'permlevel': 1
|
'permlevel': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -145,7 +145,8 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Profile',
|
'options': 'Profile',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1
|
'reqd': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -75,6 +75,7 @@
|
|||||||
'options': 'Activity Type',
|
'options': 'Activity Type',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
|
'search_index': 0,
|
||||||
'width': '200px'
|
'width': '200px'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -5,14 +5,14 @@
|
|||||||
{
|
{
|
||||||
'creation': '2010-08-08 17:08:56',
|
'creation': '2010-08-08 17:08:56',
|
||||||
'docstatus': 0,
|
'docstatus': 0,
|
||||||
'modified': '2011-05-26 17:31:31',
|
'modified': '2011-07-20 10:42:05',
|
||||||
'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': '1306834669',
|
'_last_update': '1309508837',
|
||||||
'allow_print': 0,
|
'allow_print': 0,
|
||||||
'allow_trash': 1,
|
'allow_trash': 1,
|
||||||
'colour': 'White:FFF',
|
'colour': 'White:FFF',
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
'show_in_menu': 0,
|
'show_in_menu': 0,
|
||||||
'subject': "eval:'%(customer_name)s'=='%(name)s' ? ' ' : '%(customer_name)s'",
|
'subject': "eval:'%(customer_name)s'=='%(name)s' ? ' ' : '%(customer_name)s'",
|
||||||
'tag_fields': 'customer_group,customer_type',
|
'tag_fields': 'customer_group,customer_type',
|
||||||
'version': 431
|
'version': 433
|
||||||
},
|
},
|
||||||
|
|
||||||
# These values are common for all DocField
|
# These values are common for all DocField
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
'idx': 4,
|
'idx': 4,
|
||||||
'label': 'Series',
|
'label': 'Series',
|
||||||
'no_copy': 1,
|
'no_copy': 1,
|
||||||
'options': '\nCUST\nCUSTMUM',
|
'options': '\nCUST\nCUSTMUM\nCUSTOM',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 0
|
'print_hide': 0
|
||||||
},
|
},
|
||||||
@@ -340,7 +340,7 @@
|
|||||||
'options': 'Company',
|
'options': 'Company',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -187,7 +187,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 0,
|
'reqd': 0,
|
||||||
'search_index': 0,
|
'search_index': 1,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -244,6 +244,7 @@
|
|||||||
'options': 'Lead',
|
'options': 'Lead',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
|
'search_index': 1,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -326,6 +327,7 @@
|
|||||||
'oldfieldtype': 'Date',
|
'oldfieldtype': 'Date',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
|
'search_index': 1,
|
||||||
'width': '50px'
|
'width': '50px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -405,7 +407,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -426,7 +428,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 0,
|
'reqd': 0,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -492,7 +494,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -509,7 +511,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -90,7 +90,8 @@
|
|||||||
'oldfieldname': 'item_group',
|
'oldfieldname': 'item_group',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Item Group',
|
'options': 'Item Group',
|
||||||
'print_hide': 1
|
'print_hide': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -104,7 +105,8 @@
|
|||||||
'oldfieldname': 'brand',
|
'oldfieldname': 'brand',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Brand',
|
'options': 'Brand',
|
||||||
'print_hide': 1
|
'print_hide': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -140,6 +142,7 @@
|
|||||||
'label': 'UOM',
|
'label': 'UOM',
|
||||||
'oldfieldname': 'uom',
|
'oldfieldname': 'uom',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'UOM'
|
'options': 'UOM',
|
||||||
|
'search_index': 0
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -201,7 +201,7 @@
|
|||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'reqd': 0,
|
'reqd': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -257,7 +257,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -292,7 +292,8 @@
|
|||||||
'oldfieldname': 'inst_date',
|
'oldfieldname': 'inst_date',
|
||||||
'oldfieldtype': 'Date',
|
'oldfieldtype': 'Date',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1
|
'reqd': 1,
|
||||||
|
'search_index': 1
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -340,7 +341,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -140,7 +140,7 @@
|
|||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '150px'
|
'width': '150px'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -188,7 +188,7 @@
|
|||||||
'options': "\nExisting Customer\nReference\nAdvertisement\nCold Calling\nExhibition\nSupplier Reference\nMass Mailing\nCustomer's Vendor\nCampaign\nWebsite",
|
'options': "\nExisting Customer\nReference\nAdvertisement\nCold Calling\nExhibition\nSupplier Reference\nMass Mailing\nCustomer's Vendor\nCampaign\nWebsite",
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -239,7 +239,7 @@
|
|||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 0,
|
'reqd': 0,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -350,7 +350,7 @@
|
|||||||
'options': '\nHot\nWarm\nCold',
|
'options': '\nHot\nWarm\nCold',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 0,
|
'reqd': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -616,7 +616,7 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Profile',
|
'options': 'Profile',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -633,7 +633,7 @@
|
|||||||
'options': '\nLower Income\nMiddle Income\nUpper Income',
|
'options': '\nLower Income\nMiddle Income\nUpper Income',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 0,
|
'reqd': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -414,7 +414,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 0,
|
'print_hide': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -435,7 +435,7 @@
|
|||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -520,7 +520,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -539,7 +539,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 0,
|
'reqd': 0,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -584,7 +584,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'trigger': 'Client',
|
'trigger': 'Client',
|
||||||
'width': '100px'
|
'width': '100px'
|
||||||
},
|
},
|
||||||
@@ -1035,7 +1035,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'trigger': 'Client',
|
'trigger': 'Client',
|
||||||
'width': '150px'
|
'width': '150px'
|
||||||
},
|
},
|
||||||
@@ -1055,7 +1055,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -73,7 +73,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '150px'
|
'width': '150px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -260,7 +260,7 @@
|
|||||||
'options': 'Item Group',
|
'options': 'Item Group',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -276,7 +276,7 @@
|
|||||||
'options': 'Brand',
|
'options': 'Brand',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '150px'
|
'width': '150px'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -75,7 +75,8 @@
|
|||||||
'oldfieldname': 'uom',
|
'oldfieldname': 'uom',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'UOM',
|
'options': 'UOM',
|
||||||
'permlevel': 1
|
'permlevel': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -394,7 +394,7 @@
|
|||||||
'options': 'Brand',
|
'options': 'Brand',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -410,7 +410,7 @@
|
|||||||
'options': 'Item Group',
|
'options': 'Item Group',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -79,7 +79,8 @@
|
|||||||
'oldfieldname': 'company',
|
'oldfieldname': 'company',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Company',
|
'options': 'Company',
|
||||||
'reqd': 0
|
'reqd': 0,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -157,7 +158,8 @@
|
|||||||
'label': 'Applicable To (Employee)',
|
'label': 'Applicable To (Employee)',
|
||||||
'oldfieldname': 'to_emp',
|
'oldfieldname': 'to_emp',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Employee'
|
'options': 'Employee',
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -171,7 +173,8 @@
|
|||||||
'label': 'Applicable To (Designation)',
|
'label': 'Applicable To (Designation)',
|
||||||
'oldfieldname': 'to_designation',
|
'oldfieldname': 'to_designation',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Designation'
|
'options': 'Designation',
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
{
|
{
|
||||||
'creation': '2010-08-08 17:08:55',
|
'creation': '2010-08-08 17:08:55',
|
||||||
'docstatus': 0,
|
'docstatus': 0,
|
||||||
'modified': '2011-07-06 11:42:34',
|
'modified': '2011-07-01 17:43:29',
|
||||||
'modified_by': 'Administrator',
|
'modified_by': 'Administrator',
|
||||||
'owner': 'Administrator'
|
'owner': 'Administrator'
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -66,7 +66,8 @@
|
|||||||
'idx': 1,
|
'idx': 1,
|
||||||
'label': 'Doc Type',
|
'label': 'Doc Type',
|
||||||
'oldfieldname': 'doc_type',
|
'oldfieldname': 'doc_type',
|
||||||
'oldfieldtype': 'Data'
|
'oldfieldtype': 'Data',
|
||||||
|
'search_index': 1
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -160,7 +160,7 @@
|
|||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -186,7 +186,7 @@
|
|||||||
'options': 'Company',
|
'options': 'Company',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -191,7 +191,7 @@
|
|||||||
'oldfieldtype': 'Select',
|
'oldfieldtype': 'Select',
|
||||||
'options': '\nChannel Partner\nDistributor\nDealer\nAgent\nRetailer\nImplementation Partner\nReseller',
|
'options': '\nChannel Partner\nDistributor\nDealer\nAgent\nRetailer\nImplementation Partner\nReseller',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -156,7 +156,7 @@
|
|||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -281,7 +281,7 @@
|
|||||||
'oldfieldtype': 'Select',
|
'oldfieldtype': 'Select',
|
||||||
'options': 'link:Country',
|
'options': 'link:Country',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -297,7 +297,7 @@
|
|||||||
'oldfieldtype': 'Select',
|
'oldfieldtype': 'Select',
|
||||||
'options': 'link:State',
|
'options': 'link:State',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -324,7 +324,8 @@
|
|||||||
'oldfieldname': 'territory',
|
'oldfieldname': 'territory',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Territory',
|
'options': 'Territory',
|
||||||
'permlevel': 0
|
'permlevel': 0,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -397,7 +398,8 @@
|
|||||||
'oldfieldname': 'distribution_id',
|
'oldfieldname': 'distribution_id',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Budget Distribution',
|
'options': 'Budget Distribution',
|
||||||
'permlevel': 0
|
'permlevel': 0,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -155,7 +155,7 @@
|
|||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -160,7 +160,7 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Sales Person',
|
'options': 'Sales Person',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -267,7 +267,8 @@
|
|||||||
'oldfieldname': 'distribution_id',
|
'oldfieldname': 'distribution_id',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Budget Distribution',
|
'options': 'Budget Distribution',
|
||||||
'permlevel': 0
|
'permlevel': 0,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -106,7 +106,7 @@
|
|||||||
'oldfieldtype': 'Select',
|
'oldfieldtype': 'Select',
|
||||||
'options': '\nActive\nInactive',
|
'options': '\nActive\nInactive',
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -183,6 +183,7 @@ SetupData = function(cnty){
|
|||||||
['Country',1,'Country','','Country master'],
|
['Country',1,'Country','','Country master'],
|
||||||
['State',1,'State','','State master'],
|
['State',1,'State','','State master'],
|
||||||
['Rename Tool',3,'Rename Tool','','Rename a record'],
|
['Rename Tool',3,'Rename Tool','','Rename a record'],
|
||||||
|
['Bulk Rename Tool',3,'Bulk Rename Tool','','Rename multiple records at a time'],
|
||||||
['Activty Type',1,'Activity Type','','Types of activities that you can select in your Timesheet'],
|
['Activty Type',1,'Activity Type','','Types of activities that you can select in your Timesheet'],
|
||||||
['City',1,'City','','City master']]};
|
['City',1,'City','','City master']]};
|
||||||
|
|
||||||
|
|||||||
@@ -162,7 +162,7 @@
|
|||||||
'label': 'Reserved Quantity',
|
'label': 'Reserved Quantity',
|
||||||
'oldfieldname': 'reserved_qty',
|
'oldfieldname': 'reserved_qty',
|
||||||
'oldfieldtype': 'Currency',
|
'oldfieldtype': 'Currency',
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
'label': 'Actual Quantity',
|
'label': 'Actual Quantity',
|
||||||
'oldfieldname': 'actual_qty',
|
'oldfieldname': 'actual_qty',
|
||||||
'oldfieldtype': 'Currency',
|
'oldfieldtype': 'Currency',
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -190,7 +190,7 @@
|
|||||||
'label': 'Ordered Quantity',
|
'label': 'Ordered Quantity',
|
||||||
'oldfieldname': 'ordered_qty',
|
'oldfieldname': 'ordered_qty',
|
||||||
'oldfieldtype': 'Currency',
|
'oldfieldtype': 'Currency',
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -204,7 +204,7 @@
|
|||||||
'label': 'Indented Quantity',
|
'label': 'Indented Quantity',
|
||||||
'oldfieldname': 'indented_qty',
|
'oldfieldname': 'indented_qty',
|
||||||
'oldfieldtype': 'Currency',
|
'oldfieldtype': 'Currency',
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -217,7 +217,7 @@
|
|||||||
'label': 'Planned Qty',
|
'label': 'Planned Qty',
|
||||||
'oldfieldname': 'planned_qty',
|
'oldfieldname': 'planned_qty',
|
||||||
'oldfieldtype': 'Currency',
|
'oldfieldtype': 'Currency',
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -258,7 +258,7 @@
|
|||||||
'label': 'UOM',
|
'label': 'UOM',
|
||||||
'oldfieldname': 'stock_uom',
|
'oldfieldname': 'stock_uom',
|
||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -332,7 +332,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 0,
|
'print_hide': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '100px'
|
'width': '100px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -352,7 +352,7 @@
|
|||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '150px'
|
'width': '150px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -372,7 +372,7 @@
|
|||||||
'oldfieldtype': 'Currency',
|
'oldfieldtype': 'Currency',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -391,7 +391,7 @@
|
|||||||
'oldfieldtype': 'Currency',
|
'oldfieldtype': 'Currency',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -439,7 +439,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -453,7 +453,7 @@
|
|||||||
'options': 'Customer Group',
|
'options': 'Customer Group',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -1014,7 +1014,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '150px'
|
'width': '150px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -1032,7 +1032,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '150px'
|
'width': '150px'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -285,7 +285,8 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Batch',
|
'options': 'Batch',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1
|
'print_hide': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -299,7 +300,8 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Item Group',
|
'options': 'Item Group',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1
|
'print_hide': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -314,6 +316,7 @@
|
|||||||
'options': 'Brand',
|
'options': 'Brand',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
|
'search_index': 0,
|
||||||
'width': '150px'
|
'width': '150px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -423,7 +426,7 @@
|
|||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '150px'
|
'width': '150px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -455,7 +458,7 @@
|
|||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'search_index': 0,
|
'search_index': 1,
|
||||||
'width': '150px'
|
'width': '150px'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -178,7 +178,8 @@
|
|||||||
'oldfieldname': 'uom',
|
'oldfieldname': 'uom',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'UOM',
|
'options': 'UOM',
|
||||||
'permlevel': 1
|
'permlevel': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
# These values are common for all DocType
|
# These values are common for all DocType
|
||||||
{
|
{
|
||||||
'_last_update': '1308741898',
|
'_last_update': '1309508838',
|
||||||
'allow_attach': 1,
|
'allow_attach': 1,
|
||||||
'allow_trash': 1,
|
'allow_trash': 1,
|
||||||
'autoname': 'field:item_code',
|
'autoname': 'field:item_code',
|
||||||
@@ -197,7 +197,7 @@
|
|||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -241,7 +241,8 @@
|
|||||||
'options': 'Brand',
|
'options': 'Brand',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 0
|
'reqd': 0,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -312,7 +313,8 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'UOM',
|
'options': 'UOM',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1
|
'reqd': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -355,7 +357,8 @@
|
|||||||
'oldfieldname': 'default_warehouse',
|
'oldfieldname': 'default_warehouse',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Warehouse',
|
'options': 'Warehouse',
|
||||||
'permlevel': 0
|
'permlevel': 0,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -556,6 +559,7 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Account',
|
'options': 'Account',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -571,7 +575,8 @@
|
|||||||
'oldfieldname': 'cost_center',
|
'oldfieldname': 'cost_center',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Cost Center',
|
'options': 'Cost Center',
|
||||||
'permlevel': 0
|
'permlevel': 0,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -719,7 +724,8 @@
|
|||||||
'idx': 43,
|
'idx': 43,
|
||||||
'label': 'Default Income Account',
|
'label': 'Default Income Account',
|
||||||
'options': 'Account',
|
'options': 'Account',
|
||||||
'permlevel': 0
|
'permlevel': 0,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -730,7 +736,8 @@
|
|||||||
'idx': 44,
|
'idx': 44,
|
||||||
'label': 'Cost Center',
|
'label': 'Cost Center',
|
||||||
'options': 'Cost Center',
|
'options': 'Cost Center',
|
||||||
'permlevel': 0
|
'permlevel': 0,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -872,7 +879,8 @@
|
|||||||
'oldfieldname': 'default_bom',
|
'oldfieldname': 'default_bom',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Bill Of Materials',
|
'options': 'Bill Of Materials',
|
||||||
'permlevel': 1
|
'permlevel': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -909,19 +917,6 @@
|
|||||||
'reqd': 1
|
'reqd': 1
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'doctype': 'DocField',
|
|
||||||
'fieldname': 'item_attachments_details',
|
|
||||||
'fieldtype': 'Table',
|
|
||||||
'idx': 58,
|
|
||||||
'label': 'Item Attachments Details',
|
|
||||||
'oldfieldname': 'item_attachments_details',
|
|
||||||
'oldfieldtype': 'Table',
|
|
||||||
'options': 'Item Attachments Detail',
|
|
||||||
'permlevel': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
{
|
{
|
||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
|
|||||||
@@ -49,7 +49,8 @@
|
|||||||
'label': 'Account Head',
|
'label': 'Account Head',
|
||||||
'oldfieldname': 'account_head',
|
'oldfieldname': 'account_head',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Account'
|
'options': 'Account',
|
||||||
|
'search_index': 1
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
# These values are common for all DocType
|
# These values are common for all DocType
|
||||||
{
|
{
|
||||||
|
'_last_update': '1309508838',
|
||||||
'autoname': 'field:title',
|
'autoname': 'field:title',
|
||||||
'colour': 'White:FFF',
|
'colour': 'White:FFF',
|
||||||
'doctype': 'DocType',
|
'doctype': 'DocType',
|
||||||
|
|||||||
@@ -48,7 +48,8 @@
|
|||||||
'label': 'Purchase Receipt No',
|
'label': 'Purchase Receipt No',
|
||||||
'oldfieldname': 'purchase_receipt_no',
|
'oldfieldname': 'purchase_receipt_no',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Purchase Receipt'
|
'options': 'Purchase Receipt',
|
||||||
|
'search_index': 1
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -338,7 +338,7 @@
|
|||||||
'oldfieldtype': 'Date',
|
'oldfieldtype': 'Date',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'trigger': 'Client',
|
'trigger': 'Client',
|
||||||
'width': '100px'
|
'width': '100px'
|
||||||
},
|
},
|
||||||
@@ -359,7 +359,7 @@
|
|||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '150px'
|
'width': '150px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -888,7 +888,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '150px'
|
'width': '150px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -906,7 +906,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '150px'
|
'width': '150px'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -100,6 +100,7 @@
|
|||||||
'options': 'UOM',
|
'options': 'UOM',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
|
'search_index': 0,
|
||||||
'trigger': 'Client',
|
'trigger': 'Client',
|
||||||
'width': '100px'
|
'width': '100px'
|
||||||
},
|
},
|
||||||
@@ -324,6 +325,7 @@
|
|||||||
'options': 'Batch',
|
'options': 'Batch',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -342,6 +344,7 @@
|
|||||||
'options': 'Warehouse',
|
'options': 'Warehouse',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
|
'search_index': 0,
|
||||||
'width': '100px'
|
'width': '100px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -358,7 +361,8 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'QA Inspection Report',
|
'options': 'QA Inspection Report',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1
|
'print_hide': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -373,7 +377,8 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Brand',
|
'options': 'Brand',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1
|
'print_hide': 1,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -390,7 +395,7 @@
|
|||||||
'options': 'Item Group',
|
'options': 'Item Group',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -474,7 +479,7 @@
|
|||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 0,
|
'reqd': 0,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '150px'
|
'width': '150px'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -34,8 +34,7 @@
|
|||||||
'parent': 'Ref Rate Detail',
|
'parent': 'Ref Rate Detail',
|
||||||
'parentfield': 'fields',
|
'parentfield': 'fields',
|
||||||
'parenttype': 'DocType',
|
'parenttype': 'DocType',
|
||||||
'permlevel': 0,
|
'permlevel': 0
|
||||||
'search_index': 1
|
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocType, Ref Rate Detail
|
# DocType, Ref Rate Detail
|
||||||
@@ -54,7 +53,8 @@
|
|||||||
'oldfieldname': 'price_list_name',
|
'oldfieldname': 'price_list_name',
|
||||||
'oldfieldtype': 'Select',
|
'oldfieldtype': 'Select',
|
||||||
'options': 'link:Price List',
|
'options': 'link:Price List',
|
||||||
'reqd': 1
|
'reqd': 1,
|
||||||
|
'search_index': 1
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -66,7 +66,8 @@
|
|||||||
'label': 'Ref Rate',
|
'label': 'Ref Rate',
|
||||||
'oldfieldname': 'ref_rate',
|
'oldfieldname': 'ref_rate',
|
||||||
'oldfieldtype': 'Currency',
|
'oldfieldtype': 'Currency',
|
||||||
'reqd': 0
|
'reqd': 0,
|
||||||
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -79,6 +80,7 @@
|
|||||||
'oldfieldname': 'ref_currency',
|
'oldfieldname': 'ref_currency',
|
||||||
'oldfieldtype': 'Select',
|
'oldfieldtype': 'Select',
|
||||||
'options': 'link:Currency',
|
'options': 'link:Currency',
|
||||||
'reqd': 1
|
'reqd': 1,
|
||||||
|
'search_index': 1
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -268,6 +268,7 @@
|
|||||||
'oldfieldname': 'stock_uom',
|
'oldfieldname': 'stock_uom',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'UOM',
|
'options': 'UOM',
|
||||||
'permlevel': 0
|
'permlevel': 0,
|
||||||
|
'search_index': 0
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -114,6 +114,7 @@
|
|||||||
'oldfieldname': 'uom',
|
'oldfieldname': 'uom',
|
||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'UOM',
|
'options': 'UOM',
|
||||||
'permlevel': 1
|
'permlevel': 1,
|
||||||
|
'search_index': 0
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -193,7 +193,7 @@
|
|||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -628,7 +628,7 @@
|
|||||||
'oldfieldtype': 'Select',
|
'oldfieldtype': 'Select',
|
||||||
'options': '\nUnder Warranty\nOut of Warranty\nUnder AMC\nOut of AMC',
|
'options': '\nUnder Warranty\nOut of Warranty\nUnder AMC\nOut of AMC',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '150px'
|
'width': '150px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -715,7 +715,7 @@
|
|||||||
'options': 'link:Company',
|
'options': 'link:Company',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -729,7 +729,7 @@
|
|||||||
'options': 'link:Fiscal Year',
|
'options': 'link:Fiscal Year',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
# These values are common in all dictionaries
|
# These values are common in all dictionaries
|
||||||
{
|
{
|
||||||
'creation': '2009-05-12 16:46:45',
|
'creation': '2010-08-08 17:09:25',
|
||||||
'docstatus': 0,
|
'docstatus': 0,
|
||||||
'modified': '2011-07-10 14:12:39',
|
'modified': '2011-07-11 12:48:52',
|
||||||
'modified_by': 'Administrator',
|
'modified_by': 'Administrator',
|
||||||
'owner': 'Administrator'
|
'owner': 'Administrator'
|
||||||
},
|
},
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
'doctype': 'DocPerm',
|
'doctype': 'DocPerm',
|
||||||
'idx': 1,
|
'idx': 1,
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'role': 'Material User',
|
'role': 'Material Manager',
|
||||||
'submit': 1,
|
'submit': 1,
|
||||||
'write': 1
|
'write': 1
|
||||||
},
|
},
|
||||||
@@ -89,28 +89,35 @@
|
|||||||
'doctype': 'DocPerm',
|
'doctype': 'DocPerm',
|
||||||
'idx': 2,
|
'idx': 2,
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'role': 'Material User',
|
'role': 'Material Manager',
|
||||||
'submit': 0,
|
'submit': 0,
|
||||||
'write': 0
|
'write': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocPerm
|
# DocPerm
|
||||||
{
|
{
|
||||||
'create': 0,
|
'amend': 1,
|
||||||
|
'cancel': 1,
|
||||||
|
'create': 1,
|
||||||
'doctype': 'DocPerm',
|
'doctype': 'DocPerm',
|
||||||
'idx': 3,
|
'idx': 3,
|
||||||
'permlevel': 2,
|
'permlevel': 0,
|
||||||
'role': 'Production User',
|
'role': 'Material User',
|
||||||
|
'submit': 1,
|
||||||
'write': 1
|
'write': 1
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocPerm
|
# DocPerm
|
||||||
{
|
{
|
||||||
|
'amend': 0,
|
||||||
|
'cancel': 0,
|
||||||
|
'create': 0,
|
||||||
'doctype': 'DocPerm',
|
'doctype': 'DocPerm',
|
||||||
'idx': 4,
|
'idx': 4,
|
||||||
'permlevel': 2,
|
'permlevel': 1,
|
||||||
'role': 'Production Manager',
|
'role': 'Material User',
|
||||||
'write': 1
|
'submit': 0,
|
||||||
|
'write': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocPerm
|
# DocPerm
|
||||||
@@ -134,13 +141,23 @@
|
|||||||
'role': 'Production User'
|
'role': 'Production User'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
# DocPerm
|
||||||
|
{
|
||||||
|
'create': 0,
|
||||||
|
'doctype': 'DocPerm',
|
||||||
|
'idx': 7,
|
||||||
|
'permlevel': 2,
|
||||||
|
'role': 'Production User',
|
||||||
|
'write': 1
|
||||||
|
},
|
||||||
|
|
||||||
# DocPerm
|
# DocPerm
|
||||||
{
|
{
|
||||||
'amend': 1,
|
'amend': 1,
|
||||||
'cancel': 1,
|
'cancel': 1,
|
||||||
'create': 1,
|
'create': 1,
|
||||||
'doctype': 'DocPerm',
|
'doctype': 'DocPerm',
|
||||||
'idx': 7,
|
'idx': 8,
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'role': 'Production Manager',
|
'role': 'Production Manager',
|
||||||
'submit': 1,
|
'submit': 1,
|
||||||
@@ -150,34 +167,17 @@
|
|||||||
# DocPerm
|
# DocPerm
|
||||||
{
|
{
|
||||||
'doctype': 'DocPerm',
|
'doctype': 'DocPerm',
|
||||||
'idx': 8,
|
'idx': 9,
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'role': 'Production Manager'
|
'role': 'Production Manager'
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocPerm
|
# DocPerm
|
||||||
{
|
{
|
||||||
'amend': 0,
|
|
||||||
'cancel': 0,
|
|
||||||
'create': 0,
|
|
||||||
'doctype': 'DocPerm',
|
|
||||||
'idx': 9,
|
|
||||||
'permlevel': 1,
|
|
||||||
'role': 'Material Manager',
|
|
||||||
'submit': 0,
|
|
||||||
'write': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocPerm
|
|
||||||
{
|
|
||||||
'amend': 1,
|
|
||||||
'cancel': 1,
|
|
||||||
'create': 1,
|
|
||||||
'doctype': 'DocPerm',
|
'doctype': 'DocPerm',
|
||||||
'idx': 10,
|
'idx': 10,
|
||||||
'permlevel': 0,
|
'permlevel': 2,
|
||||||
'role': 'Material Manager',
|
'role': 'Production Manager',
|
||||||
'submit': 1,
|
|
||||||
'write': 1
|
'write': 1
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -209,14 +209,13 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'naming_series',
|
'fieldname': 'naming_series',
|
||||||
'fieldtype': 'Select',
|
'fieldtype': 'Select',
|
||||||
'hidden': 0,
|
|
||||||
'idx': 3,
|
'idx': 3,
|
||||||
'in_filter': 0,
|
'in_filter': 0,
|
||||||
'label': 'Series',
|
'label': 'Series',
|
||||||
'no_copy': 1,
|
'no_copy': 1,
|
||||||
'oldfieldname': 'naming_series',
|
'oldfieldname': 'naming_series',
|
||||||
'oldfieldtype': 'Select',
|
'oldfieldtype': 'Select',
|
||||||
'options': '\nSTE',
|
'options': 'STE',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
@@ -231,7 +230,6 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'amendment_date',
|
'fieldname': 'amendment_date',
|
||||||
'fieldtype': 'Date',
|
'fieldtype': 'Date',
|
||||||
'hidden': 0,
|
|
||||||
'idx': 4,
|
'idx': 4,
|
||||||
'in_filter': 0,
|
'in_filter': 0,
|
||||||
'label': 'Amendment Date',
|
'label': 'Amendment Date',
|
||||||
@@ -241,7 +239,6 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 0,
|
|
||||||
'search_index': 0
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -252,7 +249,6 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'purpose',
|
'fieldname': 'purpose',
|
||||||
'fieldtype': 'Select',
|
'fieldtype': 'Select',
|
||||||
'hidden': 0,
|
|
||||||
'idx': 5,
|
'idx': 5,
|
||||||
'in_filter': 1,
|
'in_filter': 1,
|
||||||
'label': 'Purpose',
|
'label': 'Purpose',
|
||||||
@@ -261,7 +257,6 @@
|
|||||||
'oldfieldtype': 'Select',
|
'oldfieldtype': 'Select',
|
||||||
'options': 'Material Issue\nMaterial Receipt\nMaterial Transfer\nSales Return\nPurchase Return\nSubcontracting\nProduction Order',
|
'options': 'Material Issue\nMaterial Receipt\nMaterial Transfer\nSales Return\nPurchase Return\nSubcontracting\nProduction Order',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 0,
|
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 0,
|
'search_index': 0,
|
||||||
@@ -286,8 +281,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 0,
|
'search_index': 1,
|
||||||
'search_index': 0,
|
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -309,8 +303,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 0,
|
'search_index': 1,
|
||||||
'search_index': 0,
|
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -345,7 +338,6 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 0,
|
|
||||||
'search_index': 0,
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
@@ -356,7 +348,6 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'supplier_name',
|
'fieldname': 'supplier_name',
|
||||||
'fieldtype': 'Data',
|
'fieldtype': 'Data',
|
||||||
'hidden': 0,
|
|
||||||
'idx': 10,
|
'idx': 10,
|
||||||
'in_filter': 0,
|
'in_filter': 0,
|
||||||
'label': 'Supplier Name',
|
'label': 'Supplier Name',
|
||||||
@@ -364,9 +355,7 @@
|
|||||||
'oldfieldname': 'supplier_name',
|
'oldfieldname': 'supplier_name',
|
||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 0,
|
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 0,
|
|
||||||
'search_index': 0
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -385,9 +374,7 @@
|
|||||||
'oldfieldname': 'supplier_address',
|
'oldfieldname': 'supplier_address',
|
||||||
'oldfieldtype': 'Small Text',
|
'oldfieldtype': 'Small Text',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 0,
|
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 0,
|
|
||||||
'search_index': 0,
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
@@ -410,7 +397,6 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 0,
|
|
||||||
'search_index': 0,
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
@@ -429,9 +415,7 @@
|
|||||||
'oldfieldname': 'customer_name',
|
'oldfieldname': 'customer_name',
|
||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 0,
|
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 0,
|
|
||||||
'search_index': 0
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -449,9 +433,7 @@
|
|||||||
'oldfieldname': 'customer_address',
|
'oldfieldname': 'customer_address',
|
||||||
'oldfieldtype': 'Small Text',
|
'oldfieldtype': 'Small Text',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 0,
|
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 0,
|
|
||||||
'search_index': 0
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -473,7 +455,6 @@
|
|||||||
'permlevel': 2,
|
'permlevel': 2,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 0,
|
|
||||||
'search_index': 0,
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
@@ -496,8 +477,7 @@
|
|||||||
'permlevel': 2,
|
'permlevel': 2,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 0,
|
'search_index': 1,
|
||||||
'search_index': 0,
|
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -507,7 +487,6 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'fg_completed_qty',
|
'fieldname': 'fg_completed_qty',
|
||||||
'fieldtype': 'Currency',
|
'fieldtype': 'Currency',
|
||||||
'hidden': 0,
|
|
||||||
'idx': 17,
|
'idx': 17,
|
||||||
'in_filter': 0,
|
'in_filter': 0,
|
||||||
'label': 'FG Completed Qty',
|
'label': 'FG Completed Qty',
|
||||||
@@ -517,7 +496,6 @@
|
|||||||
'permlevel': 2,
|
'permlevel': 2,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 0,
|
|
||||||
'search_index': 0,
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
@@ -527,15 +505,13 @@
|
|||||||
'colour': 'White:FFF',
|
'colour': 'White:FFF',
|
||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldtype': 'HTML',
|
'fieldtype': 'HTML',
|
||||||
'hidden': 0,
|
|
||||||
'idx': 18,
|
'idx': 18,
|
||||||
'label': 'Warehouse HTML',
|
'label': 'Warehouse HTML',
|
||||||
'no_copy': 0,
|
'no_copy': 0,
|
||||||
'oldfieldtype': 'HTML',
|
'oldfieldtype': 'HTML',
|
||||||
'options': "<div class='columnHeading'>Warehouse</div>",
|
'options': "<div class='columnHeading'>Warehouse</div>",
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1
|
||||||
'reqd': 0
|
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -545,7 +521,6 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'from_warehouse',
|
'fieldname': 'from_warehouse',
|
||||||
'fieldtype': 'Link',
|
'fieldtype': 'Link',
|
||||||
'hidden': 0,
|
|
||||||
'idx': 19,
|
'idx': 19,
|
||||||
'in_filter': 0,
|
'in_filter': 0,
|
||||||
'label': 'Source Warehouse',
|
'label': 'Source Warehouse',
|
||||||
@@ -569,7 +544,6 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'to_warehouse',
|
'fieldname': 'to_warehouse',
|
||||||
'fieldtype': 'Link',
|
'fieldtype': 'Link',
|
||||||
'hidden': 0,
|
|
||||||
'idx': 20,
|
'idx': 20,
|
||||||
'in_filter': 0,
|
'in_filter': 0,
|
||||||
'label': 'Target Warehouse',
|
'label': 'Target Warehouse',
|
||||||
@@ -581,7 +555,7 @@
|
|||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 0,
|
'reqd': 0,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -616,7 +590,6 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'transfer_date',
|
'fieldname': 'transfer_date',
|
||||||
'fieldtype': 'Date',
|
'fieldtype': 'Date',
|
||||||
'hidden': 0,
|
|
||||||
'idx': 23,
|
'idx': 23,
|
||||||
'in_filter': 1,
|
'in_filter': 1,
|
||||||
'label': 'Transfer Date',
|
'label': 'Transfer Date',
|
||||||
@@ -627,7 +600,7 @@
|
|||||||
'print_hide': 0,
|
'print_hide': 0,
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -637,7 +610,6 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'posting_date',
|
'fieldname': 'posting_date',
|
||||||
'fieldtype': 'Date',
|
'fieldtype': 'Date',
|
||||||
'hidden': 0,
|
|
||||||
'idx': 24,
|
'idx': 24,
|
||||||
'in_filter': 1,
|
'in_filter': 1,
|
||||||
'label': 'Posting Date',
|
'label': 'Posting Date',
|
||||||
@@ -657,7 +629,6 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'posting_time',
|
'fieldname': 'posting_time',
|
||||||
'fieldtype': 'Time',
|
'fieldtype': 'Time',
|
||||||
'hidden': 0,
|
|
||||||
'idx': 25,
|
'idx': 25,
|
||||||
'in_filter': 0,
|
'in_filter': 0,
|
||||||
'label': 'Posting Time',
|
'label': 'Posting Time',
|
||||||
@@ -677,7 +648,6 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'amended_from',
|
'fieldname': 'amended_from',
|
||||||
'fieldtype': 'Link',
|
'fieldtype': 'Link',
|
||||||
'hidden': 0,
|
|
||||||
'idx': 26,
|
'idx': 26,
|
||||||
'in_filter': 0,
|
'in_filter': 0,
|
||||||
'label': 'Amended From',
|
'label': 'Amended From',
|
||||||
@@ -688,7 +658,6 @@
|
|||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 0,
|
|
||||||
'search_index': 0
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -698,7 +667,6 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'transporter',
|
'fieldname': 'transporter',
|
||||||
'fieldtype': 'Data',
|
'fieldtype': 'Data',
|
||||||
'hidden': 0,
|
|
||||||
'idx': 27,
|
'idx': 27,
|
||||||
'in_filter': 0,
|
'in_filter': 0,
|
||||||
'label': 'Transporter',
|
'label': 'Transporter',
|
||||||
@@ -708,7 +676,6 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 0,
|
|
||||||
'search_index': 0
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -718,7 +685,6 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'is_excisable_goods',
|
'fieldname': 'is_excisable_goods',
|
||||||
'fieldtype': 'Select',
|
'fieldtype': 'Select',
|
||||||
'hidden': 0,
|
|
||||||
'idx': 28,
|
'idx': 28,
|
||||||
'in_filter': 0,
|
'in_filter': 0,
|
||||||
'label': 'Is Excisable Goods',
|
'label': 'Is Excisable Goods',
|
||||||
@@ -729,7 +695,6 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 0,
|
|
||||||
'search_index': 0
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -739,7 +704,6 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'excisable_goods',
|
'fieldname': 'excisable_goods',
|
||||||
'fieldtype': 'Select',
|
'fieldtype': 'Select',
|
||||||
'hidden': 0,
|
|
||||||
'idx': 29,
|
'idx': 29,
|
||||||
'in_filter': 0,
|
'in_filter': 0,
|
||||||
'label': 'Excisable Goods',
|
'label': 'Excisable Goods',
|
||||||
@@ -750,7 +714,6 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 0,
|
|
||||||
'search_index': 0
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -771,7 +734,6 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 0,
|
|
||||||
'search_index': 0
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -781,7 +743,6 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'remarks',
|
'fieldname': 'remarks',
|
||||||
'fieldtype': 'Text',
|
'fieldtype': 'Text',
|
||||||
'hidden': 0,
|
|
||||||
'idx': 31,
|
'idx': 31,
|
||||||
'in_filter': 0,
|
'in_filter': 0,
|
||||||
'label': 'Remarks',
|
'label': 'Remarks',
|
||||||
@@ -837,25 +798,6 @@
|
|||||||
'print_hide': 1
|
'print_hide': 1
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
|
||||||
{
|
|
||||||
'allow_on_submit': 0,
|
|
||||||
'doctype': 'DocField',
|
|
||||||
'fieldtype': 'Button',
|
|
||||||
'hidden': 0,
|
|
||||||
'idx': 35,
|
|
||||||
'in_filter': 0,
|
|
||||||
'label': 'Get Current Stock',
|
|
||||||
'no_copy': 0,
|
|
||||||
'oldfieldtype': 'Button',
|
|
||||||
'options': 'get_stock_and_rate',
|
|
||||||
'permlevel': 0,
|
|
||||||
'print_hide': 1,
|
|
||||||
'report_hide': 0,
|
|
||||||
'reqd': 0,
|
|
||||||
'search_index': 0
|
|
||||||
},
|
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
{
|
{
|
||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
@@ -881,7 +823,6 @@
|
|||||||
'permlevel': 2,
|
'permlevel': 2,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 0,
|
|
||||||
'search_index': 0
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -902,7 +843,6 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'mtn_details',
|
'fieldname': 'mtn_details',
|
||||||
'fieldtype': 'Table',
|
'fieldtype': 'Table',
|
||||||
'hidden': 0,
|
|
||||||
'idx': 39,
|
'idx': 39,
|
||||||
'in_filter': 0,
|
'in_filter': 0,
|
||||||
'label': 'MTN Details',
|
'label': 'MTN Details',
|
||||||
@@ -913,7 +853,6 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 0,
|
'print_hide': 0,
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 0,
|
|
||||||
'search_index': 0
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -923,7 +862,6 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'total_amount',
|
'fieldname': 'total_amount',
|
||||||
'fieldtype': 'Currency',
|
'fieldtype': 'Currency',
|
||||||
'hidden': 0,
|
|
||||||
'idx': 40,
|
'idx': 40,
|
||||||
'in_filter': 0,
|
'in_filter': 0,
|
||||||
'label': 'Total Amount',
|
'label': 'Total Amount',
|
||||||
@@ -933,7 +871,6 @@
|
|||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 0,
|
|
||||||
'search_index': 0
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -953,7 +890,6 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'company',
|
'fieldname': 'company',
|
||||||
'fieldtype': 'Link',
|
'fieldtype': 'Link',
|
||||||
'hidden': 0,
|
|
||||||
'idx': 42,
|
'idx': 42,
|
||||||
'in_filter': 1,
|
'in_filter': 1,
|
||||||
'label': 'Company',
|
'label': 'Company',
|
||||||
@@ -965,7 +901,7 @@
|
|||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -974,7 +910,6 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'fiscal_year',
|
'fieldname': 'fiscal_year',
|
||||||
'fieldtype': 'Select',
|
'fieldtype': 'Select',
|
||||||
'hidden': 0,
|
|
||||||
'idx': 43,
|
'idx': 43,
|
||||||
'in_filter': 0,
|
'in_filter': 0,
|
||||||
'label': 'Fiscal Year',
|
'label': 'Fiscal Year',
|
||||||
@@ -986,7 +921,7 @@
|
|||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -995,7 +930,6 @@
|
|||||||
'doctype': 'DocField',
|
'doctype': 'DocField',
|
||||||
'fieldname': 'select_print_heading',
|
'fieldname': 'select_print_heading',
|
||||||
'fieldtype': 'Link',
|
'fieldtype': 'Link',
|
||||||
'hidden': 0,
|
|
||||||
'idx': 44,
|
'idx': 44,
|
||||||
'in_filter': 0,
|
'in_filter': 0,
|
||||||
'label': 'Select Print Heading',
|
'label': 'Select Print Heading',
|
||||||
@@ -1004,9 +938,7 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Print Heading',
|
'options': 'Print Heading',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 0,
|
|
||||||
'report_hide': 0,
|
'report_hide': 0,
|
||||||
'reqd': 0,
|
|
||||||
'search_index': 0
|
'search_index': 0
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -135,6 +135,7 @@
|
|||||||
'options': 'Batch',
|
'options': 'Batch',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -152,7 +153,7 @@
|
|||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 0,
|
'reqd': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -196,6 +197,7 @@
|
|||||||
'options': 'UOM',
|
'options': 'UOM',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
# These values are common for all DocType
|
# These values are common for all DocType
|
||||||
{
|
{
|
||||||
'_last_update': '1307707462',
|
'_last_update': '1309508840',
|
||||||
'autoname': 'SLE/.########',
|
'autoname': 'SLE/.########',
|
||||||
'colour': 'White:FFF',
|
'colour': 'White:FFF',
|
||||||
'doctype': 'DocType',
|
'doctype': 'DocType',
|
||||||
@@ -163,7 +163,7 @@
|
|||||||
'oldfieldtype': 'Select',
|
'oldfieldtype': 'Select',
|
||||||
'options': 'link:Warehouse Type',
|
'options': 'link:Warehouse Type',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -194,7 +194,7 @@
|
|||||||
'oldfieldname': 'posting_time',
|
'oldfieldname': 'posting_time',
|
||||||
'oldfieldtype': 'Time',
|
'oldfieldtype': 'Time',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'search_index': 0,
|
'search_index': 1,
|
||||||
'width': '100px'
|
'width': '100px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -210,7 +210,7 @@
|
|||||||
'oldfieldname': 'transaction_date',
|
'oldfieldname': 'transaction_date',
|
||||||
'oldfieldtype': 'Date',
|
'oldfieldtype': 'Date',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '100px'
|
'width': '100px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -225,7 +225,7 @@
|
|||||||
'oldfieldname': 'voucher_type',
|
'oldfieldname': 'voucher_type',
|
||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '150px'
|
'width': '150px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -240,7 +240,7 @@
|
|||||||
'oldfieldname': 'voucher_no',
|
'oldfieldname': 'voucher_no',
|
||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '150px'
|
'width': '150px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -394,7 +394,7 @@
|
|||||||
'oldfieldname': 'company',
|
'oldfieldname': 'company',
|
||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '150px'
|
'width': '150px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -409,7 +409,7 @@
|
|||||||
'oldfieldname': 'fiscal_year',
|
'oldfieldname': 'fiscal_year',
|
||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '150px'
|
'width': '150px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -425,7 +425,7 @@
|
|||||||
'oldfieldtype': 'Select',
|
'oldfieldtype': 'Select',
|
||||||
'options': '\nYes\nNo',
|
'options': '\nYes\nNo',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '100px'
|
'width': '100px'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -441,7 +441,7 @@
|
|||||||
'oldfieldtype': 'Select',
|
'oldfieldtype': 'Select',
|
||||||
'options': '\nYes\nNo',
|
'options': '\nYes\nNo',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'width': '100px'
|
'width': '100px'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -118,7 +118,7 @@ class DocType:
|
|||||||
# ------------------
|
# ------------------
|
||||||
def get_current_stock(self, item_code, warehouse):
|
def get_current_stock(self, item_code, warehouse):
|
||||||
bin = sql("select name from `tabBin` where item_code = '%s' and warehouse = '%s'" % (item_code, warehouse))
|
bin = sql("select name from `tabBin` where item_code = '%s' and warehouse = '%s'" % (item_code, warehouse))
|
||||||
prev_sle = bin and get_obj('Bin', bin[0][0]).get_prev_sle(self.doc.reconciliation_date,self.doc.reconciliation_time) or 0
|
prev_sle = bin and get_obj('Bin', bin[0][0]).get_prev_sle(self.doc.reconciliation_date,self.doc.reconciliation_time) or {}
|
||||||
stock_uom = sql("select stock_uom from `tabItem` where name = %s",item_code)
|
stock_uom = sql("select stock_uom from `tabItem` where name = %s",item_code)
|
||||||
return {'actual_qty': prev_sle.get('bin_aqat', 0), 'stock_uom': stock_uom[0][0]}
|
return {'actual_qty': prev_sle.get('bin_aqat', 0), 'stock_uom': stock_uom[0][0]}
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
# These values are common for all DocType
|
# These values are common for all DocType
|
||||||
{
|
{
|
||||||
'_last_update': '1307707462',
|
'_last_update': '1309508840',
|
||||||
'allow_attach': 1,
|
'allow_attach': 1,
|
||||||
'colour': 'White:FFF',
|
'colour': 'White:FFF',
|
||||||
'doctype': 'DocType',
|
'doctype': 'DocType',
|
||||||
@@ -131,7 +131,8 @@
|
|||||||
'oldfieldname': 'reconciliation_date',
|
'oldfieldname': 'reconciliation_date',
|
||||||
'oldfieldtype': 'Date',
|
'oldfieldtype': 'Date',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1
|
'reqd': 1,
|
||||||
|
'search_index': 1
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -185,7 +186,7 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Company',
|
'options': 'Company',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -200,7 +201,7 @@
|
|||||||
'oldfieldtype': 'Select',
|
'oldfieldtype': 'Select',
|
||||||
'options': 'link:Fiscal Year',
|
'options': 'link:Fiscal Year',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -244,7 +244,7 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Company',
|
'options': 'Company',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -167,7 +167,7 @@
|
|||||||
'options': '\nOpen\nClosed\nWork In Progress\nCancelled',
|
'options': '\nOpen\nClosed\nWork In Progress\nCancelled',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -340,7 +340,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 0,
|
'reqd': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -371,7 +371,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -389,7 +389,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -563,7 +563,7 @@
|
|||||||
'oldfieldname': 'allocated_on',
|
'oldfieldname': 'allocated_on',
|
||||||
'oldfieldtype': 'Date',
|
'oldfieldtype': 'Date',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -578,7 +578,7 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Sales Person',
|
'options': 'Sales Person',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -627,7 +627,7 @@
|
|||||||
'oldfieldname': 'resolution_date',
|
'oldfieldname': 'resolution_date',
|
||||||
'oldfieldtype': 'Date',
|
'oldfieldtype': 'Date',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -643,7 +643,7 @@
|
|||||||
'oldfieldtype': 'Link',
|
'oldfieldtype': 'Link',
|
||||||
'options': 'Sales Person',
|
'options': 'Sales Person',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -150,7 +150,7 @@
|
|||||||
'options': 'Sales Person',
|
'options': 'Sales Person',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -167,7 +167,7 @@
|
|||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'reqd': 0,
|
'reqd': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -252,7 +252,7 @@
|
|||||||
'options': '\nDraft\nSubmitted\nCancelled',
|
'options': '\nDraft\nSubmitted\nCancelled',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -297,7 +297,7 @@
|
|||||||
'options': 'Company',
|
'options': 'Company',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -313,7 +313,7 @@
|
|||||||
'options': 'Territory',
|
'options': 'Territory',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -112,7 +112,7 @@
|
|||||||
'options': 'Sales Person',
|
'options': 'Sales Person',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -241,7 +241,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -258,7 +258,7 @@
|
|||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'print_hide': 1,
|
'print_hide': 1,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -410,7 +410,7 @@
|
|||||||
'options': '\nScheduled\nUnscheduled\nBreakdown',
|
'options': '\nScheduled\nUnscheduled\nBreakdown',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -251,7 +251,7 @@
|
|||||||
'oldfieldtype': 'Data',
|
'oldfieldtype': 'Data',
|
||||||
'permlevel': 2,
|
'permlevel': 2,
|
||||||
'reqd': 0,
|
'reqd': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -376,7 +376,7 @@
|
|||||||
'oldfieldname': 'resolution_date',
|
'oldfieldname': 'resolution_date',
|
||||||
'oldfieldtype': 'Date',
|
'oldfieldtype': 'Date',
|
||||||
'permlevel': 1,
|
'permlevel': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -117,7 +117,7 @@
|
|||||||
'label': 'City/Town',
|
'label': 'City/Town',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -129,7 +129,7 @@
|
|||||||
'in_filter': 1,
|
'in_filter': 1,
|
||||||
'label': 'Pincode',
|
'label': 'Pincode',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -144,7 +144,7 @@
|
|||||||
'options': 'link:Country',
|
'options': 'link:Country',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1,
|
'search_index': 0,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -214,6 +214,7 @@
|
|||||||
'label': 'Customer',
|
'label': 'Customer',
|
||||||
'options': 'Customer',
|
'options': 'Customer',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
|
'search_index': 1,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -240,6 +241,7 @@
|
|||||||
'label': 'Supplier',
|
'label': 'Supplier',
|
||||||
'options': 'Supplier',
|
'options': 'Supplier',
|
||||||
'permlevel': 0,
|
'permlevel': 0,
|
||||||
|
'search_index': 1,
|
||||||
'trigger': 'Client'
|
'trigger': 'Client'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
# These values are common in all dictionaries
|
# These values are common in all dictionaries
|
||||||
{
|
{
|
||||||
'creation': '2011-07-08 13:30:05',
|
'creation': '2011-07-08 11:14:15',
|
||||||
'docstatus': 0,
|
'docstatus': 0,
|
||||||
'modified': '2011-07-08 13:30:05',
|
'modified': '2011-07-26 00:59:27',
|
||||||
'modified_by': 'Administrator',
|
'modified_by': 'Administrator',
|
||||||
'owner': 'Administrator'
|
'owner': 'Administrator'
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -173,7 +173,7 @@
|
|||||||
'label': 'Fiscal Year',
|
'label': 'Fiscal Year',
|
||||||
'oldfieldname': 'fiscal_year',
|
'oldfieldname': 'fiscal_year',
|
||||||
'reqd': 1,
|
'reqd': 1,
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
@@ -202,7 +202,7 @@
|
|||||||
'in_filter': 1,
|
'in_filter': 1,
|
||||||
'label': 'Company',
|
'label': 'Company',
|
||||||
'oldfieldname': 'company',
|
'oldfieldname': 'company',
|
||||||
'search_index': 1
|
'search_index': 0
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
# These values are common in all dictionaries
|
# These values are common in all dictionaries
|
||||||
{
|
{
|
||||||
'creation': '2011-06-23 11:03:25',
|
'creation': '2011-06-27 10:52:02',
|
||||||
'docstatus': 0,
|
'docstatus': 0,
|
||||||
'modified': '2011-07-01 17:46:42',
|
'modified': '2011-07-26 00:59:27',
|
||||||
'modified_by': 'Administrator',
|
'modified_by': 'Administrator',
|
||||||
'owner': 'Administrator'
|
'owner': 'Administrator'
|
||||||
},
|
},
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
'fieldtype': 'Select',
|
'fieldtype': 'Select',
|
||||||
'idx': 1,
|
'idx': 1,
|
||||||
'label': 'Select DocType',
|
'label': 'Select DocType',
|
||||||
'options': 'link:DocType'
|
'options': '\nAccount\nCompany\nCustomer\nSupplier\nEmployee\nWarehouse\nItem'
|
||||||
},
|
},
|
||||||
|
|
||||||
# DocField
|
# DocField
|
||||||
|
|||||||
Reference in New Issue
Block a user