Merge pull request #2197 from anandpdoshi/anand-september-15

[minor] removed Suggest
This commit is contained in:
Anand Doshi 2014-09-16 15:18:57 +05:30
commit 8950abc36f
5 changed files with 1199 additions and 1217 deletions

View File

@ -326,7 +326,6 @@
"label": "Bank Name",
"oldfieldname": "bank_name",
"oldfieldtype": "Link",
"options": "Suggest",
"permlevel": 0
},
{
@ -674,7 +673,7 @@
],
"icon": "icon-user",
"idx": 1,
"modified": "2014-08-27 05:55:00.514660",
"modified": "2014-09-15 05:55:00.514660",
"modified_by": "Administrator",
"module": "HR",
"name": "Employee",

View File

@ -1,19 +1,6 @@
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
cur_frm.cscript.get_states=function(doc, dt, dn) {
return $c('runserverobj', args={'method': 'check_state', 'docs':doc},
function(r, rt) {
if(r.message)
set_field_options('state', r.message);
}
);
}
cur_frm.cscript.country = function(doc, dt, dn) {
cur_frm.cscript.get_states(doc, dt, dn);
}
if(cur_frm.fields_dict['territory']) {
cur_frm.fields_dict['territory'].get_query = function(doc, dt, dn) {
return {

View File

@ -135,7 +135,6 @@
"label": "State",
"oldfieldname": "state",
"oldfieldtype": "Select",
"options": "Suggest",
"permlevel": 0,
"read_only": 0
},
@ -151,7 +150,7 @@
],
"icon": "icon-building",
"idx": 1,
"modified": "2014-08-04 02:55:16.750848",
"modified": "2014-09-15 02:55:16.750848",
"modified_by": "Administrator",
"module": "Stock",
"name": "Warehouse",

View File

@ -59,7 +59,6 @@
"in_filter": 1,
"in_list_view": 1,
"label": "State",
"options": "Suggest",
"permlevel": 0,
"search_index": 0
},
@ -199,7 +198,7 @@
"icon": "icon-map-marker",
"idx": 1,
"in_dialog": 0,
"modified": "2014-05-27 03:49:07.273657",
"modified": "2014-09-15 03:49:07.273657",
"modified_by": "Administrator",
"module": "Utilities",
"name": "Address",

View File

@ -171,7 +171,6 @@
"fieldname": "department",
"fieldtype": "Data",
"label": "Department",
"options": "Suggest",
"permlevel": 0
},
{
@ -179,7 +178,6 @@
"fieldname": "designation",
"fieldtype": "Data",
"label": "Designation",
"options": "Suggest",
"permlevel": 0
},
{
@ -202,7 +200,7 @@
"idx": 1,
"in_create": 0,
"in_dialog": 0,
"modified": "2014-07-30 05:44:25.767076",
"modified": "2014-09-15 05:44:25.767076",
"modified_by": "Administrator",
"module": "Utilities",
"name": "Contact",