Packing list visibility issue
This commit is contained in:
parent
bb3f192b07
commit
4417529952
@ -26,10 +26,6 @@ pscript.feature_dict = {
|
||||
'Stock Entry': {'fields':['project_name']},
|
||||
'Timesheet': {'timesheet_details':['project_name']}
|
||||
},
|
||||
'fs_packing_details': {
|
||||
//'Delivery Note': {'fields':['packing_details','print_packing_slip','packing_checked_by','packed_by','pack_size','shipping_mark'],'delivery_note_details':['no_of_packs','pack_gross_wt','pack_nett_wt','pack_no','pack_unit']},
|
||||
//'Sales Order': {'fields':['packing_details']}
|
||||
},
|
||||
'fs_discounts': {
|
||||
'Delivery Note': {'delivery_note_details':['discount_percentage']},
|
||||
'Quotation': {'quotation_details':['discount_percentage']},
|
||||
@ -152,10 +148,10 @@ pscript.feature_dict = {
|
||||
'Address': {'fields':['sales_partner']},
|
||||
'Contact': {'fields':['sales_partner']},
|
||||
'Customer': {'fields':['sales_team']},
|
||||
'Delivery Note': {'fields':['sales_team','packing_list']},
|
||||
'Delivery Note': {'fields':['sales_team']},
|
||||
'Item': {'fields':['item_customer_details']},
|
||||
'Sales Invoice': {'fields':['sales_team', 'packing_list']},
|
||||
'Sales Order': {'fields':['sales_team','packing_list']}
|
||||
'Sales Invoice': {'fields':['sales_team']},
|
||||
'Sales Order': {'fields':['sales_team']}
|
||||
},
|
||||
'fs_more_info': {
|
||||
"Customer Issue": {"fields": ["more_info"]},
|
||||
@ -190,7 +186,6 @@ $(document).bind('form_refresh', function() {
|
||||
for(var sys_feat in sys_defaults) {
|
||||
if(sys_defaults[sys_feat]=='0'
|
||||
&& (sys_feat in pscript.feature_dict)) { //"Features to hide" exists
|
||||
|
||||
if(cur_frm.doc.doctype in pscript.feature_dict[sys_feat]) {
|
||||
for(var fort in pscript.feature_dict[sys_feat][cur_frm.doc.doctype]) {
|
||||
if(fort=='fields') {
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"creation": "2012-12-20 12:50:49.000000",
|
||||
"creation": "2012-12-20 12:50:49",
|
||||
"docstatus": 0,
|
||||
"doctype": "DocType",
|
||||
"fields": [
|
||||
@ -13,6 +13,7 @@
|
||||
"description": "To track item in sales and purchase documents based on their serial nos. This is can also used to track warranty details of the product.",
|
||||
"fieldname": "fs_item_serial_nos",
|
||||
"fieldtype": "Check",
|
||||
"in_list_view": 1,
|
||||
"label": "Item Serial Nos",
|
||||
"permlevel": 0
|
||||
},
|
||||
@ -20,6 +21,7 @@
|
||||
"description": "To track items in sales and purchase documents with batch nos<br><b>Preferred Industry: Chemicals etc</b>",
|
||||
"fieldname": "fs_item_batch_nos",
|
||||
"fieldtype": "Check",
|
||||
"in_list_view": 1,
|
||||
"label": "Item Batch Nos",
|
||||
"permlevel": 0
|
||||
},
|
||||
@ -27,6 +29,7 @@
|
||||
"description": "To track brand name in the following documents Delivery Note, Opportunity, Material Request, Item, Purchase Order, Purchase Voucher, Purchaser Receipt, Quotation, Sales Invoice, Sales BOM, Sales Order, Serial No",
|
||||
"fieldname": "fs_brands",
|
||||
"fieldtype": "Check",
|
||||
"in_list_view": 1,
|
||||
"label": "Brands",
|
||||
"permlevel": 0
|
||||
},
|
||||
@ -34,6 +37,7 @@
|
||||
"description": "To track items using barcode. You will be able to enter items in Delivery Note and Sales Invoice by scanning barcode of item.",
|
||||
"fieldname": "fs_item_barcode",
|
||||
"fieldtype": "Check",
|
||||
"in_list_view": 1,
|
||||
"label": "Item Barcode",
|
||||
"permlevel": 0
|
||||
},
|
||||
@ -49,13 +53,6 @@
|
||||
"label": "Item Advanced",
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
"description": "If Sale BOM is defined, the actual BOM of the Pack is displayed as table. Available in Delivery Note and Sales Order",
|
||||
"fieldname": "fs_packing_details",
|
||||
"fieldtype": "Check",
|
||||
"label": "Packing Details",
|
||||
"permlevel": 0
|
||||
},
|
||||
{
|
||||
"description": "To get Item Group in details table",
|
||||
"fieldname": "fs_item_group_in_details",
|
||||
@ -208,7 +205,7 @@
|
||||
"icon": "icon-glass",
|
||||
"idx": 1,
|
||||
"issingle": 1,
|
||||
"modified": "2013-12-24 11:40:19.000000",
|
||||
"modified": "2014-08-21 16:24:18.503070",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Setup",
|
||||
"name": "Features Setup",
|
||||
|
Loading…
Reference in New Issue
Block a user