File tree 5 files changed +6
-13
lines changed
5 files changed +6
-13
lines changed Original file line number Diff line number Diff line change 2
2
// License: GNU General Public License v3. See license.txt
3
3
4
4
frappe . ui . form . on ( "Supplier" , {
5
- before_load : function ( frm ) {
6
- frappe . setup_language_field ( frm ) ;
7
- } ,
8
5
refresh : function ( frm ) {
9
6
if ( frappe . defaults . get_default ( "supp_master_name" ) != "Naming Series" ) {
10
7
frm . toggle_display ( "naming_series" , false ) ;
Original file line number Diff line number Diff line change 224
224
"bold" : 0 ,
225
225
"collapsible" : 0 ,
226
226
"fieldname" : " language" ,
227
- "fieldtype" : " Select " ,
227
+ "fieldtype" : " Link " ,
228
228
"hidden" : 0 ,
229
229
"ignore_user_permissions" : 0 ,
230
230
"ignore_xss_filter" : 0 ,
233
233
"label" : " Print Language" ,
234
234
"length" : 0 ,
235
235
"no_copy" : 0 ,
236
- "options" : " Loading... " ,
236
+ "options" : " Language " ,
237
237
"permlevel" : 0 ,
238
238
"precision" : " " ,
239
239
"print_hide" : 0 ,
714
714
"issingle" : 0 ,
715
715
"istable" : 0 ,
716
716
"max_attachments" : 0 ,
717
- "modified" : " 2016-07-25 05:20:29.238820 " ,
717
+ "modified" : " 2016-08-23 05:43:20.950021 " ,
718
718
"modified_by" : " Administrator" ,
719
719
"module" : " Buying" ,
720
720
"name" : " Supplier" ,
Original file line number Diff line number Diff line change 2
2
// License: GNU General Public License v3. See license.txt
3
3
4
4
frappe . ui . form . on ( "Customer" , {
5
- before_load : function ( frm ) {
6
- frappe . setup_language_field ( frm ) ;
7
- } ,
8
5
refresh : function ( frm ) {
9
6
if ( frappe . defaults . get_default ( "cust_master_name" ) != "Naming Series" ) {
10
7
frm . toggle_display ( "naming_series" , false ) ;
Original file line number Diff line number Diff line change 430
430
"bold" : 0 ,
431
431
"collapsible" : 0 ,
432
432
"fieldname" : " language" ,
433
- "fieldtype" : " Select " ,
433
+ "fieldtype" : " Link " ,
434
434
"hidden" : 0 ,
435
435
"ignore_user_permissions" : 0 ,
436
436
"ignore_xss_filter" : 0 ,
439
439
"label" : " Print Language" ,
440
440
"length" : 0 ,
441
441
"no_copy" : 0 ,
442
- "options" : " Loading... " ,
442
+ "options" : " Language " ,
443
443
"permlevel" : 0 ,
444
444
"precision" : " " ,
445
445
"print_hide" : 0 ,
957
957
"issingle" : 0 ,
958
958
"istable" : 0 ,
959
959
"max_attachments" : 0 ,
960
- "modified" : " 2016-07-25 05:20:22.976925 " ,
960
+ "modified" : " 2016-08-23 05:43:04.309480 " ,
961
961
"modified_by" : " Administrator" ,
962
962
"module" : " Selling" ,
963
963
"name" : " Customer" ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments